I need help in upgrading apk file. I have apk file developed for android 2.2 and I donot wish to publish my apk on android market. I published apk in our own webserver. And i could download it to my android mobile. Now the issue is that how can i upgrade apk file by publishing in our webserver.
My questions are:
-
How android market does apk upgrading?
-
How to upgrade a binary in android mobile with new version of which old version is already installed?
-
I used android built in view using intent which actually Re-installs apk not upgrading.But i don’t want prompts asking “Do u want to install application?”.
I want the apk to be upgraded once user click upgrade button without showing prompt to user, like doing in android market.
-
Is there any method to upgrade apk in android?
-
Are there any restrictions doing that?
-
Are there any specific permissions i need or i need to set in manifest file.
When you are publishing an App on your private web server, you need to create a process through which you can check for new version .There is No in built method for doing this .
I have created one as well.