[android-developers] Re: how to capture browser activity or callback

2009-10-23 Thread Smelly Eddie
Sorry for the late response. You can actually just set the activity with a scheme "myapp://" and that schmee is uses as a url to call your activity "myapp:///?token=1234" And then you can use onResume to parse out the token; URI result = getIntent.getData(); The scheme must be set in the mab

[android-developers] Re: how to capture browser activity or callback

2009-09-15 Thread Carmen Delessio
I think I understand the scenario, I have an answer that works when accessing a web URL that returns a token via a WebView. You have an initial URL like: http://www.givemeatoken.com that returns http://www.givemeatoken.com?yourToken=12345 I handle this by: 1. creating a WebView 2. loading the ur

[android-developers] Re: how to capture browser activity or callback

2009-09-15 Thread Smelly Eddie
I hate to bump, but this got covered yesterday by 20+ posts fromm the same user at 4:18. Anyone have experiencing using schemes and callback uris? Regards, Eddie On Sep 14, 3:52 pm, Smelly Eddie wrote: > My activity calls a browser activity where the users submits their > info to retrieve a P