Thanks for the reply, but I see that I forgot to mention: this is an
installed /packaged/ app, not a hosted one, so launching it via a URL is
not an option.
2013/4/10 Paul Theriault <
pther...@mozilla.com>
> > Hello everyone!
> >
> > I'm building an app that tries to interact with the FourSquare OAuth
> service to authenticate. Unfortunately, FourSquare requires for the app
> authorization the user to be redirected to foursquare's own webpage (needs
> to be opened in a browser), where the user authorizes the app, then it
> redirects the browser to a pre-set url.
> >
> > Launching the authorization works like a charm, the "view" webactivity
> opens up the browser and authentication works as it should. However
> reopening the app is a hassle (the user must be presented a page after
> redirect, that instructs him to reopen the app and refresh/sync to receive
> his auth key).
> >
> > Browsing the WebActivity docs (which are quite scarce, at most)
>
> > I found out there is an "open" action, could probably this be used to
> launch the app from the browser? I'm thinking something not at all unlike
> android's intents... Unfortunately I didn't find any pointers (or any
> documentation) for the action.
> >
> > Thanks in advance!
> > Flaki