Rajkiran
Rajkiran

Reputation: 16191

Android How to check for app update when we don't have any server?

First of all I am sorry this is not exactly programming related question but want a solution.

I am designing an application which is not on Play Store and I don't even own a server. I want to check once a week for application update. If an update is available I want to show a dialog, on click of which, my app will download the new apk which is stored on say Dropbox.

So can I do that?

Upvotes: 2

Views: 226

Answers (2)

Yalla T.
Yalla T.

Reputation: 3727

Without your own Server it really is weird.

You either have to create a Dropbox Account for your App, and then use dropbox api to connect to that Account and check the Lastmodified Date of your apk uploaded there - or use a service + library like parse.com where you can send Message to all your App Users.

Upvotes: 0

alex
alex

Reputation: 6409

A simple way to do this would be to add a text file to Dropbox containing the versionCode of your new APK.

You can download that and compare it to the currently installed version.

PS Version details can be retrieved from PackageManager.

Upvotes: 5

Related Questions