Register / Login
File APIs for Java Developers
Manipulate DOC, XLS, PPT, PDF and many others from your application.
Win a copy of
Clojure in Action
this week in the
Installing APK from SD Card
posted 4 years ago
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:
Capture image using android emulator
deploying app to android phone without signing?
sending Email with attachment using Android emulator
Unlocking Android: Regarding Dynamic Class Loading
what are the ways to install application into phone