Testing app on emulator for specific configuration - android

I am new to android development. There is one project that runs fine on 10.1 inch Samsung tablet but UI get distorted when run on Sony Xperia Z Tablet. I had created separate layout folder named layout-sw800dp-land for Sony Xperia Z Tablet (10.1 inch) and calculated smallest with the following method.
dp = px/(dpi/160)
=1200/(240/160)
=800
Specification for XperiaZ Tablet can be found on this link:-
http://www.gsmarena.com/sony_xperia_tablet_z_wi_fi-5326.php
Now i do not have access to device, so i need to test it on emulator but there is no emulator available for screen configuration 1200X1920.
How could i test code on emulator for some particular screen configuration?? Is there any way to create AVD with own device apart from default available devices??

The easiest way to get the right AVDs is to install the Sony developer SDK. See this:
http://developer.sonymobile.com/knowledge-base/sony-add-on-sdk/install-the-sony-add-on-sdk/install-detailed-instructions/#installdefinitions

The 'clone avd' option in avd manager allows you to create your own size and required avds.

Related

Which Android emulators to create to get a representative sample of different screen sizes?

I'm building a mobile app and want to test it on a variety of screen sizes while developing.
The app will be running on both Android and iOS, but my main dev machine is not a mac.
Which emulators should I create to get a representative sample of all different phone configurations, e.g small, medium, tablet, etc?
if you will open avd manager and tap on create virtual device, you will see all types of devices listed having difference density categories.. most devices are xxhdpi.. so you can choose xxhdpi device out if them.However, you ca choose other screen density device and test on them. if you wanna check touch responsiveness, emulators dont work well.

HTC ONE X (4.0.3)..Android Emulator

what is the correct emulator for the HTC ONE X (4.0.3)...
I create the emulator by giving its resolution for htc one x but its create some UI problem.
My emulator's resolution is 720*1280, screen sixe is 4.7 inches exactly with comapare to HTC ONE X...in my emulator there is no problem with UI, But in the real device its create some problem in UI.
. I Used same android version (android 4.0.3) in both emulator and real devices...I create the FOLDER for this is LAYOUT-NORMAL-XHDPI in RES folder.
Is that any ONLINE EMULATOR available for HTC ONE X...????
try layout-sw360dp
if you want to different layout for both landscape mode and portrait
mode, you can use
layout-sw360dp-port
layout-sw360dp-land

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.

How to get a 1024 x 600 Android emulator working?

I'm trying to emulate an Acer AOD250 that has a 1024x600 screen and comes with Android. If I create an AVD with default settings except for resolution of 1024x600 and SDK 3, the emulator does not start. The largest I can get working is 670x600. At larger resolutions, sometimes the emulator starts, but does not complete the boot. Is there a memory setting or something that I can change to allow the emulator to work on a screen this big?
Samsung release a plug-in for galaxy TAB !
screen resolution of 1024x600
http://innovator.samsungmobile.com/galaxyTab.do
You can run Android in a virtual machine (e.g.: Virtual Box) using a Android iso

Categories

Resources