views:

124

answers:

1

Hi,

I'm currently looking for a way to launch the default browser application on Android and pass a session cookie to it.

My application communicates with an external API over which I have no control using HttpClient, then passes the user to the site for the final stages.

I am aware that this is probably possible using a WebView, However I very specifically need to open the external browser application rather than using an internal WebView.

I know that:

Intent.ACTION_VIEW

Can be used to open the browser, however I have not managed to find much information about actually passing any additional data through.

Any help is much appreciated.

+1  A: 

I'm currently looking for a way to launch the default browser application on Android and pass a session cookie to it.

This is not possible, sorry.

CommonsWare
Is there anyway to get the system or browser CookieStore and add my cookie manually to that?
XenoPhoenix
@XenoPhoenix: No. That would be a major privacy violation. Not to mention the fact that the user may not be using the browser you're thinking of, anyway.
CommonsWare
To be honest I suspected as much which was why I was hoping there was a way to do it with an intent. Though as I suspected and you answered this is unfortunately currently not supported.
XenoPhoenix