The title might be a little misleading, so I’ll try to explain it the best way I can. In my Android application I’m using OAuth authentication. At one point, I need to open up a browser window so the user can approve the application. Once they approve it, they get forwarded to another URL with some address parameters. What I need is to grab the value from one of the parameters and feed it back into my application.
What I’m kind of looking for is described in steps three and four in this Android & OAuth tutorial, I’m just not exactly sure if I should go the way described in the article.
Thanks for all the help!
To get URL parameters via JavaScript in the browser, try something like this:
If the same URL parameter (by name) is specified twice, then it will only show up once in the output, but you could change this to return a multimap like object.