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 ?


On Mar 5, 8:37am, Mattaku Betsujin <>

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
public boolean shouldOverrideUrlLoading(WebView view, String
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 ?


On Mar 5, 11:33pm, Derek <> wrote:

Sponsored Links

Other Threads

1. Date.getTime() and Daylight Saving Time?

Hi all,

What will Date.getTime() returns in a region with Daylight Saving Time

Does this function returns a DST time or not?

I call Date.getTime() in a place with DST (such as U.S.), and convert
it to a  local time in China (no DST), I get a wrong time (one hour
ahead of local time in China). How can I fixed this problem?

Maybe I didn't tell tings clearly, but we don't use DST in China... I
don't understand DST very well.

2. Bitmap in GLSurfaceView

hi all..
I want to load a bitmap on a GLSurfaceView..
I do it like this:
// In the SurfaceCreated function in the class that implements
        int[] textures = new int[1];
        gl.glGenTextures(1, textures, 0);

        mTextureID = textures[0];
        gl.glBindTexture(GL10.GL_TEXTURE_2D, mTextureID);

        gl.glTexParameterf(GL10.GL_TEXTURE_2D, GL10.GL_TEXTURE_MAG_FILTER,

        InputStream is = mContext.getResources()
        Bitmap bitmap = null;
        try {
            bitmap = BitmapFactory.decodeStream(is);
        } finally {
            try {
            } catch (IOException e) {
                // Ignore.

But the bitmap repeats itself on the surface and is also inverted..
why is this.. How do i make it appear only once...kindly help!!
Thanks in advance.


3. App Test Group

4. Problems about receiving "OnItemClick" event in SlidingDrawer + GridView

5. Mrarket?

6. Accessing inbox and few others

7. link to another application