Closed dtboy1995 closed 6 years ago
How does a launcher app update itself?
can i use below?
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);
- or other methods? Any help is greatly appreciated!
go to google
How does a launcher app update itself?
can i use below?