Google Summer of Code 2009

2/23/2009 12:07:00 ÖS

(0) Comments

Üniversite öğrencisi arkadaşlar, GSOC'da yer alan open source projelerdeki görevlerden birini seçerek yaz boyunca bu görevi tamamlayabilir, ve karşılığında Google'dan 4500$ alabilirsiniz.

Projeler 14 Mart tarihinde belli olacak. Öğrencilerin başvuruları ise 23 Mart, 3 Nisan tarihleri arasında alınacak.

Google Summer of Code™ 2009 Frequently Asked Questions

Yasin Hasan Karanfil

Server Mime Type Configuration for J2ME

2/18/2009 11:40:00 ÖÖ

(0) Comments

File Type and Extension Mime Type
Java application JAR files (.jar) application/java
Java application JAD files (.jad) text/vnd.sun.j2me.app-descriptor
Image WBMP (Wireless BMP) files (.wbmp) image/vnd.wap.wbmp
WML files (compiled) (.wmlc) application/vnd.wap.wmlc
WML files (plain text) (.wml) text/vnd.wap.wml
WMLScript files (compiled) (.wmlsc) application/vnd.wap.wmlscriptc
WMLScript files (plain text) (.wmls) text/vnd.wap.wmlscript

 

You can add the following lines to httpd.conf(/etc/httpd/conf/httpd.conf) or with apache, you can do this on a per-directory basis by adding the following lines to your .htaccess file:

AddType text/vnd.sun.j2me.app-descriptor jad
AddType application/java-archive jar
...

IIS and WAP. Configuring IIS to deliver WML (WAP content)
http://www.java-samples.com/showtutorial.php?tutorialid=742

Finding the MIME Media Types that will be Accepted by a User Agent and Common Mobile MIME Types List
http://www.developershome.com/wap/detection/detection.asp?page=httpHeaders

Yasin Hasan Karanfil

J2ME repaint() problem

2/17/2009 01:35:00 ÖS

(0) Comments

If you are confused about Canvas repaint() method does'nt calls paint() method. And you also tried
                // serviceRepaints();
                // Display.getDisplay(Midlet.instance).callSerially(this);
                and still doesn't works.

Here is the solution;

Copy the paint() method and rename it customPaint(). In the code where repaint doesn't works, replace repaint() with customPaint().

And

In Netbeans

Tools - Java Platform Manager - J2ME - WTK - Open Preferences - Performance
Display refresh -> Select Immediate

Hopefully it works out.

Yasin Hasan Karanfil

Google Translate Türkçe

2/01/2009 08:52:00 ÖS

(0) Comments

Google, ücretsiz çeviri hizmeti olan Google Translate servisine bugün Türkçe dilini de ekledi.

http://translate.google.com/

Web sitelerini, yazılarınızı türkçeye çevirebilirsiniz. Çevirilmiş arama, sözlük, Toolbar Translate kısımlarına henüz türkçe desteği eklenmemiş.

Ayrıca güzel bir hizmet de web sitenizin diğer dilere otomatik olarak çevirilebilmesi için sayfanıza script yerleştirebiliyorsunuz. Böylece türkçe sitenizi ziyaret eden kullanıcılar kendi dillerini seçerek sayfalarınızı gezebiliyorlar.

Yasin Hasan Karanfil