开发者

Load Twitter page from my Android app

I have my android app and I would like next: -When somebody press the button on my application it will load the Twitter application with my twitter page. So people can see my twitter page and leave some questions. For example :

1) User_1 open my Android application and press the button "Contact with us" 2) My application load Twitter app if it installed 3) Twitter app sign in automatically using User_1 account and load my page. So I don't know how to make Intent 开发者_StackOverflow社区with data about my twitter page and load it using deffault User_1 account. Answers with example would be much appreciated.


public void onCreate(Bundle savedInstanceState) 
    super.onCreate(savedInstanceState);
    setContentView(R.layout.twitter);

    WebView mWebView;
    mWebView = (WebView) findViewById(R.id.WebView1);
    mWebView.getSettings().setJavaScriptEnabled(true);
    mWebView.loadUrl("http://www.twitter.com/#!/editextentionhere");
}
0

上一篇:

下一篇:

精彩评论

暂无评论...
验证码 换一张
取 消

最新问答

问答排行榜