HTML login form works in Android browser and fails with WebView - Android bug ?

by Derek » Fri, 06 Mar 2009 06:33:35 GMT


Sponsored Links
  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:37am, Mattaku Betsujin <mattaku.betsu...@gmail.com>
wrote:
--~--~---------~--~----~------------~-------~--~----~



HTML login form works in Android browser and fails with WebView - Android bug ?

by Derek » Fri, 06 Mar 2009 06:42:29 GMT


 f 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 to use WebViewClient to make all
pages opened in the same WebView.
Any suggestion ?

Thanks.

On Mar 5, 11:33pm, Derek <cram.de...@gmail.com> wrote:
--~--~---------~--~----~------------~-------~--~----~


Sponsored Links


Other Threads

1. Cyanogen 4.2.11

Cyanogen 4.2.11 is out..

link to xda-developers
http://forum.xda-developers.com/showthread.php?t=567610

Change Log
<http://forum.xda-developers.com/showthread.php?t=567610>*---- v.4.2.11*
* Fixed ext filesystem confusion problems
* Added backwards compatibility code for services (fixes issues with apps
like K9 and Locale)
* Pinch zoom for Browser, pinch zoom and swipe for Gallery
* Updated French translations
* Updated contacts app from Wysie
* Fixed "add to playlist" while BT enabled
* Fixed FC of select contact button in MMS
* Fixed browser download list
* Minor image tweaks from prash
* Other stuff!

-- 
regards,
Bayu Wicaksono

-- 
=========================
Google Groups "Indonesian Android Community [id-android]" group.

To post to this group, send email to id-android@googlegroups.com

To request to subscribe to this group:

Click  

2. Loading 2.0.1 to ADP2

Hi All,

Please forgive my ignorance. Athough I see the following in the
official description of the ADP2:

------------------------------------------------------------------------------------------------------------
Modify and rebuild the Android operating system, and flash it onto a
phone.
------------------------------------------------------------------------------------------------------------

I'm not able to find anywhere a downloadable 2.0 or 2.0.1 for the
ADP2, nor any indication that it could be done. To the contrary I see
all kind of discussions suggesting it's either not possible, or at
least not YET possible.

May someone please explain a developer withOUT any Android specific
background, what is so difficult in uplading a new version of an O/S
to a device that's specifically desgined for such purpose?

Do I really need to wait for HTC?

Thanks in advance,

Ron Pinkas

-- 

3. VideoView playback fails on 2.0.1? MediaPlayer warnings in logcat

4. Problem with map display on emulator with kml file

5. adding application in andrdoid source code

6. Achieving evenly spaced buttons on a layout

7. How can I put a TextView on a Layout without using an xml-file? What is wrong in my code?