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 di
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 do
Yes
On May 5, 10:35 am, Kostya Vasilyev 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 wrote:
> >> > Copying back to the list.
>
> >
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 wrote:
> Copying back to the list.
>
> This looks like an emulator issue. Can you access the site with the
> emulator's
sorry but I don't understand what you said
On May 5, 9:52 am, Kostya Vasilyev 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
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 f
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 .
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, R.layout.l
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 wrote:
> Something is null at line 147 in your An
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):
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 08:
11 matches
Mail list logo