2015-06-11 55 views

回答

0

你可以試試這個:

try { 
    startActivity(new Intent(Intent.ACTION_VIEW, Uri.parse("twitter://user?screen_name=" + twitter_user_name))); 
}catch (Exception e) { 
    startActivity(new Intent(Intent.ACTION_VIEW, Uri.parse("https://twitter.com/#!/" + twitter_user_name))); 
} 
相關問題