2011-08-02 44 views

回答

1

您可以安裝並運行你的應用程序的.apk文件像下面

 Intent intent = new Intent(Intent.ACTION_VIEW); 
     intent.setDataAndType(Uri.fromFile(new File(fileName)), "application/vnd.android.package-archive"); 
     startActivity(intent); 

您可以通過以下鏈接罰款更多相關信息。 http://www.anddev.org/viewtopic.php?p=23928automatic install of apk

+0

no no no ...我不想安裝應用程序,instate,apk文件在SD卡中,我想用「反射」等來啓動應用程序在運行時... – Mentago