26 de out. de 2006

De-frag mobility

"The deployment of the Java ME Platform over a wide range of phones has resulted in slightly different solutions for a given application on each phone. This is common practice today, often resulting in 400 or more different executables for a given title. However, this is not a sustainable way of delivering software as it is expensive to develop, test and sign, deliver, and maintain a different executable for each phone. Continuing this practice will result in ever increasing operational costs and the possibility of the Java ME Platform becoming a commercial failure."

(SUN'S ARTICLE)

23 de out. de 2006

Nokia Developers Competition

You can join and try winning a N95 (awesome!!) if you've a good proposal.
My only doubt is... what about copyrights? Or intellectual rights...

Anyway, here is -> Nokia Developers Competition

20 de out. de 2006

Daylight problems in Java 1.4

In Brazil the daylight time is always changed in somehow by the government. What looks a simple change, make us, T.I workers having troubles.
As Java has a platform independent concept, in Java 1.4 daylight problems, even solved in Windows. Problem is that, Java doesn't get system's information about daylight, but it's own. So I found some solutions for this.

- The first solution, you can make a code change before getting system date. (original code by Benicio Silva Gontijo)

import java.util.*

public class DaylightTest { public static void main(String[] args){ // Brasilia(BR) Timezone SimpleTimeZone
brt= new SimpleTimeZone(-3 * 60 * 60 * 1000,"GMT-3:00"); // Set rules for Brazilian Summer Time brt.setStartRule(Calendar.NOVEMBER, 1, Calendar.SUNDAY,0); brt.setEndRule( Calendar.FEBRUARY, -1, Calendar.SUNDAY,0); Calendar todaysDay= new GregorianCalendar( brt); System.out.println(todaysDay.get(Calendar.HOUR_OF_DAY) + ":" + todaysDay.get(Calendar.MINUTE) + ":" + todaysDay.get(Calendar.SECOND); } }


- As second solution, you can just add arguments to your vm initialization: -Duser.timezone=$the_time_zone
- And finally the problem is solved in Java 5 so, if you can - migrate to it ;-)

Sources:
http://www.mundooo.com.br/php/modules.php?name=News&file=article&sid=486
http://bugs.sun.com/bugdatabase/view_bug.do?bug_id=5033603
http://www.petefreitag.com/item/171.cfm


4 de out. de 2006

Alerta SMS do Google Calendar pro Brasil

Acabo de descobrir que os alertas de SMS para o Google Calendar estão funcionando já pela TIM! Estou um pouco atrasado na novidade, já que foi publicado dia 22/09. Porém isso me faz querer usar mais os serviços de reminder do Calendar - já que a memória é sujeita a falhas :)



Veja mais:
Google Calendar
Info
Linux Clube