Game Server Auto Update

SteamCMD Update Tool is a new method of updating game servers under Steam. All games are gradually switching to this method. All games are gradually switching to this method. “There is some misunderstanding of the new steamcmd update tool happening here, let me just clear things up. Advanced grammar in use with answers martin hewings pdf merger.

Active1 year, 11 months ago

I'm developing a non-public Android app, i.e. the app won't be available in the global Android Market. The app will be installed on a limited number of clients, e.g. by using an apk file.How can I enable an auto-update functionality in this app?

I see different potential options (I do not know if those are technically hard or even impossible to implement or if there are any existing functionalities that can be reused):

  • On each launch the app tests if a new version exists (by requesting a server), if so downloads the new apk and replaces itself with the new version.
  • Use (or develop?) a separated app or service that undertakes the update-check and replacement-process.
  • Use (or develop?) a private market app which has an auto-update option. This option is similar to the second one, but more generic: The market app would be connected to a repository, i.e. it would handle an arbitrary number of (private) apps.

Game Server Auto Update Download

I would prefer option one since the auto-update functionality is included in the app which needs less development efforts.

Richard Russell
5891 gold badge6 silver badges19 bronze badges
janjonasjanjonas
1,7482 gold badges18 silver badges25 bronze badges

6 Answers

janjonas, in the company I work we had a similar problem with Windows Mobile 6.x, and we use pretty much the same solution pointed by EboMike:

The main app check if it's updated, against a WebService. It receives the current version & the URL from where download the new version, if necessary. The main app then start the Updater app, passing the URL, and quit.

The Updater do the download of the new program, via HTTP, showing to the user the % downloaded. The user can cancel the download anytime, in a controlled way, and the Updater can registry this cancellation.

Game Server Auto Updates

Since the new app is downloaded, the Updater run the new app, and quit.

tcbraziltcbrazil

I think option one is the least amount of work for you, and actually the cleanest one too since it will go through the proper channel of using Android's built-in package installer which includes user notification and the option for the user to abort the installation if desired.

You already have it all outlined - check for a new version on a server (would be nice to give the user the option to turn that off), and if there is a new version, you could either just link to the URL with the APK (which will, IIRC, use the browser's download manager to download it), or you could download it with your app and then point the intent to your local file. Using the HTTP link is technically less work and cleaner - the more you let the operating system do, the better - unless there's a reason not to.

EboMikeEboMike
67k14 gold badges144 silver badges149 bronze badges

Enabling 'Install non-market app' is still needed for any application outside the Google Play. If it not enabled, the installation process is going to ask for it and redirect the user to the Application Settings, and after that, the user can install the app.

Eight days game pc download. Laptoppcapk.com is an apps and games portal that covers different Apps and PC Games for Windows 10,8,7,XP,Vista OS,Mac OS, Chrome OS or even Ubuntu OS.Download and play these top free PC Games,Laptop Games,Desktop Games.Our games or apps are licensed Full Version for PC.You can download apps or games for Windows 10, Windows 8, Windows 7, Windows Vista, and Windows XP.This is one of the best places on the Web to play new PC/Laptop games or apps for free in 2017!To download these games,software or apps,you need to download the best android emulator:XePlayer first.

Depending on your needs, you can delegate to a third part lib.

Matt
64.5k18 gold badges123 silver badges166 bronze badges
CelinHCCelinHC
1,0001 gold badge19 silver badges30 bronze badges

Some of the permissions we'll use to get this done are the following:

How To Disable Windows Auto Update

Let me explain a bit.. The last, WRITE_EXTERNAL_STORAGE, is self-explanatory. With ACCESS_SUPERUSER we'll tell the system that we intend to use root privileges. READ_EXTERNAL_STORAGE will be needed in the future in order for your app to read files on SD card.

Assuming that you have downloaded the file and that all those devices can be rooted (limited number of clients, not on Play, etc.), you could do this:

Nikola TulimirovicNikola Tulimirovic

Here might be a very lame method but for some companies, if you believe its applicable, this might be very easy to implement.

  • Create an password screen (passwordActivity) that asks a password to access the application.
  • Once the password is entered, raise a flag (set a boolean value from false to true using sharedpreferences)
  • Place the .apk file on Google Store.
  • Change the password once everyone installs the app, and release a new update on Google Play Store.

Since the software is going to cache the flag value, the password screen won`t show up even the password is change. It will only show up for new installations so might need to repeat the process.

Note: This method might better fit if there is not hundreds of users using the application. And don`t forget this method is also not secure. To sum up, if you are looking a way to keep the application private and have no security concerns, this is what I recommend.

Game Server Auto Update00140014
4872 gold badges9 silver badges29 bronze badges

Update appMake sure that you already have your new apk download on location

wizmeaaaawizmeaaaa

Game Server Auto Update 2017

Not the answer you're looking for? Browse other questions tagged androidgoogle-playauto-update or ask your own question.