Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

Android autoupdate from own server

Ive been looking for a good example, how to update my own developed application. So, I have an installed apk on my device and when I started it I'd like to check if any updates are exist on my server. If it does, then download from the webserver and install it.

At first I have to check to my server if there are any updates. If it does then download and install it.

Which is the best way for that? And anybody could show me some tutorial or maybe example?

Thanks afurther to your answers

like image 858
meklod400 Avatar asked Jun 24 '13 11:06

meklod400


1 Answers

Check out this link. It uses a HTTP connection in an async task to download the APK file from an URL. When the download is finished it starts a new intend for showing/installing the APK (see this article).

like image 105
Matthias Avatar answered Nov 08 '22 17:11

Matthias