How does a launcher app update itself?
Uri uri = Uri.fromFile(new File(Environment.getExternalStorageDirectory() + "/" + "update1.apk"));
Intent intent = new Intent(Intent.ACTION_VIEW);
intent.setFlags(Intent.FLAG_ACTIVITY_NEW_TASK);
intent.setDataAndType(uri,
"application/vnd.android.package-archive");
startActivity(intent);
Any help is greatly appreciated!
How does a launcher app update itself?
Any help is greatly appreciated!