Android autoupdate from own server

15,879

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).

Share:
15,879
meklod400
Author by

meklod400

Updated on June 07, 2022

Comments

  • meklod400
    meklod400 almost 2 years

    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