Archive for April, 2007

Python İle Series 60 uygulanmaları geliştirmek

Thursday, April 26th, 2007

Python ile S60 Uygulamaları:

Yazılımı geliştirmek basit ve hızlıdır.Python programlarını Nokia S60 ‘da çalıştırmak için :
1. Python interpreter uygulamalarını çalıştırmak için bir *.sis dosyası ücretsiz olarak yüklenir.
2. Kendi python kodunuzu basit bir editörde yazın *.py uzantısı ile kaydedin.
3. Bluetooth ,USB kablosu,kızılötesinden kaydettiğiniz dosyanızı telefona kopyalayın ve basitçe çalıştırın.Derlemeye gerek kalmadan.”Python S60″ ile uygulama geliştirmeye başlamak için en ideal çözündür çünkü kolay ve hızlıdır.Tek bilmeniz gereken şey python programlamak .Uygulamalar yaratmaya çok kısa sürede başlıyacaksınız.

Python ile Series nedir?

Python Programlama dilini Series 60 ortamına taşımıştır.Bu ortam Symbian işletim sistemini yenilikler getirmiştir. Python ile Series 60 ortamı Python 2.2.2. çalışmaktadır.Birçok Python standart kütüphane modullerini içermektedir,ama mobil ortama özel modulleriyle zirveye çıkmıştır.Bunlar:

-Doğal Grafik kullanıcı arabirimileri ,
- Bluetooth
- GPRS ağ bağlantısı,
- GSM yer bilgileri,
- SMS,
- Kameraya erişim.

Python Series 60 Yetenekleri:

• Menu, Formlar, Listboxes, Input fields, Dialogs, Notes
• - color, font and style attributes, - direct-screen drawing, - displaying images and icons
• Key-down and key-up events
• TCP/IP, Bluetooth (RFCOMM, OBEX)
• SMS,MMS
• HTTP, FTP, …
• Acess to file system, file reading, XML, RSS
• Acess to camera with viewfinder, telephone
• Acess to calendar, contacts, sysinfo
• Location (cell-id)
• Content handler
• Python extensions can be written in C++ Nasıl python ile Series 60 uygulaması yazılır ve test edelim

 

 

Kod yazmak:

1.Bir text editörde

import appuifw

appuifw.note(u"This works", "info")

 Bu satırları yazalım ve test.py olarak kaydedelim.

2.1. Telefonda test edelim :

  • test.py dosyasını bluetooth veya PC suite ile telefona yükleyelim
  • Yüklenen dosya mesaj kutusuna gelir.Mesaj içine girildiğinde yükleme işlemi yapılır.
  • Python series 60  ortamını telefonda çalıştırıp ->”seçenekler(options)”  kısmında ->”run script (çalıştır)”->”your script” seçilir ve  ok basılır.

 

Pascal Data Types

Sunday, April 22nd, 2007

PASCAL is a very rich language in data types,uses ASCII charset.

Variable names:case sensitive,start with letter or _,any length significant first 31 chars rest are ignored.

ex: april_2007,April_2007,total_sum,totalsum  are valid

22_april ,2nd,{,” etc.. are invalid,

Constants:(CONST)are defined top of the programs,  CONST  Pi=3,14; value of Pi cannot change in program, TRUE,FALSE,Maxint can be used in program without declaring (built-in constants)

Variables:(VAR) All variable smsut be declared before they used in program, Like VAR count:Integer; Pascal provides many variable types,commanly used ones integer,real,char,boolean…..

……Devam edecek…..

Bugun benim Doğum Günüm

Monday, April 16th, 2007

Bu gün benim doğum günüm,Hem şarhoşum hem yastayım bir bar taburesi üstünde babamın Öldüğü yaştayım!!!

Cisco router şifre kırma

Tuesday, April 10th, 2007

Bu süreç NVRAM deki konfigurasyon görmezden gelmesini sağlamaktadır.Bunun için NVRAM  kriptolanmış configuration register değiştirilmelidir.enable moda geçince şifreleri değiştirebiliyorsunuz.ROMMON şifreleri bilmeden yada IOS’u yeniden yüklemeden şifreleri kırmayı sağlar.ROMMON’a girebilmek için,routeri açtıktan sonra 60 sn boyunca klavyeden break tuşana basmanız yeterli olacaktır.Sonra configuration register 6.bitini 1yapınca şıp diye olur bunun için 2 lik çevirme yada 8 lik çevirmeyi yapabilmeniz gerek.

Bundandırki, Router ve switcler genelde soğuk sistem odalarında güvenlik altında bulunur.

Introduction Object oriented( Nesneye Dayıyana giriş)

Tuesday, April 10th, 2007

In OOD,software have been either data oriented or process oriented. Data oriented is the representation of information and the relationships between the parts of the whole.Process-oriented is the actions performed by a software artifact; the data are of lesser importance. Object-oriented is more effective for managing the complexity which in the design of large and complex software artifacts than either data-oriented or process-oriented. Objects are used to combine data with the procedures that operate on that data.The main advantage of using objects is that they provide both abstraction and encapsulation.

Abstraction :Hiding details while at the same time stressing relevant ones. An important benefit of abstraction is that it makes it easier for the programmer to think about the problem to be solved.For example, procedural abstraction lets the software designer think about the actions to be run without worrying about how those actions are implemented. Similarly, data abstraction lets the software designer think about the objects in a program and the interactions between those objects without having to worry about how those objects are implemented.There are also many different levels of abstraction. The lower the levels of abstraction expose more of the details of an implementation where the higher levels hide more of the details.

Encapsulation:Objects encapsulate data and the procedures for manipulating that data. In a sense, the object hides the details of the implementation from the user of that object.Conceptual independence results from hiding the implementation of an object from the user of that object.Physical independence is the fact that the behavior of an object is determined by the object itself. The behavior of an object is not determined by some external entity.

TR çevirisi yarına …….

Arda Gülerer gider asker

Tuesday, April 10th, 2007

Şanşlı kereta diyoruz Arda’ya Yedek Subay olarak yapacak,hemide Angarada mamak muhabere okulunda Hayırlı teskere diyoruz vatani görevinde.

Mehmet Önder Askere gider

Monday, April 9th, 2007

Flash aleminin başarılı action script developerlarından Mehmet Seyit Önder’i Yarın Adanadan Van vatani görevi için Yolcu ediyoruz.

Hayırlı Teskereler,( Sabuna dikkat)

Kemal Kıraç (İp ne?)

Friday, April 6th, 2007

Dün Doğum gününü Kutladığımız ServerSide Elektronikçiden Java Developer olma Angaralı Kemal’in Doğum Günü tekrar Kutluyoruz!!!

İhsan Doğa İmrat

Friday, April 6th, 2007

2 Nisanda doğdu beşiktaşlı oldu Helal olsun sana İhsan doğa,

Doğum günün geçte olsa Kutlu olsun!!!

Cenicondan Bir Ayrılık daha

Monday, April 2nd, 2007

Celal Cem Alp ,Hollanda sevdasına kapılıp bir fire daha verdik, En değerli sermayemi kaybettim diyorum, Yolun açık olsun Developer