Android APK auto updater client
Switch branches/tags
Nothing to show
Latest commit d28cc78 May 2, 2014 Guillaume Bourel Add manual fallback


Android APK auto updater client

This project allows to automatically update a running APK application using a private update server (see apk-updater) instead of Google Play updater.

Fork of lenik.terenin's auto-update client for server agnostic usage.



Since you don't put your software on Android Market, you have to enable "Unknown Sources (Allow installation of non-Market applications)" in Settings :: Applications. Otherwise you won't be able to install your software or updates.

#### Permissions The following permissions are needed in Android Manifest:

  • android:name="android.permission.INTERNET"
  • android:name="android.permission.ACCESS_NETWORK_STATE"
  • android:name="android.permission.ACCESS_WIFI_STATE"

Start updater client

The updater client typically starts during application initialization, simply by creating a new instance.

AutoUpdateApk aua = new AutoUpdateApk(getApplicationContext(), UPDATE_URL);

where UPDATE_URL is your update server URL, eg.

public final static String UPDATE_URL = "";


Updater configuration may be any time after its creation.

// auto update every day
aua.setUpdateInterval(AutoUpdateApk.DAYS * 1);