X

Developer Partner Community

  • October 25, 2014

Supercharge MAF development on Android by improving emulator performance by Jeevan Joseph

Juergen Kress
PaaS Partner Adoption

Introduction
Oracle Mobile Application Framework, MAF, leverages Java, HTML5 and JavaScript to deliver a complete MVC framework with declarative user interface definition, device features integration and built-in security. Oracle MAF provides a visual and declarative development experience and maximizes code reuse resulting in faster development of mobile applications. To get started with Oracle MAF development, the android emulator offers one of the easiest and quickest ways to build and test your apps.

The emulator effectively eliminates the entry barrier of having specialized hardware or devices and enables anyone with a development workstation to develop, debug and test mobile applications on Android. The emulator however, is generally too slow for developing applications efficiently. Developers, especially web developers, who are used to the fast and responsive development and immediate feedback cycles of web development might be put off by the sluggish nature of the emulator. This article explains how you can achieve native performance on an android emulator, giving MAF development on the android emulator the same productivity as with hardware devices and other platforms while keeping the entry barrier low.

Main Article
This article explains how to setup the HAXM emulator accelerator to speed up the android emulator and thereby improving the MAF development experience on the Android emulator. An Android virtual device (AVD) emulates the entire device right down the last detail. By default the Android emulator models an ARM processor and it does this right down to the register level. Emulating an entire processor’s operations using only software is a demanding task and this is why the android emulator is slower than an actual device based on an ARM processor design. As an alternative, Intel provides an x86 based Android system Image as part of the android SDK. This system image can leverage the Intel HAXM virtualization engine when running on Intel processors to speed up the emulator. Intel HAXM is a hardware assisted hypervisor that makes application development on Android platform faster and more efficient. To use HAXM, your development workstation needs to be using an Intel processor that supports VT-x technology. You also need to create an Android virtual device based on the x86 Atom System Image provided by Intel (You can download this from within the Andoid SDK manager). Read the complete article here.

WebLogic Partner Community

For regular information become a member in the WebLogic Partner Community please visit: http://www.oracle.com/partners/goto/wls-emea ( OPN account required). If you need support with your account please contact the Oracle Partner Business Center.

Blog Twitter LinkedIn Mix Forum Wiki

Be the first to comment

Comments ( 0 )
Please enter your name.Please provide a valid email address.Please enter a comment.CAPTCHA challenge response provided was incorrect. Please try again.