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);

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 <[email protected]>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 [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
>
>
>  --
> 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

-- 
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

Reply via email to