Tehran Traffic Map App v3.1.0 Released!

Standard


Tehran Traffic Map IconTehran Traffic Map
Category: Transportation
Version: 3.1.1
Size: 992 KB

Tehran Traffic Map
This Android application use your mobile internet connection (WIFI/GPRS) to show a real-time Traffic information for surface street traffic conditions within the city of Tehran. All information received from “Tehran Traffic Control Co.” cameras server and visualize on a map. It is a dual language program (Persian/English depending on device default language).
It also lets you zoom on the streets and compare new received and older map.

What’s new in v3.1.1:
– Major changes in UI
– Adding zoom ability to Traffic map
– Adding more details to Traffic map
– Fixed Zoom bug
– Fixed File size issue

Screenshots:
Screenshot_2013-09-22-13-58-20

Screenshot_2013-09-22-14-08-38

 

How to launch Google map intent in android app with certain location, zoom and label

Standard

This code is a complete solution:

double latitude = 40.714728;
double longitude = -73.998672;
String label = "I'm Here!";
String uriBegin = "geo:" + latitude + "," + longitude;
String query = latitude + "," + longitude + "(" + label + ")";
String encodedQuery = Uri.encode(query);
String uriString = uriBegin + "?q=" + encodedQuery + "&z=16";
Uri uri = Uri.parse(uriString);
Intent mapIntent = new Intent(android.content.Intent.ACTION_VIEW, uri);
startActivity(mapIntent);

:idea: