OESF Portables Forum

Everything Else => Zaurus - Everything Development => Distros, Development, and Model Specific Forums => Archived Forums => Personal Java/Jeode/J2ME Personal Profile => Topic started by: eji on October 18, 2005, 04:49:42 pm

Title: Mobile Gmaps On The Zaurus
Post by: eji on October 18, 2005, 04:49:42 pm
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 (http://www.mgmaps.com/)?

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

What the heck do I do with these files?
Title: Mobile Gmaps On The Zaurus
Post by: Bane on February 03, 2006, 02:59:27 pm
Anyone have any good ideas on how to do this ?
Title: Mobile Gmaps On The Zaurus
Post by: Meanie on February 04, 2006, 04:49:38 am
http://www.users.on.net/~hluc/myZaurus/custom.html#java (http://www.users.on.net/~hluc/myZaurus/custom.html#java)
Title: Mobile Gmaps On The Zaurus
Post by: eji on February 04, 2006, 05:05:37 pm
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
Title: Mobile Gmaps On The Zaurus
Post by: bam on February 05, 2006, 12:50:00 am
he could uplaod them to my site, make em availiable from there, if bandwidth is a problem.(I got it to burn....)
Title: Mobile Gmaps On The Zaurus
Post by: eji on February 06, 2006, 05:40:57 am
Found 'em.

- Download midp-2_0-src-linux-i686.zip here (http://192.18.97.251/ECom/EComTicketServlet/BEGIN6A0A6A62CD7A7955011C5986488359AD/105863979/1145718003/1/250382/250382/1145718003/xmzZndezB81HYlfGYdXI/westCoastFSEND/ESD3/commsrc/MIDP/2.0/midp-2_0-src-linux-i686.zip) or the attached midpx.jar file I created following Meanie's instructions on his page linked above.
- Download me4se.jar from this Sourceforge page (http://sourceforge.net/project/showfiles.php?group_id=30528&package_id=58659).

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.
Title: Mobile Gmaps On The Zaurus
Post by: ensign on February 06, 2006, 07:30:44 am
Quote
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.

[div align=\"right\"][a href=\"index.php?act=findpost&pid=113818\"][{POST_SNAPBACK}][/a][/div]


eji,

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

Thanks,
ensign
Title: Mobile Gmaps On The Zaurus
Post by: eji on February 06, 2006, 07:54:35 am
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 (http://www.killefiz.de/zaurus/showdetail.php?app=2580)) running, so I must be doing something right.
Title: Mobile Gmaps On The Zaurus
Post by: ken on February 06, 2006, 08:13:27 am
Quote
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.
Title: Mobile Gmaps On The Zaurus
Post by: damiandixon on March 16, 2006, 03:20:51 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
Title: Mobile Gmaps On The Zaurus
Post by: bam on March 16, 2006, 04:29:56 am
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)
Title: Mobile Gmaps On The Zaurus
Post by: damiandixon on March 17, 2006, 03:24:34 am
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
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
[div align=\"right\"][a href=\"index.php?act=findpost&pid=118814\"][{POST_SNAPBACK}][/a][/div]
Title: Mobile Gmaps On The Zaurus
Post by: Meanie on March 17, 2006, 07:51:44 am
you mean something like this?
Title: Mobile Gmaps On The Zaurus
Post by: bam on March 18, 2006, 03:13:33 am
yes, meanie like that, any chance in a short "how-to"? Please?
Title: Mobile Gmaps On The Zaurus
Post by: Meanie on March 18, 2006, 08:41:04 pm
Quote
yes, meanie like that, any chance in a short "how-to"? Please?
[div align=\"right\"][a href=\"index.php?act=findpost&pid=119112\"][{POST_SNAPBACK}][/a][/div]

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

Code: [Select]
midp mgmaps.jar
is this simple enough?
Title: Mobile Gmaps On The Zaurus
Post by: bam on March 19, 2006, 06:46:37 am
way killer...thanks  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?
Title: Mobile Gmaps On The Zaurus
Post by: kmare on May 07, 2006, 10:26:20 am
Same problem here -- MIDP loads the java app fine, i just don't get any maps?  Anyone crack this?
Title: Mobile Gmaps On The Zaurus
Post by: spartan on June 26, 2006, 12:33:02 am
Quote
Same problem here -- MIDP loads the java app fine, i just don't get any maps?  Anyone crack this?
[div align=\"right\"][{POST_SNAPBACK}][/a][/div] (http://index.php?act=findpost&pid=126026\")

I knew this topic looked familiar... [a href=\"https://www.oesf.org/forums/index.php?showtopic=18860]https://www.oesf.org/forums/index.php?showtopic=18860[/url]

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.