Android上的Twitter OAuth授权,没有打开的浏览器..如何? [英] twitter oauth authorization on android , without open browser .. how to?
问题描述
我创建一个Android应用程序,将通过Twitter分享的内容和我面临一些麻烦通过Twitter OAuth。我使用twitter4j。我见过一些教程,但所有的比打开浏览器autorization。是否有某种方式来autorize无需打开浏览器?
某种:对话框弹出,用户输入自己的ID和密码,该API autorize它无需打开浏览器,web视图,等等...
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...
推荐答案
您需要加载Twitter页面,但你可以在的WebView做
。你并不需要将其传递给浏览器。
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.
这篇关于Android上的Twitter OAuth授权,没有打开的浏览器..如何?的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!