Hi Teo,
Did you upgraded your code to Android above 1.5 / API level 3 (such as 2.3.3
/ API level 10) ? Since then PackageManager.installPackage() has
disappeared, as seems to have been replaced by something like:
Intent myIntent = new Intent(Intent.ACTION_PACKAGE_INSTALL, Uri.parse("
file:///android_asset/otherApp.apk"));
myIntent.setFlags(Intent.FLAG_ACTIVITY_NEW_TASK);
startActivity(myIntent);
Do you use something like this for a more recent API level or any other
alternative?
Thank you.
--
You received this message because you are subscribed to the Google
Groups "Android Developers" group.
To post to this group, send email to [email protected]
To unsubscribe from this group, send email to
[email protected]
For more options, visit this group at
http://groups.google.com/group/android-developers?hl=en