Possible Android 2.x Browser/WebView regression bug

by Mark Murphy » Thu, 28 Jan 2010 19:52:23 GMT


Sponsored Links
 > Hi all,

If I follow the instructions on the page, it works fine on the Nexus One
-- I can choose from the lower select element.

It also works on the Motorola DROID, though it seemed like the hit target
on the select element was smaller or something -- I wound up zooming in
before I was able to choose it.

-- 
Mark Murphy (a Commons Guy)
 http://commonsware.com 
Android App Developer Books:  http://commonsware.com/books.html 


--



Possible Android 2.x Browser/WebView regression bug

by String » Fri, 29 Jan 2010 06:19:24 GMT


 



OK, thanks Mark. It consistently fails on all my 2.x emulator
instances, so I thought I was onto the problem that users were
reporting. Guess I'll keep looking...

String

--


Sponsored Links


Other Threads

1. how to add button to do this line of codes

public void onActivityResult(int requestCode, int resultCode, Intent
intent) {
    IntentResult scanResult =
IntentIntegrator.parseActivityResult(requestCode, resultCode, intent);
    if (scanResult != null) {
      // success
    }
    // fail
  }

-- 

2. Facebook challenge response

Hi All,
   I am able to parse the facebook challenge but I am unable to create
the challenge response. I have a class which create the response for
the challenge which has the following function:

public String getResponse(String algorithm, String clientNonceCount,
String clientNonce, String nonce, String digestUri) {
                Log.i("server", ""+serverNonce);
            if (realm == null) {
                        throw new RuntimeException("Could not create challange 
without
realm.");
                }
                if (username == null) {
                        throw new RuntimeException("Could not create challange 
without
username.");
                }
                if (password == null) {
                        throw new RuntimeException("Could not create challange 
without
password.");
                }
                if (nonce == null) {
                        throw new RuntimeException("Could not create challange 
without
serverNonce.");
                }

                byte[] ha1 = Digest.MD5(username, ":", realm, ":", password);

                if (algorithm != null && algorithm.equals("md5-sess")) {
                        ha1 = Digest.MD5(ha1, ":".getBytes(),
Base64.encodeBase64(nonce.getBytes()), ":".getBytes(),
clientNonce.getBytes(), ":".getBytes(), username.getBytes());
                }

                byte[] ha2 = Digest.MD5("AUTHENTICATE", ":", digestUri);

                if (clientNonceCount == null || clientNonce == null) {
                        return Digest.toHex(Digest.MD5(
                                        Digest.toHex(ha1),
                                        ":",
                                        new 
String(Base64.encodeBase64(nonce.getBytes())),
                                        ":",
                                        Digest.toHex(ha2)));
                } else {
                        return Digest.toHex(Digest.MD5(
                                        Digest.toHex(ha1),
                                        ":",
                                        new 
String(Base64.encodeBase64(nonce.getBytes())),
                                        ":",
                                        clientNonceCount,
                                        ":",
                                        clientNonce,
                                        ":",
                                        "auth",
                                        ":",
                                        Digest.toHex(ha2)));
                }

        }

and I call it as:

String resp = sasl.getClientResponse("md5-sess", "00000001", cnonce,
nonce, "xmpp/chat.facebook.com");

Do Any body have idea what is wrong with this code. becuase it is not
generate correct response.

I'll thankful you for you help in anticipation.

Regards,
Ali

-- 

3. XAuth Library for Android

4. Querying Content Providers

5. How to add camera on android platform

6. Android Dev Phone question

7. Recents