Can anyone tell me how do i establish HTC Desire Emulator in my Eclipse.
I have already tried, available packages installation, but HTC is not there in third party packages.
There isn't a specific HTC emulator - rather you use the generic Android emulator and change the characteristics of it to match whatever model of phone and version of Andriod you want to target.
You need to install the Android SDK and use it to create Virtual Devices (AVDs). These can then be used to test your code before moving onto a physical device.
For detailed instructions see http://www.android.com.
Please check this question. You can achieve htc-desire like emulator by setting appropriate values..
The correct Eclipse/Android device configuration for HTC Desire
Related
I recently bought a Moto X and was following the online instructions for setting it up to test my android code. I installed the USB drivers and got to the place where it tells me that the phone is unlockable. I quickly returned the phone at this point before activating it and subsequently porting my number over.
Can I test code on the Moto X specifically even if it is NOT bootloader unlockable? Is this the case for all android devices?
Unfortunately I don't know anyone that is a developer or even anyone that owns a Droid phone that I could experiment with.
You do not need to unlock bootloader to test your Android applications. Please refer to Using Hardware Devices for more information regarding setting up any Android device for testing. Following is the relevant part quoted for your information:
You can use any Android-powered device as an environment for running, debugging, and testing your applications. The tools included in the SDK make it easy to install and run your application on the device each time you compile.
This is a general answer, not specific to Moto X. I do not see any reason why it should not apply to Moto X.
I'm developing for Galaxy Note specifically. I want to test my app on a real device which I don't have. Is there some way I can fake a Galaxy Note on AVD?
I do know how to create an AVD with hardware matching Note. However, that won't suffice. I want the app to identify AVD as a real device. I have small hints in general direction:
1) Somehow install stock Note ROM on AVD.
2) Modify build.props and create my own ROM.
I also have a Galaxy S phone, if something can be done on that. Thanks.
You can do this only on real Device, because this information is wrote only on the firmware of device. You can try to debug on remote real devices. Search on http://innovator.samsungmobile.com/bbs/lab/view.do?platformId=1
or here http://www.perfectomobile.com/portal/cms/services/android
I created an Android application that I have published in the marketplace. It crashes on a specific device, the Motorola Cliq XT, so I would like to make an AVD of this device and test it in the emulator. I know that I can make a new AVD with the right API level, but what other considerations are there for this AVD so that I can closely mimic the actual device? Are there standard AVDs that someone has released for different phones, or do we not have that kind of flexibility? Thanks.
The Motorola Developer Network site provides instructions for downloading and installing the necessary add-ons to support the creation of a device-specific AVD. Sadly, I'm no longer able to find the actual download page.
My droid works fine. The other two droids I've tried are never recognized by adb and don't debug. Debugging is turned on with all 3 of them.
What's the problem?
To test that you have the correct drivers installed (on windows) or have everything setup right (on os x or linux):
Open a command prompt/terminal
Navigate to the tools folder of the android sdk
run "adb devices" (no quotes)
If all is well it will list all the device names on a new line. If something is wrong with your setup you will see question marks a line
I'm guessing you've seen this already but if not take a look at the instructions for setting up a devices for development.
Just as a side note, I'm not sure you can have 3 of the exact same device working at the same time (I assume you meant you have 3 Droids). Might only work with 3 distinctly different devices.
Did you remember to enable debugging in the phone settings ?
(in Settings => Applications => Development )
what do you mean by droid? Motorola Droid, HTC Droid or are you using droid to just mean you have three different models of android phone?
If the latter there is some configuration necessary - for my HTC Desire I had to setup some drivers: http://myhtcdesire.com/tutorials/how-to-install-the-adb-driver-on-windows
I'm new to Android, but have published iphone and bberry apps. I see that I have to create an emulator using the SDK, before I can write and test an app. Why are there no default emulators? Why not at least a Nexus one, or HTC hero emulator shipped with the product?
Sure its supposed to be flexible, but why not make it easy to create hello world and play around with a virtual Android phone? Both blackberry and iphone come with default simulators when you download the sdk.
Thanks,
Gerry
Since you can create an emulator configuration - or Android Virtual Device (AVD) - with three mouse clicks and typing a name I don't see too much wrong with the Android Emulator that ships with the SDK.
The reason that there's no Nexus One or HTC Hero emulator is that these ship with proprietary code which can't be given away free with the emulator.
The Sense UI that comes with the Hero is written by HTC only for their handsets and some of the Google Apps, such as Google Maps, GMail and YouTube are owned by Google and are not part of the Android Open Source Project. I believe Google charge handset makers for these apps and if they included them in the SDK then anyone could have them for free.
The SDK includes emulators for all currently released devices, you just have to create and name them.
To create a "Nexus One" emulator, you would create an AVD that is using the 2.1 SDK, and has a screen size of WVGA800. It's as simple as that.
It used to be this way, but was changed to make developers think about what platform version / configuration they are developing against (and to allow multiple platform AVDs to be created).
Here is a quick way to launch an emulator running cupcake:
$ android create avd -n android1.5 -t
$ emulator -avd android1.5
What about other features.... i would love to make my app work on all android devices but, i dont own all of them, just 1. So i have to create an avd for each possible hardware configuration(phone). meaning i have to track down the exact specs for say 5-10 phones? resultion, density, aspect ratio, input types, multi touch? proccessor FPU? some do some dont. etc etc. something needs done.
I'm confused by your question. The SDK ships with an emulator. You just have to create and configure an instance of it first through the SDK and AVD manager.
You can create appropriate avd using android (android.bat) in folder /tools of sdk. Also you can choose resolution, sd card, API level. It's really easy:)
If you want to write for Nexus - why not? Choose appropriate sdk level and enjoy.