I have a publicated app in Google Play for a year now.
A bug has been spotted, some of the layouts are showing not so well in really large screens like Samsung Galaxy S5's (1080x1920)
I tried to make an emulator with this screen size but my computer just loaded and loaded (black screen on emulator) and hours later nothing really happened.
(Pc: i7, 4GB RAM)
Could anybody suggest me a way to emulate a screen size like this?
Sadly, i cannot have a real device like that.
Related
I am having a bit of difficulty with regards to getting the "Preview" of an xml layout to accurately reflect what will show on my galaxy S5. I use genymotion to run the applications (Which is accurate) but I would like to have an AVD of the an S5 so I can see the changes made in real time while I code. I have created a hardware profile using the Galaxy S5 specs (Screen size 1080x1920). The real-time preview still appears different to the Genymotion and actual S5 screen after run-time. Can anyone guess why?
I created custom device with configuration- screen size 5.3 inch and 900x1480 resolution.
Then i created AVD with different OS versions, but emulator never launches. It shows up emulator screen but all the time there is only black screen, not even showing "Android". In DDMS LogCat there are going on some actions but for me it looked like its one big loop repeating.
Also i tried to emulate HTC One (normal-xxhdpi) but there is same problem. In this case it may be there isnt updates made to support xxhdpi.
that happen to me if i set more than 786MB in RAM you should use 512 MB and the emulator will launch
Try selecting "Use Host GPU" in the virtual device settings.
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.
I'm working on my first android game. It involves drawing lines, bitmaps, rectangles, and text to a canvas. On my phone (HTC G2), I get 58-60fps constantly. I had 3 Galaxy Nexus users try the app. One reported 55-60fps and the other two only saw about 30fps.
My question is: What could cause such a huge difference in framerate, especially when the Nexus is a fast phone? Toggling "Force GPU Rendering" did nothing. Also, I don't think the high resolution is to blame because the app runs at a smooth 60fps on my tablet.
I'm trying to setup an AVD with Full-Screen resolution (1920x1080), but I only have a blank screen when I start it. I tried to increase the RAM size to 2048 Mb (2Gb) without success.
1280x720 Works fine. Is this the biggest resolution for an AVD device?
Thank you in advance.
I can't get it working either, so my guess is that it's not currently supported. Shame, as we'll soon start seeing devices with full HD resolution screens.
Edit: With r19 of the Android SDK, it seems to be working now. But it's very buggy and crashed on me after some time. It requires GPU emulation as well.