2012-02-24 50 views

回答

0

謝謝,我設法做這樣......

Intent intent = new Intent(); 
intent.setClassName("com.google.android.apps.maps", "com.google.android.maps.LatitudeActivity"); 
startActivity(intent); 
0

如果你有一個URI,你可以做到這一點的方法:

Intent intent = new Intent(android.content.Intent.ACTION_VIEW, uri); intent.addFlags(Intent.FLAG_ACTIVITY_NO_HISTORY); intent.addFlags(Intent.FLAG_ACTIVITY_BROUGHT_TO_FRONT);

startActivity(intent);

相關問題