Android

Android, httpd, Mobile, nginx, Web Server

How to set Android *.apk mime-type for Nginx web server

Here’s a simple guide on how to add the correct mime-type for Android APK file for Nginx webserver. sudo nano /etc/nginx/mime.types In “mime.types” file, add this line within the “types” block types { … … application/vnd.android.package-archive apk; … … } Restart nginx server sudo service nginx restart Done!

Android, Computers, GNU/Linux, Mobile, Open Source, PHP

How to convert between sqlite2 and sqlite3 database

Here’s a short guide on how to convert between sqlite2 to sqlite3 database file: sqlite2 /path/to/mysqlite2.db .dump > backupfile sqlite3 /path/to/mynewsqlite3.db < backupfile Using the same method, you can convert sqlite3 db to sqlite2 db too! p/s: Why you need to convert? because embedded device (read: iPhone and Android) only supports sqlite3 database, while PHP […]

Android, GNU/Linux, Mobile, Ubuntu/Debian

My new Android app development machine – running on Ubuntu Precise

I always wanted a smooth development machine which can run multiple virtual machine (VM) at once, which is a must when testing app that is meant to be portable across different platform. So just before Ramadhan (in July), I bought 8GB RAM and 1TB hdd from a local pc shop and proceed to set-up my […]

Android, Computers, Mobile, Server

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 […]

Scroll to Top