Creating Android Emulator using AVD Manager



Android Emulator is use to prototype,develop and test Android application. It gives the facility like actual device. If you don't have actual Android device to run your Apps don't worry. This guide will gives complete guide to creating Android Emulator and how to use it.

Before creating Android virtual device we have some consideration, because we are going to emulate real device.
  • Target device Android platform. That mean API level of your actual device
  • Screen size, resolution and density of device.
  • SD card size.( Be careful the size of SD card consume that much space in your PC. So give it size that is large enough to testing your app)
  • Hardware details
  Go through  following steps to setup Android Development Environment.

Step 1 : Run Android AVD Manager.

  1. First way of running AVD Manager is, go to Android SDK installation directory. then runSDK Manager.
  2. Second way of running AVD Manager is, Using Eclipse IDE click highlighted button in Eclipse toolbar. As  following figure. 
  3. Then you can see following Screen, that's is AVD and SDK Manager.

Then You can click on Virtual device item in left panel and then you can see created AVD on right panel

Step 2 : Creating new Android Emulator.
When you creating android virtual device you have to consider actual device. Because after you create apps you gonna install it on real device. Therefore virtual device should be same as actual device.So today I gonna create AVD to represent HTC Evo 4G. This is one of famous device in mobile market. To create that go though following steps
  1. First click New.. button in Android SDK and AVD Manager. 
  2. Then  Name AVD as : "HTCEvo4G"
  3. Select the Target Platform as : "Google API's API Level 7
  4. Type SD card size as : "24MB"
  5. Screen resolution detail as : "800x480"
  6. Edit Hardware property of Abstract LCD Density :"217"
  7. Add Hardware property for DPad Support : "No"
  8. Add Hardware property for Keyboard Support : "No"
  9. Add Hardware property for Track-ball Support : "No"
  10. You can see following panel after compete every thing 
  11. Then click Create AVD button. you can see your AVD detail panel like following panel
  12. Click OK button. 
  13. Now you successfully created HTC Evo 4G emulator.you can see your created AVD on Android SDK and AVD Manager.
  14.  To run your AVD select it and click Start.
  15.  Following screen shots shows your created AVD for HTC Evo 4G
  16. Home Screen(Landscape Mode)
    Google Map
    Massage Typing




Finally I have to say This Android simulator is closely like as HTC Evo 4G. But software side it has some different. But This can use to test your Android apps that are going to built for HTC Evo 4G.

Labels: , ,