I have this situation - PhoneGap application works in Android. It uses an external API on my server. Perhaps I changed the structure of the API, so I will need to upgrade my mobile application to a newer version. Is there an automatic or semi-automatic way, how can I force update the Phonegap application on an Android phone?
I can display a message to the user that the application is out of date, and he should go to the Android Market and update the application from there, but I'm looking for another convenient way to force this update.
EDIT - Question Specification:
I am not looking for a way to load an external script when the application starts. I am looking for a solution for PhoneGap-Android, how to trigger an application update.
source share