Help - Search - Members - Calendar
Full Version: Mobile Gmaps On The Zaurus
OESF Forums > Distros, Development, and Model Specific Forums > Everything Development > Personal Java/Jeode/J2ME Personal Profile
eji
I know my 6000 has J2ME on it. And "MGMaps runs on devices that support CLDC 1.0 and MIDP 1.0 or later." So how do I get it to run the Google Maps program Mobile GMaps?

There are .jar and .jad files here: http://wap.mgmaps.com/

What the heck do I do with these files?
Bane
Anyone have any good ideas on how to do this ?
eji
Thanks, Meanie. But where do we download these ipks and zip files? I did all kinds of Google searches and couldn't find any of it.

If you have them already, could you attach some of the necessary files here for, say, the SL-6000 (which already has Jeode installed)? So: me4se.jar and midp-2_0-src-linux-i686.zip
bam
he could uplaod them to my site, make em availiable from there, if bandwidth is a problem.(I got it to burn....)
eji
Found 'em.

- Download midp-2_0-src-linux-i686.zip here or the attached midpx.jar file I created following Meanie's instructions on his page linked above.
- Download me4se.jar from this Sourceforge page.

Bam, you'll want to snag the first of these and host it in case the link dies.

I still don't know exactly how to run them without a lot of hassle. Based on some stuff I've gleaned from here and there, they all have to be in the same directory and executed from the terminal.

Is there a way to launch them from the GUI?

I'll report back with any successes or, more likely, failures.
ensign
QUOTE(eji @ Feb 6 2006, 10:40 AM)
I still don't know exactly how to run them without a lot of hassle. Based on some stuff I've gleaned from here and there, they all have to be in the same directory and executed from the terminal.

*



eji,

How does your console command-line (or shell script) look like?

Thanks,
ensign
eji
I hope you're not asking as a means of getting advice. I honestly have no clue what I'm doing... I'm only figuring things out from following directions and trial and error.

Anyway, after putting mgmaps.jar, mgmaps.jad, and the above files in the same directory, and then cd'ing to them in the terminal, I used a variation of Meanie's command line entry as su:

#evm -classpath ./me4se.jar:./midpx.jar:./mgmaps.jar

Needless to say, really, it didn't work. I got a promising pause and then an error saying "Qt/Embedded data not valid for user 0" (or something along those lines). I tried adjusting the permissions of the files several different ways but no luck.

On the other hand, I've got lots of J2ME game applets (available here) running, so I must be doing something right.
ken
QUOTE(eji @ Feb 6 2006, 02:54 AM)
Needless to say, really, it didn't work. I got a promising pause and then an error saying "Qt/Embedded data not valid for user 0" (or something along those lines). I tried adjusting the permissions of the files several different ways but no luck.


faintly familiar. user 0 == root I think. Been a while since I last touched that stuff. Try another user, zaurus? I don't recall. Will try to play with that stuff later in the week.
damiandixon
I've got the MIDlet running but am unable to download any maps.

javax.microedition.io.ConnextionNotFoundException is occuring saying that the requested protocol does not exist.

Any ideas?

Thanks
Damian
bam
yea if anyone wants to package this up (once figured out) email it to me and I will host it(with credit to you of course) smile.gif
damiandixon
It appears that JavaME does not require the socket protocol to be implemented.

I reverse engineered the java class responsible and it is relying on a load of properties to find the protocol class to load. The use of properties is something I have not done before.

We may need to copy more classes over from midp-2_0-src-linux-i686.zip, and we may need to use more of classes as well. The dev-tip looks more promising with regards to the ME io classes. However the low level socket implementation is in C code.

Additionally I appear to be missing libkke.so (Sharp ROM - C860).

If I have time I will have a look at using the Blackdown J2SE as this is closer to what I need in anycase and probably has more functionality implemented.


By the way what I am looking for is a half way decent map & routing application on the Zaurus (GPS input would be handy though it is fairly easy to read and decode).

Using map data from Google (or one of the other free sources) is ideal as PocketStreets, Garmin, TomTom etc all use closed formats.

I have looked at a number of free map projects but they are rather limited in source material for the UK.

Has anyone come across descriptions of the data format for PocketStreets or TomTom (I have found a document describing part of the Garmin format).


Regards
Damian

QUOTE(damiandixon @ Mar 16 2006, 08:20 AM)
I've got the MIDlet running but am unable to download any maps.

javax.microedition.io.ConnextionNotFoundException is occuring saying that the requested protocol does not exist.

Any ideas?

Thanks
Damian
*
Meanie
you mean something like this?
bam
yes, meanie like that, any chance in a short "how-to"? Please?
Meanie
QUOTE(bam @ Mar 18 2006, 06:13 PM)
yes, meanie like that, any chance in a short "how-to"? Please?
*


simply install my midp-launcher package, then from a command line:

CODE
midp mgmaps.jar


is this simple enough?
bam
way killer...thanks smile.gif but cant seem to get maps to show up(is it atrociously slow or am I impatient?

2nd'ly, offtopic, whats that 3rd applet over in your bar? the two arrows?
kmare
Same problem here -- MIDP loads the java app fine, i just don't get any maps? Anyone crack this?
spartan
QUOTE(kmare @ May 7 2006, 02:26 PM)
Same problem here -- MIDP loads the java app fine, i just don't get any maps?  Anyone crack this?
*


I knew this topic looked familiar... http://www.oesf.org/forums/index.php?showtopic=18860

If you are not prompted in the beginning to agree to terms and conditions, then there's something wrong. If you do, make sure you're using the latest version of Google Mobile Maps. Also, if you are trying this over a cellphone connection, most providers block direct internet connections. Google Maps requires one.

This wouldn't be a problem if there were some way to set properties (i.e., the Google Maps URL property) on the Zaurus. They are stored in the JAD file. By configuring a reverse proxy server, this would enable all of us with internet plans like T-Zones to use Google Maps on our Zauruses.
This is a "lo-fi" version of our main content. To view the full version with more information, formatting and images, please click here.
Invision Power Board © 2001-2014 Invision Power Services, Inc.