A friendly place for programming greenhorns!
Big Moose Saloon
Register / Login
Win a copy of
Head First Android
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
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
All times are in JavaRanch time: GMT-6 in summer, GMT-7 in winter
| Powered by
Copyright © 1998-2015