To get the login form, use:
String url = "http://m.flickr.com/signin/";;
On Mar 1, 9:03 pm, Derek 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
Anyone ?
Even simple links are not followed.
On Mar 1, 9:08 pm, Derek wrote:
> To get the login form, use:
> String url = "http://m.flickr.com/signin/";;
>
> On Mar 1, 9:03 pm, Derek wrote:
>
> > Hi all,
>
> > I'm facing the following problem. I'm opening Flickr HTML login form
> > with defaul
On Mar 2, 11:14 pm, Derek wrote:
> Anyone ?
> Even simple links are not followed.
>
> On Mar 1, 9:08 pm, Derek wrote:
>
> > To get the login form, use:
> > String url = "http://m.flickr.com/signin/";;
>
> > On Mar 1, 9:03 pm, Derek wrote:
>
> > > Hi all,
>
> > > I'm facing the following proble
Are you using weight in your webview..there are errors if the webview has a
layout_weight="1.0"
On Mon, Mar 2, 2009 at 8:44 PM, Derek wrote:
>
> Anyone ?
> Even simple links are not followed.
> - Show quoted text -
>
>
> On Mar 1, 9:08 pm, Derek wrote:
> > To get the login form, use:
> > String
Yeah, thanks ! I was using layout_weight="1.0". I've removed it and
now the links are working. However, the login form still doesn't work
as in Android browser.
When I look to the source it seems very simple (No JavaScript). Some
form fields are hidden and empty. Could it be the problem ?
Here is
webView.getSettings().setSupportMultipleWindows(true);
On Wed, Mar 4, 2009 at 2:19 AM, Derek wrote:
>
> Yeah, thanks ! I was using layout_weight="1.0". I've removed it and
> now the links are working. However, the login form still doesn't work
> as in Android browser.
> When I look to the source
Thanks but the problem is still here. However, If i remove:
webview.setWebViewClient(new AuthWebViewClient());
then I notice that with setSupportMultipleWindows(true); it opens a
new Android browser windows when I click to "Submit" button but the
page displayed is not the correct one. I'm wonderin
webView = (WebView) findViewById(R.id.webView);
String url = "http://www.flickr.com/";;
webView.setWebViewClient(new AuthWebViewClient());
webView.getSettings().setJavaScriptEnabled(true);
webView.getSettings().setLoadsImagesAutomatically(true);
webView.loadU
Yes, that's I did in the code I've posted before. I don't see the
difference ?
Could this issue come from Cookie management in WebView ? Is there any
option to make sure cookies are passed ?
Thanks.
On Mar 4, 12:34 pm, for android wrote:
> webView = (WebView) findViewById(R.id.webView);
>
Have you looked into android.webkit.CookieManager?
On Wed, Mar 4, 2009 at 2:02 PM, Derek wrote:
>
> Yes, that's I did in the code I've posted before. I don't see the
> difference ?
> Could this issue come from Cookie management in WebView ? Is there any
> option to make sure cookies are passed ?
I think I've found the problem, WebView seems to NOT follow HTTP
redirect (302) as response for an HTTP POST (the login form).
Is there any option to enable redirect support after POST on WebView ?
Thanks.
On Mar 5, 8:37 am, Mattaku Betsujin
wrote:
> Have you looked into android.webkit.CookieMa
If I remove webview.setWebViewClient(new AuthWebViewClient()) which
overrides:
public boolean shouldOverrideUrlLoading(WebView view, String
url)
{
view.loadUrl(url);
return true;
}
Then redirect after POST works.
So, I think I didn't understand how
12 matches
Mail list logo