2012-09-12 53 views

回答

1

試試這個 -

PackageManager pm = getPackageManager(); 
try 
{ 
    String packageName = "com.example.package"; 
    Intent launchIntent = pm.getLaunchIntentForPackage(packageName); 
    startActivity(launchIntent); 
} 
catch (Exception e1) 
{ 
} 
相關問題