HTTP POST requests are not normally encoded in Base64. They are normally encoded as application/x-www-form-urlencoded.
On Mon, Jun 13, 2011 at 9:07 AM, Shashidhar <shashi.zep...@gmail.com> wrote: > > > On Mon, Jun 13, 2011 at 6:32 PM, Kumar Bibek <coomar....@gmail.com> wrote: >> >> AFAIK, you cant do it. >> > > I have tried the below code. > WebView webview = new WebView(this); > setContentView(webview); > byte[] post = EncodingUtils.getBytes("un=us...@gmail.com", > "BASE64"); > webview.postUrl("http://www.example.com/", post); > > But it doesn't work. > Thanks, > Shashi > >> >> Thanks and Regards, >> Kumar Bibek >> >> http://techdroid.kbeanie.com >> http://www.kbeanie.com >> >> >> >> On Mon, Jun 13, 2011 at 5:11 PM, Shashidhar <shashi.zep...@gmail.com> >> wrote: >>> >>> Hi, >>> I need to open a browser with a URL when I click on a button in my >>> activity. >>> The URL has some parameters which I need to send it using HTTP POST >>> method. >>> I am able to get it working with the GET request where we append the >>> parameters to the end of the URL. >>> But, I need the POST method way. >>> Any Ideas on how to send the URL data using POST method to open it in >>> browser. >>> Thanks, >>> Shashidhar >>> >>> -- >>> You received this message because you are subscribed to the Google >>> Groups "Android Developers" group. >>> To post to this group, send email to android-developers@googlegroups.com >>> To unsubscribe from this group, send email to >>> android-developers+unsubscr...@googlegroups.com >>> For more options, visit this group at >>> http://groups.google.com/group/android-developers?hl=en >> >> -- >> You received this message because you are subscribed to the Google >> Groups "Android Developers" group. >> To post to this group, send email to android-developers@googlegroups.com >> To unsubscribe from this group, send email to >> android-developers+unsubscr...@googlegroups.com >> For more options, visit this group at >> http://groups.google.com/group/android-developers?hl=en > > -- > You received this message because you are subscribed to the Google > Groups "Android Developers" group. > To post to this group, send email to android-developers@googlegroups.com > To unsubscribe from this group, send email to > android-developers+unsubscr...@googlegroups.com > For more options, visit this group at > http://groups.google.com/group/android-developers?hl=en -- Mark Murphy (a Commons Guy) http://commonsware.com | http://github.com/commonsguy http://commonsware.com/blog | http://twitter.com/commonsguy Warescription: Three Android Books, Plus Updates, One Low Price! -- You received this message because you are subscribed to the Google Groups "Android Developers" group. To post to this group, send email to android-developers@googlegroups.com To unsubscribe from this group, send email to android-developers+unsubscr...@googlegroups.com For more options, visit this group at http://groups.google.com/group/android-developers?hl=en