-
google map in j2me
Hi,I want to use google map in my j2me application for GPS location.
I want to track the location of other mobile phone from my mobile phone and can able to see in my mobile as google map.
Can any one please help me and give the sample code for it.
Thank you
-
Re: google map in j2me
[QUOTE=shwetadseema;812087]Hi,I want to use google map in my j2me application for GPS location.
I want to track the location of other mobile phone from my mobile phone and can able to see in my mobile as google map.
Can any one please help me and give the sample code for it.
[/QUOTE]
Go through wiki link [url]http://wiki.forum.nokia.com/index.php/Google_Maps_API_in_Java_ME[/url]
for google maps and for get GPS location use JSR-179
It'll help you.
-
Re: google map in j2me
thanks but i gone through this link but i dont know how to make use of this code in my j2me application.i can able to connect this code with my midlet.
Please help me
-
Re: google map in j2me
by use of JSR 179, you can get Latitude and longitude search on wiki or google and use of latitude and longitude get location on map......Google map code is given in same link...
If you have confusion than break your tasks in small parts....
1 Get GPS location coordinate
2) plot on map....these coordinate
......
-
Re: google map in j2me
There is a recent worked example on precisely this subject:
[url]http://www.developer.nokia.com/Community/Wiki/Using_a_JSR-179_Location_Provider_and_displaying_the_result_on_a_Map[/url]
-
Re: google map in j2me
There is also the Google Maps API example here:
[url]http://www.developer.nokia.com/Community/Wiki/Google_Maps_API_in_Java_ME[/url]
Provided that you have already retrieved the coordinates of the location you want to display, you can skip the geocodeAddress method and use directly the retrieveStaticImage method.
And also there is a simpler example (less code), that displays a point on a Map by using Nokia Maps API for Java ME here:
[url]http://www.developer.nokia.com/Community/Wiki/How_to_display_an_Address_or_a_Point_of_Interest_on_a_Map_with_Java_ME[/url]