How to develop cross-platform mobile apps on Linux

The last few years have witnessed dramatic growth of the mobile market, mostly driven by a large selection of applications. As consumers, we all hate to see some kind of market monopoly by any one platform. The more competition, the more innovation. As developers, we have mixed feelings about cross-platform development. Cross-platform development has several […]
Continue reading…

 

How to install and run Android x86 on VirtualBox

While the Android OS was originally developed for ARM processor architecture, there exists an Android port for x86 hardware platform, which is called Android-x86. You can run Android-x86 as a virtual machine (VM) using any x86-based hypervisor or QEMU hardware emulator. In this post, I will show you how to install and run the latest […]
Continue reading…

 

How to record screen activities on Android

Suppose you want to record and replay screen activities on Android device, as part of app demonstration or app review. While there are several Android apps that can record screen natively, they have a number of drawbacks, such as software bugs, device incompatibility, or root requirement etc. If you don’t mind connecting your Android device […]
Continue reading…

 

How to take a screenshot of video on Android

If you want to capture a screenshot on Android device, there are device-specific ways to grab a screenshot via built-in hardware buttons. For example, on HTC devices, you hold the “Power” button, and then press the “Home” button. On Samsung Charger, you hold the “Back” button, and then press the “Home” button. However, if you […]
Continue reading…

 

How to run Android emulator on Ubuntu or Debian

As the name implies, Android emulator enables you to test-run Android apps on non-Android devices or computers running the emulator. Here is guide on how to run Android emulator on Ubuntu or Debian. Android emulator comes with Android SDK, and therefore you need to install Android SDK. Follow the steps below to install Android SDK […]
Continue reading…

 

How to install and run Android VM on VMware Player

Android-x86 is a port of the Android OS for x86-based processor architecture. If you want to run Android OS on x86-based PC, netbook or laptop hardware, you can install Android-x86. In this guide, I will show you how to install and run Android-x86 as a VM on VMware Player. First, download an iso image of […]
Continue reading…

 

How to change camera resolution programmatically in Android

If you are building a custom Camera app on Android, the following is an Android code example that you may find useful. This code snippet allows you to change camera resolution programmatically. The code is applicable to Android API level 5 and higher. When you adjust camera resolution, you should first check available camera resolutions […]
Continue reading…

 

How to copy or transfer multiple files to Android devices

ADB (Android Debug Bridge) is a command-line utility that allows you to communicate with Android devices from your computer. Among other things, you can use ADB to copy file(s) to and from Android devices. As of this writing, ADB does not support wildcards to push or transfer multiple files (e.g., *.jpg) to Android devices. So […]
Continue reading…