I have this code but the method packageInstalled It does not work when I update some apks, it is as if it were never called.
ApplicationManager am;
am = new ApplicationManager(contexto);
am.setOnInstalledPackaged(new OnInstalledPackaged() {
public void packageInstalled(String packagName, int returnCode)
{
if (returnCode == ApplicationManager.INSTALL_SUCCEEDED)
{
// CODE
}
else
{
// CODE
}
}
});
Aucun commentaire:
Enregistrer un commentaire