问题
I'm creating an android app that will share content through twitter and i'm facing some trouble with twitter oauth . I'm using twitter4j . I've seen some tutorials but all of than open the browser for autorization. Is there some way to autorize without open the browser? some sort of : dialog pops up and the user type his id and password , and the api autorize it without open the browser , webView , etc...
回答1:
You need to load the twitter page, but you can do it in a WebView
. You don't need to pass it off to the Browser.
来源:https://stackoverflow.com/questions/4683084/twitter-oauth-authorization-on-android-without-open-browser-how-to