This works for me:
Intent intent = new Intent(Intent.ACTION_VIEW);
intent.setData(Uri.parse("market://search?q=pname:PriceBunnyClient"));
startActivity(intent);
Sincerely,
Brad Gies
-----------------------------------------------------------------
Brad Gies
27415 Greenfield Rd, # 2,
Southfield, MI, USA
48076
www.bgies.com www.truckerphone.com
www.EDI-Easy.com www.pricebunny.com
-----------------------------------------------------------------
Moderation in everything, including abstinence
-----Original Message-----
From: [email protected]
[mailto:[email protected]] On Behalf Of Tomei Ningen
Sent: Wednesday, January 28, 2009 6:09 PM
To: [email protected]
Subject: [android-developers] How to launch Market to point to specific
application
Hello, sorry if this is an FAQ:
If someone publish a "free" and "paid" version of a game, how can the free
app easily point to the paid version of the app in the Android Market? Can
this be done via an intent?
What I am looking for is some sort of API:
launchTheMarkert("com.foofoo.MyVeryCostlyApp");
which will open the Android Market app, and display MyVeryCostlyApp so that
the user can make a one click download?
Thanks
--~--~---------~--~----~------------~-------~--~----~
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
-~----------~----~----~----~------~----~------~--~---