On Mon, Jun 13, 2011 at 2:07 PM, Shashidhar <[email protected]> wrote: > > > On Mon, Jun 13, 2011 at 6:32 PM, Kumar Bibek <[email protected]> wrote: >> >> AFAIK, you cant do it. >> > > I have tried the below code. > WebView webview = new WebView(this); > setContentView(webview); > byte[] post = EncodingUtils.getBytes("[email protected]", > "BASE64"); > webview.postUrl("http://www.example.com/", post);
"BASE64" is not a charset. In getBytes(String, String), second string encodes charset, for example "UTF-8". Daniel -- You received this message because you are subscribed to the Google Groups "Android Developers" group. To post to this group, send email to [email protected] To unsubscribe from this group, send email to [email protected] For more options, visit this group at http://groups.google.com/group/android-developers?hl=en

