try {
Intent searchAddress = new Intent(Intent.ACTION_VIEW,
Uri.parse("geo:0,0?="+emp_city_location));
startActivity(searchAddress);
} catch(Exception e) {
System.out.println(e);
}
I got an exception like
03-03 21: 01: 56.349: INFO / System.out (179): android.content.ActivityNotFoundException: No activity was found to handle Intent {act = android.intent.action.VIEW dat = geo: 0,0? = chennai}
please answer me
source
share