Application for different versions and different resolution - android

I am in middle of learning application development.
I have created an application in 2.2 and tested that in my HTC Nexus One device.
I looks like fine. My client testing same application setup in his device (Droid2). I don't have that device to test.
He said there are some font sizes are vary and button alignments are missing. When I testing in my device everything looks fine.
So, I need to test my application in Simulator which resembles like Droid2 device. Can anyone tell me how to create emulator and setup like Droid2.
And also, is there any need to adjust my code or anything in manifest file.
Any help/suggestion will be much helpful for me to fix this problem.
Thanks in advance for your replies.

Go to this page http://developer.motorola.com/docstools/tools/ and download the emulator add-ons for any of the Motorola android family. Droid 2, Droid X, Cliq, Devour, all your favorites.
I cant comment on your code because I have not seen it.

Related

How do I create an emulator in Ecllipse Juno

May be my question seems to be dumb as i'm new baby to this...
I'm trying to run an android application in 7 inch Samsung Galaxy tab(7 inch)...everything work fine but when i move on to Samsung Galaxy Tab S2(10 inch) i faced an alignment issue in my application...Getting crashed sometimes too.
Can anyone suggest what should i do to resolve it...Have to create separate layout files for 10 inch tablet????
Please also tell me how can i test my application in an Samsung Galaxy Tab S2 10 inch emulator.
I can really recommend using Genymotion as an Emulator. It' very fast, and only has some minor limitations as free version, like you might not be able to use Google APIs.
It also provides predefined settings for different Devices.
If you don't want to use a third Party Emu, you could of course use the Android Studio Emulator too.
For the crashes: get used to use the Debugger and to using Unit Tests.
I would also recommend switching from Eclipse to Android Studio, since Eclipse is no longer the supported IDE by Google. Migrating your project shouldn't be a hassle.
Without your Layout code people won't be able to help you on that part.

how to test and debug all android device

A week ago,I developed a app and published to google play.
App Link
This app use camera and activity-alias . It works fine in my phones(S1,S2,New One,Sony Xperia v). But after i published to google play , i found many problems,like HTC one x camera or HTC butterfly activity-alias not working in my app . I dont have these phones ,so its hard to debug .
Is there a good way to solve this situation ? I used some test websites like appThwack and Keynote. But it only response me error message, I am hard to debug too,because it need to upload apk to test(spend long time).
I have found that with Android getting feedback from users on their specific device in inevitable, and unless you have those devices to test on beforehand you won't know until someone tells you.
Android is on so many devices with so many different screen sizes and hardware manufacturers it can be very difficult to get it working correctly 100% across the board. Knowing what devices have the issue helps point in the right direction, but nothing beats testing on the actual device.
Try to use Android Studio. You can preview your app for all screen resolution in one shot. For specific screen relotions and density, create an AVD. I think for independent developers, this is the best way (Considering your app runs on Emulator :-))

how to support an apk for both mobile and tablet

i am developed one apk for mobile(4 inch)..
same apk i can put tablet means total gui changed ..
i want my apk can put any mobile or any tablet . the gui cannot changed ..
please how to achieve this problem..please suggest me
what ever the screen resolution my application ui can change the according the resolution
See
http://developer.android.com/guide/practices/screens_support.html
There are all infos you need to know to make sure your app look great on all devices. It's barely not that easy as you think.

how to make seperate UI in android mobile device and tablet

i always working in android mobile devices. i want to run my projects in android tablet devices.
so my questions are
do i have to face any compatible issue?
will same project run with different view in different target such as one for tablet one for mobile device?
in example can it set in android mainfest.xml so it can choose different view in different device
and please help about how to solve this, with some help link
thanks in advance.
Have you looked at the android developer site on this?
http://developer.android.com/guide/practices/screens_support.html
It covers the issue in detail.

Window shrinked to quarter of screen size when running app from Android Phone on Appaccelerator Titanium

I have build an iPhone app and using same code to compile Android app. When I run the app in the phone (HTC Desire) instead in emulator, the main window shrinked to the quarter of the screen size, everything else is working fine except this. Can someone please let me know if there is any configuration to look for in Titanium ?
Ubuntu
Appaccelerator Tatanium Studio
HTC Desire
This could possibly help you?
Looking at screenshots on Appaccelerator website I see that Android phone is presented by HTC Hero, which is kind of old for 2011. This makes me think that Appaccelerator is not aware of newest high-density devices like Desire. If Appaccelerator uses physical coordinates for pixels then on high-density phones you'll get exactly the behavior you describe.
Anyways, phrase patent-pending development technology stated on the Appaccelerator website is already an alarming sign against using it.

Categories

Resources