Hello,
By debugging against the Android code, I can find that the native activity
manager returns -1 when asked to :
startActivity (
applicationThread,
Intent { act=android.intent.action.PACKAGE_INSTALL
dat=/android_asset/Android-release.apk
By debugging the Android source code, I can see that the native activity
manager returns -1 (IActivityManager.START_INTENT_NOT_RESOLVED), when asked
to:
startActivity(
android.app.ActivityThread$ApplicationThread@40513a00,
Intent { act=android.intent.action.PACKAGE_INSTALL
You can't do this. You must go through the UI.
2011/6/27 Jérôme Beau javar...@gmail.com
By debugging the Android source code, I can see that the native activity
manager returns -1 (IActivityManager.START_INTENT_NOT_RESOLVED), when asked
to:
startActivity(
Hi Maha,
I tried your suggestion in case of, and this produces exactly the same
error.
Actually this doesn't surprise me, as I understand the message meaning I
did not found any activity listening to the PACKAGE_INSTALL intent, so it
does not even try to use the file parameter (only such an
May I add that I am aware of the VIEW action alternative, but that this is
*not* what I want to do.
I want to install an application dynamically and without user interaction,
and I have platform privileges to do so (but without being a system app
though).
--
You received this message because
Hello Mah and all,
I have exactly the same problem as Surfer has, with the two conditions you
mention met. I have sign my application with the platform (SDK for the
moment, a real one later on) key+cert, and
have android:sharedUserId=android.uid.system (as well as the
granted
Hi,
Looks like the path of apk is wrong and it shoudn't be start with
file:/// protocol. Place your apk in android_asset and give the path
direclty like
Uri.parse(/android_asset/otherApk.apk
Thanks,
Maha
2011/5/31 Jérôme Beau javar...@gmail.com
Hello Mah and all,
I have exactly
7 matches
Mail list logo