I would like to emulate an XXHDPI device in Eclipse. I've updated everything via the SDK manager but there doesn't seem to be the tools available to do this.
Has anyone managed this, or do I need to wait for a further release?
Go to Window --> Android Virtual Device Manager --> Device Definitions --> New...
There you can create a new standard device, which you could per example call Nexus 10.
The size would be xlarge and density xxhdpi.
The screen size (in) 10 inch, and the resolution 2560x1600
Just play around with the rest for a bit, but they shouldn't matter to much for simply emulating the screen itself.
*forgot to put Camera's correctly, but you get the idea.
Related
I have install flutter and android studio and setup as usual in new laptop running windows 11 pro. But when I start emulator its fonts are not clear, blurred. I tried switching emulated performance from hardware to software, but not works, is any one facing this issue.
My monitor display resolution 1366 * 768 Scale 100%
I used pixel emulator with 1080* 1920 resolution
and Pixel 3a with 1080*2220 resolution
same problem exist with both emulators.
Actually I don't think there would be a solution for that.
Because this problem is related to down scaling emulator window too much.
But you can do one of these:
1- create a new emulator and use a smaller screen size (around 720p). the downside is that you can not create emulator with Google play system images, as they need 1080p phone screen size. you can still use Google Apis images.
2- use a monitor with at least 1080p resolution.
3- use third party emulators like Memu. you can choose any screen resolution in these emulators, and they come with google play. also their performance is much better than Android studio native emulator.
4- use a physical Android phone.
I'm making an app using Android Studio as my IDE and Genymotion as my emulator and I see a difference between the preview of Android Studio and the real output of Genymotion but I wonder which one trust.
Both of them are using a 768 x 1280 phone but it seems the one in Genymotion is bigger.
Your dpi settings in both are different.
Android Studio is xhdpi. Genymotion is 160 dpi which mdpi (default). In order to properly compare, you'll have to set both the same pixel density and screen resolution.
This is quite hard to answer, but from my experience, the default (i never use Genymotion) emulator is better than the Android Studio's (sometimes i got lazy to use the real device). To cross-check things, you may want to try to run your apps on the default emulator and see the result.
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" />
I am working on an android Audio Recording application, our app is currently designed to work on all android phones, the Nexus 7 and the Motorola Xoom tablets.
I was wondering if there are any guidelines or best practices to re-design/modify our app for Nexus 10. More specifically, any pointers on the below points would be really helpful:
UI guidelines to support the new 2560x1600 resolution
Android resource files related modifications (based on similar guidelines)
Any sample or open sources apps that have been modified to work on the nexus 10
Best practices creating and running a nexus 10 emulator since there is no such AVD device by default (screenshot below). Any thoughts on creating one, keeping the high resolution in mind.
As long as you have xhdpi assets, and layouts made for 10" tablets, you shouldn't have to do anything (except add a new xxhdpi launcher icon, as #Mattias mentioned).
To make a Nexus 10 AVD, navigate to Device Definitions:
Then, click New Device. Fill it out something like this:
Now it will be listed in the devices drop-down that you show above.
Regarding your second point, resources:
While the nexus 10 is a xhdpi device, it will use the launcher icon from xxhdpi "one bucket up" if available, so make sure to provide one as it will look much better/clearer/sharper. Reason is that there is room for a bigger icon on this device. Launcher icon size at xxhdpi is 144x144 pixels.
For reference see:
https://plus.google.com/118292708268361843293/posts/ePQya3KsTjW
The best way to emulate the Nexus 10 is to use AndroVM. I am currently running Android on it with the full Nexus 10 2560x1600 resolution and it fits onto my HD screen if I set AndroVM to use 320dpi.
Oh.. and it's VERY fast :-)
I personally use it over emulators and real hardware devices as it's extremely responsive and the deployment of the APK is lightning fast.
I do not contribute to the AndroVM project myself by the way, but it has speeded up my own development cycle considerably. In all development cycles, a developer waiting to see if their code tweaks work using an emulator or a hardware device adds considerable time overhead. I would thoroughly recommend using AndroVM regardless of screen size during normal code development.
Can anybody please tell what are the correct settings for emulating extra large resolution devices in Android? I want to create this AVD for 720 x 960 resolution. What other settings like abstract lcd density and other such settings needs to be applied?
In AVD Manager, you can create XLarge Screens like SAMSUNG Galaxy Tab and many devices listed if u have downloaded them through SDK Manager of Android. If the devices are not listed while creating AVD, try to update run SDK Manager once and install them.
You should understand about dp in android to set abstract screen density. You can read here for more http://developer.android.com/guide/practices/screens_support.html