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?
Related
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
I'm developing an app, which is reported to display wrong (have screenshot evidence) on Samsung Galaxy Note II (http://www.gsmarena.com/samsung_galaxy_note_ii_n7100-4854.php). I've tried to create virtual device with 720x1280 (5.5") display, but it just shows much larger emulated display on my PC (compared to Nexus 5.5 virtual device) and app elements are layed out correctly. Why I cant get same results as on real device? Or how do I do it?
The density of your computers screen does not match the density of a current phone. The emulated display size will always be bigger for such high resolution emulators. This should not be a problem as you already found out that the layout is working correctly.
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.
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.
Here you can see during the launch of Samsung Galaxy Nexus the presenter displays a live android screen. I have been searching far and wide for any software that can do the same.
I have seen apps like droid#screen but there is a huge lag while streaming the phone screen. While coming to hdpi devices the lag becomes huge and becomes a showstopper.
Is there any way I could attain the same quality and speed ?
Attach your Galaxy Nexus to an HDMI projector (or, for compatible hardware, use Miracast, a.k.a., Samsung AllShare).
Or, root your Galaxy Nexus and find some software that can work directly with the framebuffer for this.
Droid#Screen is as fast as you can get using semi-supported techniques.
If you do not have the cable, TeamViewer QuickSupport is also an alternative, just tried it on Samsung Galaxy S3 and works like charm.