Configuring a web space for Clients' self Update functionality
Motivation
MDA usually operates in closed enterprise networks without access to the internet, and often even without a market application like Google Play installed on the devices.
In order to still make it easy to install and update the application, it has the capability to update itself, using http
(s
) requests to retrieve updated MDA.apk
files.
Web space for APK files
The base URL configured for updates needs to point to some static webspace containg the preferred version of the MDA.apk.
For the MDA Client's self update function to work, the MDA.apk
file must be accessible by the mobile client devices without any authentication.
To protect our intelectual property, this webspace must not be accessible to the public!
We recommend to restrict access to the IP ranges assigned to the actual Android devices running the application.
MIME type hint
Some Webservers require the MIME type for .apk
files to be explicitly configured.
The correct MIME type is: application/vnd.android.package-archive
One Webserver known to need this is IIS, where it can be done in the web.config
file in the DocumentRoot or with the IIS manager. See http://www.iis.net/configreference/system.webserver/staticcontent/mimemap for details.
© 2013 ITEG IT-Engineers GmbH, Innsbruck, Austria