Thank you very much, Bas.

In the meantime I also found this answer on stackoverflow:

http://stackoverflow.com/questions/1964819/start-android-market-from-app

That says the same as you.

Best regards,

On 23/05/12 19:07, Bas Verhoog wrote:
> Hello,
>
> I'm also just beginning with Android, every day we learn :).
>
> So, about the intent.
> If you're using a normal Activity (or a derivative thereof), starting a new 
> Intent to open a URL would look like the following: 
> Intent i = new Intent(Intent.ACTION_VIEW);
> i.setData(Uri.parse("thisismyurl.com"));
> startActivity(i);
>
> Now, if you replace the URL (thisismyurl.com) with the URL of your app on 
> the Play Store, Android will automatically detect that and prompt the user 
> to open the link using either one of the browsers, or the Play Store 
> application.
>
> Hope this helped.
>

-- 
You received this message because you are subscribed to the Google
Groups "Android Developers" group.
To post to this group, send email to [email protected]
To unsubscribe from this group, send email to
[email protected]
For more options, visit this group at
http://groups.google.com/group/android-developers?hl=en

Reply via email to