Home Ask Login Register

Developers Planet

Your answer is one click away!

Parker Sellers January 2017

How to link to from one Android app to another?

Google has a nice page here showing how to do this: https://developer.android.com/distribute/tools/promote/linking.html

Basically, use this code, and it will open the Play Store to the new apps page:

Intent intent = new Intent(Intent.ACTION_VIEW);

When I try this however, I get the error:

 Cannot resolve the symbol 'Uri'

What am I missing? I'm sure its extremely simple, perhaps something I need to import.


W4R10CK January 2017

Use a proper format:

Intent intent = new Intent(Intent.ACTION_VIEW);

Post Status

Asked in January 2017
Viewed 1,761 times
Voted 13
Answered 1 times


Leave an answer

Quote of the day: live life