april wrote: > url="http://www.google.com"; > Intent i = new Intent(Intent.ACTION_VIEW,Uri.parse(url)); > startActivity(i); > > If I changed url="http://127.0.0.1:4343/a.html", I will get error " > the application is stopped unexpectly. > > Is this a bug?
127.0.0.1 is localhost, which, in this case, would be the emulator itself. If you are trying to access something on the computer hosting the emulator, try using the non-localhost IP address. -- Mark Murphy (a Commons Guy) http://commonsware.com _The Busy Coder's Guide to Android Development_ Version 1.3 Published! --~--~---------~--~----~------------~-------~--~----~ 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 [EMAIL PROTECTED] For more options, visit this group at http://groups.google.com/group/android-developers?hl=en -~----------~----~----~----~------~----~------~--~---