Register / Login
Win a copy of
Java Mock Exams (software)
this week in the
Programmer Certification (OCPJP)
this forum made possible by our volunteer staff, including ...
Stephan van Hulst
Installing APK from SD Card
posted 5 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.
What are you doing? You are supposed to be reading this tiny ad!
the new thread boost feature brings a LOT of attention to your favorite threads
Boost this thread!
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