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 
dat=/android_asset/Android-release.apk 
typ=application/vnd.android.package-archive flg=0x10000000 },
    "application/vnd.android.package-archive",
    grantedUriPermissions = null,
    grantedMode = 0,
    resultWho = 0,
    requestCode = -1,
    onlyIfNeeded = false,
    debug = false
)

Does someone know if this because nobody listens (have intent filters) 
to android.intent.action.PACKAGE_INSTALL ? Such a Intent constant seems to 
be used nowhere.

Thanks.

-- 
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

Reply via email to