Configuring Auto Update

By using the GLX Application Framework to build your application you automatically get auto update capabilities. This lesson will explain how to configure the auto update url so you can call glxapp_updateIfAvailable from your application.

Set the Base Auto Update URL

The first step is using the auto updater is to configure the base url (1). This is a http:// url that points to the folder where you will upload the auto update files produced with the GLX Application Packager.

The base url works in conjunction with build profiles (2). When you check for updates using glxapp_updateIfAvailable the framework combines the base url and the build profile used to package the application to locate an update.txt file.

If you set the Base Auto Update URL to http://www.myserver.com/auto_update then you would create folders within the auto_update folder for each build profile you will provide auto updates for. You would also upload the updater.gz file (the compressed version of glxappUpdater.rev) to the folder.

You can now upload auto updates to these folders.

Previous Lesson: Creating Advanced File Type Filters Table of Contents Next Lesson: What is the Application Stack?