开发者

how to find the traffic of a roads?

开发者 https://www.devze.com 2023-03-08 14:06 出处:网络
i want to develop an applica开发者_如何学JAVAtion. by using that application i want 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:

  1. 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.
  2. Match the locations and velocities to roads using map data (available via OpenStreetMap, for instance).
  3. Get a lot of people to install your application
  4. Enjoy your traffic data
0

精彩评论

暂无评论...
验证码 换一张
取 消