Re: [android-developers] opening a url in browser with post data from an activity

2011-06-13 Thread Daniel Drozdzewski
On Mon, Jun 13, 2011 at 2:07 PM, Shashidhar wrote: > > > On Mon, Jun 13, 2011 at 6:32 PM, Kumar Bibek wrote: >> >> AFAIK, you cant do it. >> > > I have tried the below code. >         WebView webview = new WebView(this); >         setContentView(webview); >         byte[] post = EncodingUtils.get

Re: [android-developers] opening a url in browser with post data from an activity

2011-06-13 Thread Mark Murphy
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 wrote: > > > On Mon, Jun 13, 2011 at 6:32 PM, Kumar Bibek wrote: >> >> AFAIK, you cant do it. >> > > I have tried the below code. >  

Re: [android-developers] opening a url in browser with post data from an activity

2011-06-13 Thread Shashidhar
On Mon, Jun 13, 2011 at 6:32 PM, Kumar Bibek 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:

Re: [android-developers] opening a url in browser with post data from an activity

2011-06-13 Thread Kumar Bibek
AFAIK, you cant do it. *Thanks and Regards, Kumar Bibek* * http://techdroid.kbeanie.com http://www.kbeanie.com* On Mon, Jun 13, 2011 at 5:11 PM, Shashidhar 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