I don't want to open to a publisher or application. I want to only open to the market.
Shane On Mon, Feb 28, 2011 at 11:14 AM, Marcin Orlowski <webnet.andr...@gmail.com>wrote: > > loadIntent.setClassName("com.android.vending", > > "com.android.vending.AssetBrowserActivity"); > > Why you got this way? As you see it's quite fragile. Try using intent > instead, ie: > > Intent intent = new Intent(Intent.ACTION_VIEW, Uri.parse( > "market://search?q=pub:your.pub.name") ); > intent.setFlags(Intent.FLAG_ACTIVITY_NEW_TASK); > startActivity(intent); > > or "market://details?id=your.package.name" > > -- > Regards, > Marcin > > -- > 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 -- 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