mobile maps help needed!

I'm trying to design and develop an application which uses Location Based Services and basicaly shows an interactive map of the current location.

I would like to ask if anyone knows where to start, I know more or less how to use JSR-179. Let's say I have current coordinates and then I want to display the map, the point is I would like to know which way to go from here.

The Google Maps API is fairly easy if you use Java Script and a web browser, does anyone know how to get the map from google or maybe yahoo and display it in the midlet without the browser?

There is a midlet available straight from google (mobile goolge maps http://www.google.com/gmm ) which is just great, I have no idea how it is implemented, If anyone knows, please send me some suggestions.

I would like to accompish all the processing of the retrived images(possible from the google maps server) with Java EE and then retrive them and display them on the mobile (maybe as an XML file - SVGt image). Anyway, I hope I have described the idea, as I said I don't know where to go, and if there is someone with some experience with that kind of staff please help, this is my final year project and I'm not asking for the solution, just for some directions and the proper way of implementing those things.

Thanks a lot in advance!

[1343 byte] By [kris_javaa] at [2007-11-27 5:15:44]
# 1

You can use the Yahoo Maps API. It has a REST interface.

http://developer.yahoo.com/maps/rest/V1/mapImage.html

You can parse response and download the image.

Alternatively you can use a server as an intermediary. For example, you can send your server the coords and options, then your server would talk to Google or Yahoo and retrieve the map image.

I created an example app some time ago that will use the Yahoo Maps image. The project page is http://gallery.yahoo.com/apps/10685 and the source code is available on http://hostj2me.com/appdetails.html?id=2875

It takes up to minute to initialize and retrieve the initial coords. But here is how it works.

1) get GPS coods

2) send cords (http get) to Yahoo

3) parse XML response and retrieve image URL

4) download and display image from URL

rashidmayesa at 2007-7-12 10:38:08 > top of Java-index,Java Mobility Forums,Java ME Technologies...
# 2

Hello Rashid!

I assume your name is Rashid, right :) if not, correct me please and sorry!

I tell you what, This is just GREAT!!! Well, you could just write about parsing XML but that is even better, still lots of work ahead but this really helps. The points are of course yours. I wish you good day/nigth wherever you are, I've just run it on the emulator and it rocks.

Thanks again

Kris :)

kris_javaa at 2007-7-12 10:38:08 > top of Java-index,Java Mobility Forums,Java ME Technologies...