how to find the traffic of a roads?
i want to develop an applica开发者_如何学JAVAtion.
by using that application i want find the traffic of a roads.
How it is possible.
any one have idea.
Please help me
Thanks in advance
Google maps on android has traffic information. Here you go.
mapview.setTraffic(true)
If you really want to find out traffic data "by using your application", here's how to do it:
- Make the application track the user's location and movement speed via GPS and send it to a central server. Make sure you respect the user's privacy.
- Match the locations and velocities to roads using map data (available via OpenStreetMap, for instance).
- Get a lot of people to install your application
- Enjoy your traffic data
精彩评论