Hi all,
I'd like to add a final feature to my AppUpdating lib: automatic relaunch when a newer version was installed.
So far I simply reached the point where through an intent the user is asked whether to install the newly downloaded version of the executing app.
I don't know if it is the right way to do it, but I would add a service to that lib and look for a system message about "installation done" for my package. If and when this message is intercepted then the executing app simply starts "itself" (the newer version) again.
Is it feasible? Is this the way B4A-Bridge works?
And, more important, have you any suggestions or, better, some working code? TIA
Umberto
I'd like to add a final feature to my AppUpdating lib: automatic relaunch when a newer version was installed.
So far I simply reached the point where through an intent the user is asked whether to install the newly downloaded version of the executing app.
I don't know if it is the right way to do it, but I would add a service to that lib and look for a system message about "installation done" for my package. If and when this message is intercepted then the executing app simply starts "itself" (the newer version) again.
Is it feasible? Is this the way B4A-Bridge works?
And, more important, have you any suggestions or, better, some working code? TIA
Umberto