Hello Ladys n' Gentlemans, im using a P500 LG phone with the 2.3.3 OS of Android (gingerbread), and me and my country have a lot of problem with this smartphone (and whatever smartphone with Android) because the "daylight time rules" was changed the past month.
For this reason, our smartphone clocks always go 1hrs back the real time (my country is Chile, GMT-4 in the summer time).
I know what to do in linux (update the tzdata file from ftp://elsie.nci.nih.gov/pub/ and puting inside /usr/share/zoneinfo/), but in android the homework is something more complex.
In android, the "tzdata" reside inside the /system/usr/share/zoneinfo/ path. But inside that exist 3 files (in my P500):
The 3rd file (zoneinfo.version) have the version of the tzdata release (in my case "2010k"), but i dont know how to make the other 2 files. I understand that these 2 files was produced by the original tzdata (now the tzdata2011k.tar.gz from the ftp), wich contains all the Time Zones with its own "times rules".
Searching in our good friend google, i found that a Java code can convert these files and merged into one "zoneinfo.dat and zoneinfo.idx".
The Java code is called "JavaCompiler.java" and uses several others Java classes that i don understand how to make it work.
The JavaCompiler link is this: link
Now, i want to ask if some of you guys can helpme with this. Im not a Java developer, and less an Android developer...im only a HP50g developer
Please, help me with that ;]
Best regards,
Asrhael/Chile
For this reason, our smartphone clocks always go 1hrs back the real time (my country is Chile, GMT-4 in the summer time).
I know what to do in linux (update the tzdata file from ftp://elsie.nci.nih.gov/pub/ and puting inside /usr/share/zoneinfo/), but in android the homework is something more complex.
In android, the "tzdata" reside inside the /system/usr/share/zoneinfo/ path. But inside that exist 3 files (in my P500):
- zoneinfo.dat
- zoneinfo.idx
- zoneinfo.version
The 3rd file (zoneinfo.version) have the version of the tzdata release (in my case "2010k"), but i dont know how to make the other 2 files. I understand that these 2 files was produced by the original tzdata (now the tzdata2011k.tar.gz from the ftp), wich contains all the Time Zones with its own "times rules".
Searching in our good friend google, i found that a Java code can convert these files and merged into one "zoneinfo.dat and zoneinfo.idx".
The Java code is called "JavaCompiler.java" and uses several others Java classes that i don understand how to make it work.
The JavaCompiler link is this: link
Now, i want to ask if some of you guys can helpme with this. Im not a Java developer, and less an Android developer...im only a HP50g developer
- I want to update these deprecated file, and then make it public for any who want to upgrade it.
- If someone of you have an updated version of the "zoneinfo.*" please upload to this thread (please, open with an text editor the zoneinfo.version...mine is 2010k, and the official tzdata is 2011k
Please, help me with that ;]
Best regards,
Asrhael/Chile