A friendly place for programming greenhorns!
Big Moose Saloon
Register / Login
Installing APK from SD Card
Joined: Jan 24, 2011
Sep 27, 2011 03:10:22
I want to install apk present on the SD card. I am using the following code to achieve it
Intent intent = new Intent(Intent.ACTION_VIEW); intent.setDataAndType(Uri.fromFile(new File(Environment.getExternalStorageDirectory() + "Sudoku.apk")), "application/vnd.android.package-archive"); startActivity(intent);
But on executing it , it shows Parsing error : There is problem parsing the package.
I agree. Here's the link:
subject: Installing APK from SD Card
what are the ways to install application into phone
deploying app to android phone without signing?
Capture image using android emulator
sending Email with attachment using Android emulator
Unlocking Android: Regarding Dynamic Class Loading
All times are in JavaRanch time: GMT-6 in summer, GMT-7 in winter
| Powered by
Copyright © 1998-2013