Here is the answert:
Intent intent = new Intent(Intent.ACTION_VIEW);
intent.setDataAndType(Uri.fromFile(new
File(Environment.getExternalStorageDirectory() + /download/ + app.apk)),
application/vnd.android.package-archive);
startActivity(intent);
I got that from
Is it possible to have the APK installed with forward lock option ?
On Jan 27, 7:23 pm, ColletJb collet...@gmail.com wrote:
Thank you, I will try this this afternoon.
On 27 jan, 10:45, kirti kaul kirti.k...@wipro.com wrote:
Hi,
Use this:
Hi,
Use this:
intent.setAction(android.content.Intent.ACTION_VIEW);
intent.setDataAndType(Uri.parse(file:///
sdcard/.sampleapk), application/vnd.android.package-archive);
startActivity(intent);
Where Sample.apk is the apk you need to install.
On Jan 27,
Thank you, I will try this this afternoon.
On 27 jan, 10:45, kirti kaul kirti.k...@wipro.com wrote:
Hi,
Use this:
intent.setAction(android.content.Intent.ACTION_VIEW);
intent.setDataAndType(Uri.parse(file:///
sdcard/.sampleapk),
4 matches
Mail list logo