The Emulator doesn't have the Android Market app...so it should make sense the 404 error.
On Wed, Aug 11, 2010 at 11:00 PM, sblantipodi <[email protected]>wrote: > Hi all, > is it normal that this code open the browser and returns a 404 error > in the emulator? > > Intent marketIntent = new Intent(Intent.ACTION_VIEW, Uri.parse( > "http://market.android.com/details? > id=" + getPackageName())); > startActivity(marketIntent); > finish(); > > Should work fine on real device, am I right? > > 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]<android-developers%[email protected]> > For more options, visit this group at > http://groups.google.com/group/android-developers?hl=en -- YuviDroid Check out Launch-X <http://android.yuvalsharon.net/launchx.php> (a widget to quickly access your favorite apps and contacts!) http://android.yuvalsharon.net -- 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

