How to set the correct Android *.apk MIME Type for Apache Webserver

Android application uses *.apk file as its installation package. It is a variant of the Java JAR file format (which in turn a Zip 2.0 file). Usually the *.apk file is obtained from Android Marketplace, the official channel for getting Android application. However there are some vendors or carriers that allow *.apk file to be downloaded from 3rd-party websites.

Those who elect to upload the *.apk files on their own webserver can add the official Android APK MIME Type to their Apache Web server config file:

Option 1: edit mime.types (for those who have root access)
1. First edit the mime.types file – sudo nano /etc/apache2/mime.types
2. Then add this at the end of the file – application/vnd.android.package-archive
3. Reload the server configuration – “sudo service apache2 reload”
Option 2: edit .htaccess file (for shared server or user who do not have root access)
1. Edit .htaccess
2. Add this line – AddType application/vnd.android.package-archive

This will register the appropriate MIME type for the *.apk file so that both the server and mobile application can handle.

Ubuntu One Files client for Android phones

Ubuntu One Files for Android is an application written by Micha? Karnicki as part of Google Summer of Code Project (GSoC) 2010. The client is licensed under the GNU Affero GPL v3 and its source code is available from Launchpad.

Google Android Ubuntu One files

The application lets you synchronize your phone contacts, files and photo gallery on the cloud automatically. Ubuntu One files also offers convenient feature to change the visibility of your files, making it easier for you to share files with the rest of the world.

Ubuntu One Files is also available on the Android Market, free of charge.

Note: Ubuntu One is a service similar to Box.net that enables you to store your files on the cloud. You do not need to be an Ubuntu user to use Ubuntu One. Each registered user are given 2GB space for free.

My experience with AMD decTOP computer running on Android

I’ve the opportunity to test out a decTOP computer at my workplace today. decTOP was originally produced as a low-cost computer to allow people from emerging countries to access the internet.

Originally, decTOP (formerly PIC) was shipped with Microsoft Windows CE and Internet Explorer 6.0, but recent release changes the BIOS behavior of decTOP, that’s allow it to boot from USB devices (flash drive and external DVD-drive).

This has led me to do few experiments with the decTOP computer. I’ve tried installing it with Ubuntu, then Windows XP, and finally Android.

and I found Android runs nicely on the decTOP without any modifications. The downside is, that currently only Android 1.6 is available for installing on x86 machine.

What happened to Ubuntu?
Apparently I ran into some difficulties in installing Ubuntu on decTOP. With LiveCD image, it is obvious that the 128MB SODIMM ram is not enough to load the desktop interface, let alone installing it. I tried the server edition and it succeeds, but the point is to run a usable Linux desktop out from decTOP machine, and I think Android do shine in this area.

Android drawback?
One drawback though, Android won’t let you save the downloaded *.apk on the remaining harddisk space, you got to use USB stick for that.

android on dectop

Mozilla Fennec 1.9.2 builds for Android

Mozilla Fennec, a Gecko-based mobile browser from Mozilla is now available for Android, where you can download the latest build from the trunk from : Mozilla-Central trunk Android/.

Be careful as the code can be considered still in the alpha-stage, where memory leaks are bound to happen alongside with occasional buggy browsing experience.

It requires Android 2.0 and was only tested on Motorola Droid and Nexus One. The application must also be installed on the device’s internal memory (not on SD card).