Weird.

I wonder if there is some unprintable character somewhere, or perhaps a national (accented character) somewhere in your URL.

Change the Intent construction like this:

Intent browserIntent = new Intent(Intent.ACTION_VIEW, Uri.parse(la_dire));

And double check the URL to make sure it doesn't have any strange characters.

You're also supposed to create a chooser, in case the user has multiple web browsers installed:

    String la_dire = "http://www.donostiakultura.com";;
Intent browserIntent = new Intent(Intent.ACTION_VIEW, Uri.parse(la_dire));
    startActivity(*Intent.createChooser(browserIntent, "Browse with...")*);

-- Kostya

05.05.2011 12:47, beginer пишет:
Yes

On May 5, 10:35 am, Kostya Vasilyev<[email protected]>  wrote:
Can you access the site with the  emulator's web browser?

05.05.2011 12:17, beginer пишет:









sorry but I don't understand what you said
On May 5, 9:52 am, Kostya Vasilyev<[email protected]>    wrote:
  Copying back to the list.
  This looks like an emulator issue. Can you access the site with the
  emulator's web browser? I would guess not.
  And looking at the last line in the log:
  Address family not supported by protocol
  I would guess that it's IPv6 related.
  PS - Don't use hardcoded strings for intent actions, there are constants
  like Intent.ACTION_VIEW.
  -- Kostya
  05.05.2011 10:37, beginer пишет:
--
Kostya Vasilyev --http://kmansoft.wordpress.com


--
Kostya Vasilyev -- http://kmansoft.wordpress.com

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

Reply via email to