HTC ONE X (4.0.3)..Android Emulator - android

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

Related

layout is different in real device

I'm developing android app that have few activities. I have Samsung S6 device in my hand, so I created the same device in the android studio emulator to make it easy. But the problem is when I install the APK in my physical device it's not showing the layout as the emulator device. I used the same screen size ( 5.1 ) & the same resolution of 1440 pixels by 2560 pixels when creating the emulator device. can someone please help me ?
I also uploaded 2 screen shots to better understanding.
In Emulator
In Real Device

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.

Testing app on emulator for specific configuration

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.

Android display differences between WXGA with Nexus 7

I have a Nexus 7 tablet which should have a resolution of 1280px by 800px (WXGA). I develop on Eclipse and my layout is set to display at WXGA. Then, I can place my button and object and choose their size according to what I see on the Eclipse display. The problem is that what I see in Eclipse is very different from the display on the tablet. Everything is much bigger on the tablet and it causes me a lot of troubles.
I wonder if someone have an idea about this?
Edit
For some reason it seems like the 7inch WSVGA is the exact replication of my Nexus 7 screen. It is strange since it offers only 964×544 pixels while the Nexus 7 should give 1280x800
WXGA means nothing by itself. You should look at the density too. Nexus 7 is 213dpi (tvdpi) while a Galaxy Nexus is the same res but 240dpi (hdpi).
You should try to detect the screen size that the Android device has and then run code to re-position screen elements accordingly
In Unity scripting you would get the vars Screen.Width and Screen.Height , I'm not sure what the vars are called in normal android , but you would then set your screen elements to react to what ever size the screen it .

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