Unless I am remembering wrong, the emulator doesn't have market.

It would also happen if someone manages to get your apk onto a device
without market (of which there are many, especially non-phone tablets)

On Sep 22, 8:17 am, Neilz <neilhorn...@gmail.com> wrote:
> I try and open up a new activity, pointing to the market, with the
> following code:
>
> Intent i = new Intent(android.content.Intent.ACTION_VIEW);
> i.setData(Uri.parse("<myMarketDetialsHere"));
> startActivity(i);
>
> It works fine on the device, but the Emulator throws an Exception:
>
> android.content.ActivityNotFoundException: No Activity found to handle
> Intent { action=android.intent.action.VIEW data=market://search?
> q=<MyMarketDetailsHere> }
>
> I'm not sure if this is just an emulator thing, or whether this could
> replicate on a real device?

-- 
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