Trzy Gracje
Trzy Gracje

Reputation: 3069

How to open non-google navigation from my app?

I am using code below to start google navigation. Is there any way to open non-google navigation from application?

Intent intent = new Intent(Intent.ACTION_VIEW, Uri.parse("google.navigation:q=Berlin+Germany")); 
        startActivity(intent);

Upvotes: 0

Views: 174

Answers (1)

Veselin Romić
Veselin Romić

Reputation: 700

There is no specific URI format defined for non-Google navigation apps. You can add support for specific apps by checking if they have a URI you can implement, but there's no way to create a single 'open navigation app' intent.

Upvotes: 1

Related Questions