Hi there,
I registered to this forums because I can not find some information at Android Developer or StackOverFlow.
I would not like to publish my application on Android Market, but make it downloadable/updateable from my own server.
I do use some databases which should not get deleted and the shared preferences should net get deleted, too.
The user should be able to click on an "update" button, the new .apk file is than downloaded and overwrites the old .apk, without overwriting user settings and databases, is that possible?
Is it necessary to uninstall the existing app and install the new one or is there a possibility to "refresh" the old one without removing it?
It would be a bit complicated to copy all the preferences and databases to the SD Card and copy it back after the new application is installed (maybe the sd is mounted so there would be no way to cache this files).
How does the Android Market solve this problem?
Maybe someone can give me some information about that, or some links I could not find right now ...

I registered to this forums because I can not find some information at Android Developer or StackOverFlow.
I would not like to publish my application on Android Market, but make it downloadable/updateable from my own server.
I do use some databases which should not get deleted and the shared preferences should net get deleted, too.
The user should be able to click on an "update" button, the new .apk file is than downloaded and overwrites the old .apk, without overwriting user settings and databases, is that possible?
Is it necessary to uninstall the existing app and install the new one or is there a possibility to "refresh" the old one without removing it?
It would be a bit complicated to copy all the preferences and databases to the SD Card and copy it back after the new application is installed (maybe the sd is mounted so there would be no way to cache this files).
How does the Android Market solve this problem?
Maybe someone can give me some information about that, or some links I could not find right now ...
