On Feb 26, 2:09 am, Steve Ingram <steveing...@gmail.com> wrote:
> 1. How can I test this using the Emulator or Browser (I don't have a
> phone)?

You can't. It only works when the Market app is installed and AFAIK no
one has figured out how to get it onto the emulator.

> 2. Can someone provide me with some sample code or verify that the
> below will work?  I currently have:
>
> Intent intent = new Intent(Intent.ACTION_VIEW);
>                                 intent.setData(Uri.parse("market://search?
> q=pname:com.mydomain.myapp"));
> startActivity(intent);

The (tested) code I use is equivalent:
startActivity(new Intent(Intent.ACTION_VIEW, Uri.parse("market://
search?q=pname:com.example.package")));

--
Jon

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

Reply via email to