A friendly place for programming greenhorns!
Big Moose Saloon
Register / Login
Win a copy of
Java 8 in Action
this week in the
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
Unlocking Android: Regarding Dynamic Class Loading
deploying app to android phone without signing?
Capture image using android emulator
sending Email with attachment using Android emulator
All times are in JavaRanch time: GMT-6 in summer, GMT-7 in winter
| Powered by
Copyright © 1998-2014