I have created an galaxy s4 emulator using this post how to open galaxy S4 emulator
but my problem is when I tried to run this emulator it takes very long time and at last it said time is out. My ram is 6GM. And I created emulator by providing 800MB ram. And my laptop screen resolution is HD.
How to resolve my problem immediately because I have to test my app in galaxy s4.
I got it working with the settings the other link holds (How to test android app in Galaxy S4 configuration using emulator?) and "Target Google APIs (Google Inc.) - API Level 17" and also I let the Emulator help by my GPU "Emulator Options: Use Host GPU".
Hope you folks get it working to :)
Samsung has not released Add-on for galaxy s4.
But we have an alternatives for the Same Configurations.
Actual:Samsung S4 (1080 x 1920 pixels, 5.0 inches (~441 ppi pixel density))
Alternative:Sony Xperia Z (1080 x 1920 pixels, 5.0 inches (~441 ppi pixel density))
Both are using Drawable-xxhdpi resource folder.
To configure Sony Xperia Z:
http://developer.sonymobile.com/knowledge-base/sdks/sony-add-on-sdk/install-the-sony-add-on-sdk/
Testing on Sony Xperia Z emulator,will effect the same result in Samsung galaxy s4.
Emulators are slow. No matter what configuration you have. So testing in emulator doesn't mean it'll give you same behaviour in the real device.
Unless samsung decided to do so, it won't be available with Android SDK as predefined config. You may need to manually set the configurations (which is what you have done). Even then the OS gonna run in S4 is customised by Samsung yet again as I said earlier you won't get it with your SDK package.
Related
I create a new hardware profile in an attempt to make and emulator for the Galaxy S8/S8+. I set the screen size to 5.8/6.2 inches (depending on whether S8 or S8+, despite the fact this doesn't appear to affect emulator anyway), and the screen resolution to 1440 x 2960, like the device. The emulator appears nothing like it does on the real device. Testing my app on a real S8+ shows it to be laid out poorly, but on the emulator it appear to be relatively organised, and I noticed it uses the dimens for my Nexus 6 emulator (xxxhdpi). Now the dimens values used isn't a big deal, because I'm happy to phase out the Nexus 6 considering it's no longer in production.
So I add some code to my launcher Java class that that gets me the dimensions of the emulator, here is what I get from my S8 emulator: {density=3.5, width=1440, height=2792, scaledDensity=3.5, xdpi=560.0, ydpi=560.0}
Besides the fact the height says 2792 instead of 2960 (I assume this is meant to happen), I believe I see the issue - the density is 3.5. As suspected, this is the same density as the Nexus 6. So the emulator I'm creating is not for the Galaxy S8, and this is evident in my comparison to a real S8+ which displayed my app in a distorted manner. As far as I'm aware, the Galaxy S8 has a density of 4, not 3.5. The IDE says the device has 560dpi. Now I need to be able to create an emulator with a density of 4, and the same specs I've already put down. How can I do this? How can I test for the Galaxy S8 without using the real thing? There isn't a preconfigured emulator for this device provided by the IDE.
Many thanks in advance.
There is no preconfigured emulator. As per my experience, even if you try to create with matching device configuration it won't be much of use as it will still run stock android.
So, I found that Samsung provides online test lab like firebase.
You can go to http://developer.samsung.com/rtlLanding.do and check it out. They give 5 minutes free if you don't have developer account.
As per Samsung, you can get the following:
20 credits are provided to each Samsung Developer user every day.
With 1 credit, users can use the Remote Test Lab service for 15 minutes.
Minimum reservation: 30 minutes (2 credits)
Maximum reservation: 10 hours a day (40 credits)
More details : http://developer.samsung.com/remotetestlab/rtlAboutRTL.action
Which devices (smartphone and tablet) do you recommend to buy as reference?
And what version of Android do you prefer?
Main goal: testing responsive websites in our small web studio.
Smartphones:
Samsung Galaxy — S2, S3, S4 (but S4 and S3 seem to be too expensive).
Google Nexus 4.
4.0 — 4.5 branded devices in middle cost segment.
bi-brands or Chinese devices (low cost, Android 4.1+).
Tablets (I think, only 9.7/10.1 inches not 7 inches):
Samsung (dunno which).
Chinese devices.
We have limited resources, so…
I would go for Google Reference Devices, as they always go through all Android versions, and they have always the latest version available. Right now they are:
Nexus 7 (2012 and 2013 versions). 2012 version is the most sold Android Tablet. also works as a reference Portrait Tablet.
Nexus 4
Nexus 10. Reference Landscape Tablet.
Nexus One or Nexus S for a reference Android Gingerbread device.
Then, if you have the budget, I would go for typical best sellers in all ranges:
Galaxy S2, S3 and S4
Galaxy Y, Ace, HTC Desire X
Samsung Galaxy Tab 7, 8.9 and 10.
I am trying to create the android emulator for Nexus 10 using latest ADT(21) and SDK tools. I have the following configuration for the Nexus 10 AVD:
Screen Size - 10 inches
Resolution - 2560 X 1600
Screen Size - xlarge Screen Density - Xhdpi
Screen ratio - long
RAM - 1024
Let me know if this configuration is wrong. After creating the above Configuration I was able to create the AVD but couldn't load it. It only shows a black screen. What could be the problem here?
I am Using Ubuntu 11.10.
I had the same issue. You can do one thing,
1) When you create AVD, make sure Use Host GPU option is checked.
It worked for me, in my Mac OS X Mountain Lion 10.8.2, and eclipse juno.
EDIT : Sorry folks for the confusion. There is no Google Nexus 10 skin (at the time of writing this). What you see in the image is a Nexus 10 equalant I created using Device Definition (AVD manager 2nd tab) feature of eclipse. It is just I named it as Nexus 10 and it is not default google emulator.
I think the monitor resolution is more important than the hardware of your computer. I have a PC i7 & 16GB RAM under Windows 7, with two DELL monitor 1920x1080 and it is imposible to run Nexus 10 emulator. This computer runs Nexus 7 emulator perfectly.
But my less powerfull iMac i5 & 8 GB RAM under OSX Mountain Lion, runs perfectly Nexus 10 AVD.
I have tried with/without use host gpu option, and only work when it is checked.
I have tried to emulate other devices like Samsung Galaxy S4 and it happens the same!
By the way, it is recomended to specify low value RAM and SD Card values for performance (512MB & 16-96MB).
I had the same issue (have, actually). It is quite simple, the resolution and the screen density are just too high for your monitor (on that screen size), so it cannot display it. - I am sure your emulator runs perfectly on other configurations
This is the correct configuration for an Nexus 10 Android Virtual Device:
Your screensize and density was wrong.
Screen Size - 10.1 inches Resolution - 2560x1600
Size - xlarge Density - xxhdpi
Screen Ratio - long RAM - 2048 MiB
One more way is to use new
Genymotion Android Emulator
It is available for Ubuntu also , have a look at my post for other info related to it.
With IntelliJ you need to open tools - android - AVD manager and then when you add a new AVD try ensuring that your CPU/ABI is set to ARM(armeabi) Had some trouble before like this and it was down to this setting.
Hope this helps!
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.
Does anyone have the HTC Desire HD setup in their SDK? if so could you please tell me what settings you picked to configure the AVD.
I have a website that renders properly on all android devices besides this one, so testing it is imperative !
Thank You
I have 2 configurations,
Android 2.2 API 8 skin WVGA800 240 density
Android 2.3.3 API 10 same skin and density
The only one that I use at the moment, is the 2nd because of the official gingerbread on DHD.
The only setting which should affect the rendering of the site is the resolution. The Desire uses a 800x480 (WVGA) resolution screen.