In my application I have a button, to show the user his way to go, on a Google Maps view.
Is there a way to get the Home-/Work location of the user from Google Now?
In my application I have a button, to show the user his way to go, on a Google Maps view.
Is there a way to get the Home-/Work location of the user from Google Now?
You can use Google Maps API in your application and find out your location through existing methods like this
LocationManager service = (LocationManager) getSystemService(LOCATION_SERVICE);
Criteria criteria = new Criteria();
String provider = service.getBestProvider(criteria, false);
Location location = service.getLastKnownLocation(provider);
LatLng userLocation = new LatLng(location.getLatitude(),location.getLongitude());