[android-developers] How can App not running after install apk?

2011-06-15 Thread ricky
Hi. I install apk like below.. File file = new File(dir, App.apk); Intent intent = new Intent(Intent.ACTION_VIEW); intent.setDataAndType(Uri.fromFile(file), application/ vnd.android.package-archive); startActivity(intent); in this way, installed apk run automatically after install. But I dont

Re: [android-developers] How can App not running after install apk?

2011-06-15 Thread Dianne Hackborn
It doesn't automatically run after being installed. On Mon, Jun 13, 2011 at 6:14 PM, ricky mae...@gmail.com wrote: Hi. I install apk like below.. File file = new File(dir, App.apk); Intent intent = new Intent(Intent.ACTION_VIEW); intent.setDataAndType(Uri.fromFile(file), application/