On Mar 2, 11:14 pm, Derek <cram.de...@gmail.com> wrote:
> Anyone ?
> Even simple links are not followed.
>
> On Mar 1, 9:08 pm, Derek <cram.de...@gmail.com> wrote:
>
> > To get the login form, use:
> > String url = "http://m.flickr.com/signin/";;
>
> > On Mar 1, 9:03 pm, Derek <cram.de...@gmail.com> wrote:
>
> > > Hi all,
>
> > > I'm facing the following problem. I'm opening Flickr HTML login form
> > > with default Android browser and everything works fine when I'm
> > > logging (click "sign in" button in HTML form):
> > >  String url = "http://m.flickr.com/";;
> > >  Intent intent = new Intent();
> > >  intent.setAction(Intent.ACTION_VIEW);
> > >  intent.setData(Uri.parse(url));
> > >  startActivity(intent);
>
> > > But "sign in" button does nothing when using the same in a WebView:
> > > String url = "http://m.flickr.com/";;
> > >  WebView webview = (WebView) findViewById(R.id.flickr_authwebview);
> > >  webview.getSettings().setJavaScriptEnabled(true);
> > >  webview.getSettings().setJavaScriptCanOpenWindowsAutomatically(true);
> > >  webview.getSettings().setCacheMode(WebSettings.LOAD_NO_CACHE);
> > >  webview.getSettings().setLoadsImagesAutomatically(false);
> > >  webview.setClickable(true);
> > >  webview.loadUrl(url);
>
> > > What could be the problem ?


Hi,
WebView requires that your manifest has:
<uses-permission android:name="android.permission.INTERNET"></uses-
permission>


--~--~---------~--~----~------------~-------~--~----~
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
android-developers-unsubscr...@googlegroups.com
For more options, visit this group at
http://groups.google.com/group/android-developers?hl=en
-~----------~----~----~----~------~----~------~--~---

Reply via email to