Can I develop for Android Tablets without an actual tablet device? - android

I bought the Augen Gentouch78 to start dabbing in development for Android tablets, but this device is gravely excruciating to use (and I'm returning it). Is there a way to configure the emulator to tablet specs (namely Samsung Galaxy Tab)??

You could create an AVD with similar hardware and Android 2.2. The main difference is the resolution (which is 600x1024), so you can try configuring your AVD this way:
Just keep in mind the AVD limitations; for instance, they don't support multitouch.

Install the GALAXY Tab addon by Samsung, it adds a API-8 Galaxy Tab target to the options list in the AVD creation screen.
The Honeycomb tablet require a API level 11 or 12 on WXGA skin.

Related

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.

How to run an emulator using Galaxy S4 configuration?

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.

HTC Desire HD & Android SDK

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.

Where can I get a emulator image or binary info of NexusS?

I want to test some apps on Nexus S devices,
can I access the devices remote or get some emulator image for it?
for the GALAXY Tab, I could get it at http://innovator.samsungmobile.com/galaxyTab.do , but seems neither Samsung nor Google provides the actual info on Nexus S
The Nexus S is pure Android. You shouldn't need a special emulator for it, just use the standard emulator with SDK set to 2.3. You can get all the details you need from the tech specs.
Depending on what your app cares about, you probably just need to set the screen size appropriately: 4.0" WVGA (480x800)
You can always create your own AVD just like you did for the Galaxy Tab. Galaxy Tab had a special AVD because of its huge size.
These are the nexus S specs. The Android version can be controlled by setting the minimum s/w version and api level.
In eclipse use this to create a new Virtual Device that has the same specs of Nexus S:
Window > AVD Manager

Creating Emulators for the current Android phones

As I do not have the money to buy all the Android phones, is there a resource somewhere or can somebody suggest the settings that would best emulate the Nexus, Motrola Droid and HTC Magic etc. Some users are reporting problems with my app and I am thinking it may be due to the screen sizes.
thanks
These are the settings I use:
Nexus One - Target: Android 2.1 - Skin: WVGA800
Droid - Target: Android 2.0 - Skin: WVGA854
Hero - Target: Android 1.6 - Skin: HVGA
You're not going to get an exact match for the physical devices in the Emulator, but the screen sizes are correct.
Also, due to firmware updates some of these phones can have different firmware levels on. For example, a Droid could be on 2.0 or 2.0.1. The levels above are based on the lowest level each phone could be running.
This earlier question is relevant, but does not directly list configurations you can use.

Categories

Resources