How to Setup of AndroVM Emulator to speed-up the mobile development process.

I used Jdeveloper 11.1.2.4 to develop the application and ‘androVM_vbox86p_4.1.1_r6.1-20130222-gapps-houndini-flash’ (VM Image) to test the application. To use this VM Image, you need to install the Virtual Machine (I used version 4.2.16 r86992).

Installation

The AndroVM can be downloaded as an “OVA” file. Once dowloaded, you just have to import it in VirtualBox.

Please note AndroVM comes in 3 different versions :

  • vbox86p : Built for a “phone”, 480×800 default resolution
  • vbox86t : Built for a “tablet”, 1024×600 default resolution
  • vbox86tp : Built for a “tablet” with phone capabilities, 1024×600 default resolution
  • I will assume that you already have VirtualBox installed and working.

Network Adapter

  • To run with hardware acceleration, as for using the ADB with AndroVM, you’ll need an “Host Only” network adapter. To create one, open VirtualBox, get to the “File” menu, “Preferences…”, “Network”.

AndroVMSetup1

  • Don’t forget to enable DHCP Server for this network adapter.

AndroVMSetup2

Importing VM

Now, you can import the VM into VirtualBox. Just double-click on the OVA file, or use “File” menu, “Import Appliance”.
It can be a good idea to rename the VM into something more friendly.

AndroVMSetup3Setting-up VM

AndroVMSetup4By default, AndroVM has its first network adapter set to disable. Go to the VM network settings and set it to “Host Only Adapter”.

AndroVMSetup5

Then, start the VM. Now, you’ve got a fully functional software-rendered AndroVM. Now, open the AndroVM Config app, and check the box to enable hardware OpenGL.

AndroVMSetup6

To deploy the applications into AndroVM image from Jdeveloper, you need to configure the VM Image as provided the detailed steps below

AndroVMSetup7

Note: You can very well use the Android SDK too (http://developer.android.com/sdk/index.html), only issue I found with SDK is, it is very slow to deploy and to test the application. So I preferred the androVM.

Advertisements
This entry was posted in ADF Mobile and tagged , , , , . Bookmark the permalink.

Leave a Reply

Fill in your details below or click an icon to log in:

WordPress.com Logo

You are commenting using your WordPress.com account. Log Out / Change )

Twitter picture

You are commenting using your Twitter account. Log Out / Change )

Facebook photo

You are commenting using your Facebook account. Log Out / Change )

Google+ photo

You are commenting using your Google+ account. Log Out / Change )

Connecting to %s