I have this situation - PhoneGap app running in Android. It uses external API on my server. It might happen that I will change API structure so I will need to perform update of my mobile app to a newer version. Is there some automatic or half-automatic way how can I force update of the Phonegap app on the Android phone ?
I can display message to the user, that the app is outdated and he should go to Android Market and update the app from there, but I am looking for some more comfortable way how to force this update.
EDIT - Question specification:
I am not looking for a way how to load external script on application startup. I am looking for PhoneGap-Android-specific solution how to invoke application update.