Hi,

I am building an browser app, from which a android application is
launched. from within the android app i want to exit back to the
browser. i am already able to pass the session id from the browser
into the android app.

what i don't know is how to create a cookie with JSESSIONID=sessionId
and the start the browser via an intent and pass the cookie to the
browser in the intent so that i can maintain the browser session
through the browser->androidApp->browser change. this would mean:
1. how do i create a cookie, to which i can add JSESSIONID=1234?
2. can i put the cookie in an intent and call the browser, which then
uses the cookie and url from the intent to do a GET request? (as i
kill the android app when i exit back to the browser, i want to use an
intent to start the browser instead of instantiating a WebView in the
android app)

or, instead of creating a cookie in the android app and passing it in
an intent back to the browser, is there a way to use the browser
activity (which still exits in the background doing nothing, when i
change into the android app) when i come back from the android app,
because this browser instance should still have the correct session
cookie set? if this would be the solution, i would also like to know
how i can secure that andriod does not kill the browser activity,
while  the user is in the android app.

my english is bad, please excuse this, i hope my issue is clear, if
not, please ask me for whatever is unclear.

i'd really appreciate any hints and help :)

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