Skip to main content

Need help: GPS: How to fetch and show traffic data from google map?

2 replies [Last post]
divyab
Offline
Joined: 2007-07-16

I am developing an application of accessing google map on mobile and locating user's current position in J2ME using JSR 179, I done with lots of things so far..now i want to fetch TRAFFIC DATA..so, i request pls help me out if anybody's knows the approach or source code...that how can we access traffic data on google map in j2me

Reply viewing options

Select your preferred way to display the comments and click "Save settings" to activate your changes.
terrencebarr
Offline
Joined: 2004-03-04

Hi,

I don't know about Google traffic data - currently it seems to only be available as a map overlay:

http://www.google.com/apis/maps/documentation/#Traffic

However, Yahoo! seems to offer a REST API to access traffic information:

http://developer.yahoo.com/traffic/rest/V1/index.html

You might also want to consider using the Mobile Ajax libraries in the ME Application Developers project to access web services:

https://meapplicationdevelopers.dev.java.net/mobileajax.html

Hope this helps,

-- Terrence

divyab
Offline
Joined: 2007-07-16

Hello,

Thank u very much for guiding me..
As per your approach i gone through with the yahoo ..and xml parsing and all…and I successfully fetched the traffic map of particular location on device…lots of things I got to know by this procedure..
I really appreciate your support and especially so quick reply of my query!!
Now, as my requirement is of google’s traffic data, so once again I request for the same…give me approach if u find any.

Regards,
Divya