I haven't got a real device at the moment,
so if the http://market.android.com/details?id=URL doesn't work well
(I use it using intent) why is documented?
I can't understand it...
So the suggestion is to use:
Intent marketIntent = new Intent(Intent.ACTION_VIEW, Uri.parse(
"market://search?q=pname:" +
packageName()));
startActivity(marketIntent);
finish();
On emulator launch force close, can you tell me if it works well on
real device?
Thanks.
On Aug 12, 2:00 pm, String <[email protected]> wrote:
> On Aug 12, 12:21 pm, sblantipodi <[email protected]> wrote:
>
> > Hey but are you sure that is wrong?
> > In this guide it also tell that it is correct.
>
> >http://developer.android.com/guide/publishing/publishing.html
>
> OK, so I just tried it in an app on a real device.
> Thehttp://market.android.com/details?id=URL opens a "Complete action
> using" dialog, with the options of Browser and Details, where Details
> has the Market icon. Selecting Details does indeed open the Market
> client to the target package; selecting Browser gives the 404
> previously discussed.
>
> So while it's not completely *wrong*, it is suboptimal, and would be
> likely to lead to some degree of user confusion. Conclusion: use the
> market:// URL.
>
> Conclusion #2: You could have tried this yourself, rather than running
> to post it here.
>
> String
--
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