Testing application on high density, large screen emulator - android

How can I test my app on high density, large screen emulator?
I'm asking about this specifically because it is not listed at "Table-3" in http://developer.android.com/guide/practices/screens_support.html...
Thanks.

Samsung released a Galaxy Tab AVD. You can dowload it from your Android AVD manager. It is not a Galaxy S but you will face some of the Samsung's specificities with it. I experienced that a week ago: a bug not reproduceable under HTC or Motorola was reported under Galaxy S - I could reproduce it with the Galaxy Tab.
The AVD system also allows you to change the size of the virtual device and to edit its abstracted density setting, so to emulate a large screen / high density.
By the way, the Galaxy S is a 4 in. / 480x800 (source: Samsung). This is not a large screen, is it?

Though its not listed, Galaxy S would surely come under a high density, large screen emulator. That should exactly work as you needed!

You can create custom AVD Emulator with whatever density and resolution you need.

Related

how to choose an android emulator that match real device

I have created an app that works on 10.1 inch tablet. Later I get a 7 inch one and that need some change to adjust for font size ( font as big as in a big screen and also a smaller screen). Now I get a RedMi note phone that is 5.5 inch. The app looks badly and needs big change of the UI screen. What are the best way to adjust for such changes in screen size and resolution?
Also, how should I create an emulator that meet the real device resolution and screen size? How should I pick when there are no one nexus device that match it completely?
Thanks
Please consider the layout, layout-large, layout-xlarge for making all screen compatibility application.
For example,
layout - Mobile screen
layout-large - Tablet below 7 inch
large-xlarge - Tablet above 7 inch
refer this link for more details http://developer.android.com/guide/practices/screens_support.html
For creating the new emulator device, Goto eclipse and
Window->Android virtual device manager->Device defination(tab)->Select device->Create device-> restart the eclipse
The you can see the created device.

Android custom resolution 1920x1200

I'm building an Android app for Asus Transformer Infinity Pad.
I do not work with the Emulator, but directly with the tablet.
I was working with the maximal possible resolution of 1280x800 (which I've selected from the editor menu) and it looks good both in Eclipse graphical editor and on the tablet itself.
Apparently, I've found that tablet's resolution is HD 1920x1200. As I want to get most of the tablet's resolution, I'd like to work with 1920x1200 both in editor and on tablet.
1. How do I set up a custom resolution of 1920x1200 in Eclipse Graphic Editor (not emulator)?
2. How do I tell the tablet itself to work with 1920x1200 resolution?
Thanks
=====================
OS: Android 4.2.2
SDK: API 17
Tablet: Asus Transformer Infinity Pad TF700T
1. How do I set up a custom resolution of 1900x1200 in Eclipse?
Possible Duplicate:
In Eclipse if you Select the Android SDK and AVD Manager in the Window drop down menu.
You should be able to change the screen size of your Android Virtual
Device (Emulator) there.
2. How do I tell the tablet itself to work with 1900x1200 resolution?
I assume you mean 1920x1200, but I am still not completely sure what you are asking here. The default resolution of the Asus Transformer Infinity Pad TF700T is 1920x1200.
If you did indeed mean 1900x1200, and you want to force the resolution of the TF700T to be 1900x1200 than I am afraid your out of luck. I don't think this is possible, and I don't really see why you want this.
There are a few apps available that can change your screen resolution, if your device is rooted, but I am not sure if the TF700T is supported. Apps such as this one.
Short answer: everything's fine, don't worry about it.
The tablet will pretty much always use the default/native/max resolution. If everything looks good, then don't worry about it. It is using the full resolution anyway. You can't change the graphical layout editor to use custom resolutions as far as I know, so you don't have much choice there (at least for now). It sounds like working with the 1280x800 config gets you close enough that it looks good both in the editor and on the device, so really you don't need to change anything, and there'd be little benefit anyway unless you have some really complex layouts that simply don't fit into the smaller resolution screen (which again, would only be in the editor, the device would use the full resolution).
How do I set up a custom resolution of 1900x1200 in Eclipse?
No need to set any resolution for your eclipse
work with your normal x-large mdpi resolution
let say
x-large-mdpi 1280 x 800 =1
x-large-hdpi 1920 x 1200 =1.5
x-large-xdpi 2560 x 1600 =2
so when you supply graphics for mdpi,hdpi,xhdpi that will work prefectly.
so let design with your normal resolution in your emulator 1280x800
2 How do I tell the tablet itself to work with 1900x1200 resolution?
Google recently released a Device Availability Dialog in the Developer Console that allows you to select the particular device to install. link here
How to restrict android app to specific device make?
if you want only for tablet support you can do like this
<supports-screens
android:smallScreens="false"
android:normalScreens="false"
android:largeScreens="false"
android:xlargeScreens="true"
android:anyDensity="false" />

What is a good set of device configurations to test Android app on an emulator?

Ideally I'd have a heap of physical devices to test on, but in reality I don't have access to devices with all the different characteristics.
I'm targeting Android 1.6-current (4.0.3 at the moment), primarily phones, but also want the app to be at least somewhat usable on tablets.
The configurations I've been usually testing with until now:
Android 1.6, 320x480 MDPI
Android 2.2, 480x800 HDPI
Android 4.0, 480x800 HDPI
(landscape and portrait, with and without network connection)
I'm thinking of a set of configurations that wouldn't be excessively large but still would give good coverage of various devices "out there". What Android emulator configurations would you suggest?
Update:
Based on the answers I added this configuration to the list:
240x320 LDPI (QVGA skin)
Important to note is that it has 3:4 aspect ratio, different from 3:5 that WVGA has. If layout is tuned to just barely fit in WVGA, scaling down to QVGA can reveal problems. Good idea to check!
Also, added simulated Galaxy Nexus. Just to realize from now on I'll need xhdpi graphics (blurry icons: not acceptable!):
720x1280, no hardware buttons (WXGA720 skin), no SD card
What about 240*320 ldpi ? like xperia mini, motorola, cliq
Well, I'd suggest you add LDPI configuration (which is QVGA - 320x240 and has 0.75 density) as far as there are a lot of devices with such screen resolution.

Changes to be done in Android application to put it in Galaxy tab

I have to put my Android application in a Galaxy tab. When I installed the app, the resolution of the UI of my application changed. But it's looking good in emulator and other Android 2.2 phones. But in Galaxy tab, the resolution is changed. Please help.
The Galaxy Tab has a pixel density of about 170. That isn't all that different from an mdpi device. (However, Android market apparently classifies it as an hdpi device.)
Are you sure that the problem is with the resolution? It's an extra large screen; perhaps that's causing problems?
I suggest getting device's (Samsung Galaxy Tab) height-width then optimise your resources according to them. Try to find out whether they lie in hdpi/mdpi or ldpi range
You may be required to use new set of graphics for them.

Using Android Emulator to emulate a phone with Droid spec

I am trying to use the android dev emualtor to create a virtual phone with the same spec as the droid.
I am using the WVGA 854 profile, High deinsity (240) and scaling the emulator screen to 3.7 inch on launch.
Problem is it seems to be emulating it like it has WVGA 854 resolution but with a medium or low density screen, as the icons are teeny tiny and the whole thing looks wrong.
Im sure the droid does have teeny tiny icons and apps, can anyone tell me where i am going wrong?
Thanks
Download the Skin for the Droid and install it into the sdk skins director.

Categories

Resources