[android-developers] Re: problem with Linkify.addLinks(

2011-05-16 Thread beginer
Hello I put String la_dire = http://www.donostiakultura.com;; Intent browserIntent = new Intent(Intent.ACTION_VIEW, Uri.parse(la_dire)); startActivity(*Intent.createChooser(browserIntent, Browse with...)*); And it dosen´t go, if I dont put de url in the String la_dire , I put

[android-developers] Re: problem with Linkify.addLinks(

2011-05-05 Thread Kostya Vasilyev
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

[android-developers] Re: problem with Linkify.addLinks(

2011-05-05 Thread beginer
sorry but I don't understand what you said On May 5, 9:52 am, Kostya Vasilyev kmans...@gmail.com 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

Re: [android-developers] Re: problem with Linkify.addLinks(

2011-05-05 Thread Kostya Vasilyev
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 Vasilyevkmans...@gmail.com wrote: Copying back to the list. This looks like an emulator issue. Can you access the site with

[android-developers] Re: problem with Linkify.addLinks(

2011-05-05 Thread beginer
Yes On May 5, 10:35 am, Kostya Vasilyev kmans...@gmail.com 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 Vasilyevkmans...@gmail.com  wrote:  Copying back to

Re: [android-developers] Re: problem with Linkify.addLinks(

2011-05-05 Thread Kostya Vasilyev
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

[android-developers] Re: problem with Linkify.addLinks(

2011-05-04 Thread beginer
The code that I am using is this: In the method getView of the ArrayAdapter class, when you click in the title of one of the items, I do this: class EventoAdapter extends ArrayAdapter { Activity context; EventoAdapter(Activity context) { super(context,

Re: [android-developers] Re: problem with Linkify.addLinks(

2011-05-04 Thread Kostya Vasilyev
You can set an onClickListener for the view, and use ACTION_VIEW for your http://...; URI. http://stackoverflow.com/questions/2201917/android-open-url-from-code -- Kostya 04.05.2011 12:44, beginer пишет: When I click labelTitle, the link appeared, and you can click there and open the url .

[android-developers] Re: problem with Linkify.addLinks(

2011-05-03 Thread beginer
Thanks Mark I seee in the LogCat and it said: 05-03 08:05:15.895: DEBUG/AndroidRuntime(339): Shutting down VM 05-03 08:05:15.895: WARN/dalvikvm(339): threadid=1: thread exiting with uncaught exception (group=0x4001d800) 05-03 08:05:16.051: ERROR/AndroidRuntime(339): FATAL EXCEPTION: main 05-03

Re: [android-developers] Re: problem with Linkify.addLinks(

2011-05-03 Thread Kostya Vasilyev
Something is null at line 147 in your AndroidXml.java. -- Kostya 03.05.2011 12:11, beginer ?: 05-03 08:05:16.051: ERROR/AndroidRuntime(339): FATAL EXCEPTION: main 05-03 08:05:16.051: ERROR/AndroidRuntime(339): java.lang.NullPointerException 05-03 08:05:16.051: ERROR/AndroidRuntime(339):

[android-developers] Re: problem with Linkify.addLinks(

2011-05-03 Thread beginer
I resolved the problem, but known the link only appear sometimes. I have a List View, and the both elements have a link, but in some element appear the link and in others not. Wht is the problem? thaks very much On May 3, 10:42 am, Kostya Vasilyev kmans...@gmail.com wrote: Something is null at