Creating Emulators for the current Android phones - android

As I do not have the money to buy all the Android phones, is there a resource somewhere or can somebody suggest the settings that would best emulate the Nexus, Motrola Droid and HTC Magic etc. Some users are reporting problems with my app and I am thinking it may be due to the screen sizes.
thanks

These are the settings I use:
Nexus One - Target: Android 2.1 - Skin: WVGA800
Droid - Target: Android 2.0 - Skin: WVGA854
Hero - Target: Android 1.6 - Skin: HVGA
You're not going to get an exact match for the physical devices in the Emulator, but the screen sizes are correct.
Also, due to firmware updates some of these phones can have different firmware levels on. For example, a Droid could be on 2.0 or 2.0.1. The levels above are based on the lowest level each phone could be running.

This earlier question is relevant, but does not directly list configurations you can use.

Related

testing UI for android app

I have an application which now is on google play. Ther developement and testing have been made on a Samsung Galaxy 9100.
Now I'll like to test my application on some virtual devices, but i didn;t find any article about whoch are the common displays between android phones.
Can you tell me which resolutions need the virtual devices to have? Can you point me to a blog, tutorial, article about this topic?
Support Multiple Screen is very useful, please read it first. but if you want short answer
set AVD setting for most compatible low resolution smartphones 240x320
Target: Android 2.1 - API Level 7
Skin: QVGA
Hardware: Abstracted LCD density 120
set AVD setting for medium resolution smartphones 320x480
Target: Android 2.1 - API Level 7
Skin: HVGA
Hardware: Abstracted LCD density 160
set AVD setting for high resolution smartphones 480x800
Target: Android 2.1 - API Level 7
Skin: WVGA800
Hardware: Abstracted LCD density 240
set AVD setting for medium dpi resolution for tablets! ( smartphone! ) like galaxy tab 7
Target: Android 2.1 - API Level 7
Skin: WVGA854
Hardware: Abstracted LCD density 160
set AVD setting for high resolution tablets
Target: Android 3.0 - API Level 11
Skin: WXGA
Hardware: Abstracted LCD density 160
there are many web services which provide access to virtual android devices you can test your app on
http://www.perfectomobile.com/portal/cms/android.html
http://www.deviceready.com/
https://www.lesspainful.com/
http://www.youwave.com/
also there is android for x86 and many other web platforms which you can test your app on.
Samsung also have an interface where you can test your app on.
In case if you want to create several AVDs and test your app locally, Google provide an official dev guide Supporting Multiple Screens. Worth to read through if you have not done yet.
Consider having a good read on this official dedicated page for this topic:
http://developer.android.com/tools/testing/testing_ui.html

HTC Desire HD & Android SDK

Does anyone have the HTC Desire HD setup in their SDK? if so could you please tell me what settings you picked to configure the AVD.
I have a website that renders properly on all android devices besides this one, so testing it is imperative !
Thank You
I have 2 configurations,
Android 2.2 API 8 skin WVGA800 240 density
Android 2.3.3 API 10 same skin and density
The only one that I use at the moment, is the 2nd because of the official gingerbread on DHD.
The only setting which should affect the rendering of the site is the resolution. The Desire uses a 800x480 (WVGA) resolution screen.

Where can I get a emulator image or binary info of NexusS?

I want to test some apps on Nexus S devices,
can I access the devices remote or get some emulator image for it?
for the GALAXY Tab, I could get it at http://innovator.samsungmobile.com/galaxyTab.do , but seems neither Samsung nor Google provides the actual info on Nexus S
The Nexus S is pure Android. You shouldn't need a special emulator for it, just use the standard emulator with SDK set to 2.3. You can get all the details you need from the tech specs.
Depending on what your app cares about, you probably just need to set the screen size appropriately: 4.0" WVGA (480x800)
You can always create your own AVD just like you did for the Galaxy Tab. Galaxy Tab had a special AVD because of its huge size.
These are the nexus S specs. The Android version can be controlled by setting the minimum s/w version and api level.
In eclipse use this to create a new Virtual Device that has the same specs of Nexus S:
Window > AVD Manager

Can I develop for Android Tablets without an actual tablet device?

I bought the Augen Gentouch78 to start dabbing in development for Android tablets, but this device is gravely excruciating to use (and I'm returning it). Is there a way to configure the emulator to tablet specs (namely Samsung Galaxy Tab)??
You could create an AVD with similar hardware and Android 2.2. The main difference is the resolution (which is 600x1024), so you can try configuring your AVD this way:
Just keep in mind the AVD limitations; for instance, they don't support multitouch.
Install the GALAXY Tab addon by Samsung, it adds a API-8 Galaxy Tab target to the options list in the AVD creation screen.
The Honeycomb tablet require a API level 11 or 12 on WXGA skin.

Zoom controls on emulator running Android 1.6 with QVGA

I'm testing my app on different AVD setups in the emulator and ran into problems with zoom controls in MapView on Android 1.6 using QVGA resolution only (lcd.density=120).
When tapping on the screen so the zoom controls are displayed, the zoom in/plus sign is displayed much larger than zoom out, which seem to have the correct resolution.
I've tested different combination of Android versions and resolutions but only 1.6 with QVGA resolution seem to be having this issue. I've searched on Google but only found two Tattoo user reporting the same problems on their phones that seem to use QVGA.
Is this a known issue with the emulator only or is it still an issue on real phones? Why I want to support 1.6 is because SE X10-Mini has gained huge success here in Sweden and this phone run exactly 1.6 with QVGA until SE finally upgrade the phone.

Categories

Resources