2016-12-24 53 views

回答

0

你試過

// ... 
    Intent intent = new Intent(Intent.ACTION_VIEW,uri); 
    startActivityForResult(intent,101); 

然後

@Override 
protected void onActivityResult(int requestCode, int resultCode, Intent data) 
{ 
    Log.i("MainActivity","onActivityResult called"); 
} 
+0

例不要有這樣的代碼。 – user7337984