Reputation: 11251
I have a twitter application which uses Sign-in with twitter. It's 'Settings' screen opens an instance of web browser which goes to twitter, asks the user to authenticate my client application, and comes back to the 'Settings' page after redirection from twitter. Every other thing with twitter and else works fine, except this:
Is there any way to get rid of this? Can I pass any flag with the intent that opens the browser so that the browser knows that it has to close or has not to be there in the view stack of my application? or any other solution?
Thanks!
Upvotes: 1
Views: 913
Reputation: 77732
Is there any chance you can use a WebView
instead of starting the browser with an Intent? That way, you have full control over it and can close it whenever you want.
Upvotes: 1