Android Emulator
By: Ashley Printer Friendly Format
The difference between Emulator and Simulator
A simulator represents the real world object. It does the act of imitating the process by giving false appearance. It is able to achieve this by using mathematical models and computer programs such as FlightSim, NS2.
An emulator performs exactly the same way as real. Example emulators are Xen, Qemu, VirtualBox, Wine.
What is QEMU?
QEMU is an Open source process emulator. It does CPU emulation of IA-32, x86-64, PPC, ARM, MIPS and SPARC. It emulates the full system. Able to run unmodified guest OS. Also able to run programs which are compiled for different architecture. Supported devices are HDD(COW), CDD, NIC, Sound, USB, SMB server, port redirection etc.
Android Emulator is based on QEMU emulator designed for virtual ARMv5 CPU with MMU. It has a 16bit LCD, a keyboard, Sound IO, flash memory partition (file image) and a GSM modem with simulated SIM. It runs full stack (kernel to Apps). It does dynamic binary translation from ARMv5 to x86.
Android Emulator is part of Android SDK. So you don't have to download it seperately. It can be used for application development to do prototypes, develop and test without the physical device. It supports AVD (Android Virtual Device) to emulate different hardware configurations, different software features and different skins. Regular keyboard and mouse can be used.
While running an android application on an Android emulator, application can use services, invoke other applications, access the network, play audio and video files, store and retrieve data, notify user, render graphical transitions and set different themes.
Android emulator also has debugging support for the following:
- Log Kernel Output
- Log Application output
- Simulate application interrupts (SMS/Call arrival)
- Simulate latency effects
- simulate data loss
ADB is the Android Debugging Bridge which handles emulator as a real device and can handle multiple devices.
Starting android emulator
- $android (Start the AVD Manager)
- $emulator -avd <avd-name>
- You can also start it from eclipse by running your application.
Comment on this tutorial
- Data Science
- Android
- AJAX
- ASP.net
- C
- C++
- C#
- Cocoa
- Cloud Computing
- HTML5
- Java
- Javascript
- JSF
- JSP
- J2ME
- Java Beans
- EJB
- JDBC
- Linux
- Mac OS X
- iPhone
- MySQL
- Office 365
- Perl
- PHP
- Python
- Ruby
- VB.net
- Hibernate
- Struts
- SAP
- Trends
- Tech Reviews
- WebServices
- XML
- Certification
- Interview
categories
Subscribe to Tutorials
Related Tutorials
Solution to error: unable to open connection to server due to security error
Android Preferences - Using Preferences in Android Tutorial
Android Send SMS and Make a phone call in Android Application
Intent in Android to call one activity from another activity.
Animation sample program in Android
Another Animation sample program in Android
ArrayAdapter sample program in Android
Spinner sample program in Android
GridView sample program in Android
Gallery sample program in Android
Date and Time sample program in Android
Progress bar and downloading a file sample program in Android