1
I have an application that performs routes between the current position and a certain point.
For this, I call an Activity:
final Intent intent = new Intent(android.content.Intent.ACTION_VIEW,
Uri.parse("http://maps.google.com/maps?daddr="+ item.getLatitude() + "," + item.getLongitude()));
startActivity(intent);
Now let’s implement a feature where the user can select which App
he’d like to use: Googlemaps or Waze.
This will be done through a Spinner
, and I will only display Waze if it is installed on the user’s Smartphone.
I would like to know how to find out if the user has Waze installed, and how to open it instead of Googlemaps?
So, but in case he’s not installed, there won’t be an option for him
– Thiago Luiz Domacoski