![]() |
Re: Google Maps Official (Java Version)
Thanks guys! I've been struggling lately to find reasons to make a decision to replace my N900 with something else, now it is pretty much impossibe :)
Anyone knows if it is possible to icrease heap space for a midlet? Having difficulty with the live traffic as the app tends to run short on memory when it's enabled and it gets turned off automatically. Edit: OMG, street view works too! |
Re: Google Maps Official (Java Version)
Very nice, thanks!
|
Re: Google Maps Official (Java Version)
Quote:
it seems you have technical knowledge of java better than myself. so for increasing heap space, i suggest you contact davy directly as creator of PhoneME (all credits goes to him as i've always recited) |
Re: Google Maps Official (Java Version)
I poked around and couldn't figure out how to pass max heap size to cvm through runmidlet, maybe there is a cleaner way but I ended up using the full command line for the Exec property in my googlemaps.desktop file, notice the -Xmx parameter which now sets max heap size to 24m instead of default 12:
Code:
Exec=/opt/phoneme/bin/cvm -Xmx24m -Xbootclasspath/a:/opt/phoneme/lib/jsr234.jar -Dmicroedition.profiles=MIDP-2.1 -Dmicroedition.location.version=1.0 -Dsun.midp.library.name=midp -Dsun.midp.home.path=/opt/phoneme/midp/midp_linux_fb_gcc -Dcom.sun.midp.mainClass.name=com.sun.midp.main.CdcMIDletSuiteLoader sun.misc.MIDPLauncher -suitepath /opt/phoneme/googlemaps.jar -jadpath /opt/phoneme/googlemaps.jad -1 com.google.googlenav.GoogleNav |
Re: Google Maps Official (Java Version)
Dang, can no longer run the app. It attempts to show the Terms and Conditions screen on launch and then craps out with a "serious error" message. Anyone else has this problem?
|
Re: Google Maps Official (Java Version)
nope, mine runs fine
|
Re: Google Maps Official (Java Version)
Weird, I've installed a couple of apps since I was able successfully run it last time. Uninstalled them and it didn't help. Do you remember seeing "terms and conditions" screen? I don't, even if was shown initially it is unclear why it is being opened again. Maybe it stores a file with persistent settngs which is now corrupt. hmm.
|
Re: Google Maps Official (Java Version)
T & C screen occasionally appear but the maps run just fine (btw i don't make a change to google.desktop file)
|
Re: Google Maps Official (Java Version)
I removed my changes from the desktop file but no use. Wondering if yours will stop working the next time you see the T&C screen.
|
Re: Google Maps Official (Java Version)
Is it possible that some of the components that cvm depends on got replaced with other versions because I installed some apps which broke cvm (java vm)?
|
All times are GMT. The time now is 18:12. |
vBulletin® Version 3.8.8