Hi all,
I am new in Android programming. Currently I am working on simple apps and do the testing in my PC. I would like to know how to deploy my apps to my handphone so I can test it from there? Appreciate your answers.
Thanks in advance.
Regards,
S.A.G
enable usb debugging from settings-->applications--->development on pre ICS phones and from settings--->developers options on ICS+ phones.
Now connect the phone to computer and press ctrl+f11 in eclipse in your project.
You will be presented with a window having your phone with its serial number and avd's.Select your device and it would run on your phone instead of avd.
Related
Hey guys,
I was granted access to the beta of Android App Inventor and wanted to start playing around with that software and my HD2 running android. However, I cannot manage to get a connection to the phone via USB. (Selection: Connect to Phone in Block Editor does not work for me).
So, is there anyone working with App Inventor paired with HD2?
Thank you for your help and advice in advance,
jokeR
Download the Android SDK (if you haven't already), and install the package, "Usb Driver Package, revision 3".
Then plug in your HD2, if it doesn't auto-install do the following:
Right click my computer - manage - device manager,
find your HD2 in Other Devices/leo
Right click it, Update Driver Software
Browse my computer for driver software
In the text box: C:\android-sdk-windows\usb_driver (adjust accordingly)
Click next and it should install.
also only some builds have usb connection working i am using darkstones build and usb works fine
Currently I use this build: "shubCRAFT CM6RC2/Froyo" .
I still did not manage to complete a connection. The Block editor quits with an error "We made a mistake! Please help by reporting this bug:
Problem getting project defitions for phone: ...longurl..."
I will retry installing SDK and Extras and driver.
So, after reinstalling everything it still does not work:
"Leo" is listed in Devices as: "Android Composite ADB Interface" - is that the right driver?
I also tried to use a virtual Android device utilizing the SDK, but sadly that did not work as well. I have the Desktop of the virtual Android on my Screen, but clicking connect in Block editor does not connect to the virtual device (the Leo is unplugged in that scenario).
:/
make sure USB debugging is enabled in the application settings
Yes I have App Inventor. It's working OK for my on Darkstones build, but like you, I have issues with Shub's build.
For some reason or another - and I'm not sure how - I got it running just fine with no phone connected at all. I was able to complete the project and save it just fine. Maybe it was a bug...
I tried Darkstone's built, had USB debugging enabled, but it still did not work for me Don't know what to do next.
Anyone working with virtual devices or other builds that could work?
Thanks in advance for your help.
Hi every one,
i have installed Android SDK 2.2 on my laptop in order to develop an application over it.Actually, my application needs wifi configuration but i can't access to this in the emulator neither in the WifiManager class (eclipse).
I think the problem is that i don't have an Android Device connected to my PC!
i really need to develop this application and i can't manage to have an Androphone....so aren't there any solutions? any suggestions ?
P.S: i'm a beginner in the Android Developpment.
Does Eclipse+ADT support HD2 android development?
That is to say,does the USB Driver in Android SDK recognize HD2 in order to enable USB debugging?
thanks.
haha i was wondering the same thing! I am building apps and need mass storage~!
arshcaria said:
Does Eclipse+ADT support HD2 android development?
That is to say,does the USB Driver in Android SDK recognize HD2 in order to enable USB debugging?
thanks.
Click to expand...
Click to collapse
Yes.
I cant get it to work for me im using the google labs app maker thing and it connects to my device and everything just doesnt bring all the stuff over to it only text..
Developing on Eclipse right now and it's reading LogCat no problem.
Metastable said:
Developing on Eclipse right now and it's reading LogCat no problem.
Click to expand...
Click to collapse
so you mean when i connect hd2 to pc and select the drivers from "*\androidSDK\usb_driver" folder, it'll show up in Device Manager windows named ADB interface?
What I did to use my HD2 as a Android debugging Device.
1. Install the USB drivers. I had to "de-recognize" the device first, since I unsuccessfully tried to install the drivers before. Just as explained in h*t*t*p*://*w*w*w*.downloadatoz.com/driver/articles/how-to-install-and-set-up-adb-usb-drivers-on-android.html .
2. Keep the phone connected. The windows will eventually recognize the phone and try to install appropiate drivers. When that happened, I selected to install drivers from a specific location [C:\android-sdk-windows\usb_driver]. Windows recogned my phone and installed the drivers.
3. Run the app from eclipse. The app will automatically download and run on the phone.
Sorry If it will be a very "easy" question, but I'm only a beginner, so, please be patient
I made a small application, and I tried to put in ads with AdMob. I tried to connect my device to the Eclipse, so I can run on it the progrmam, and see the logcat, because when I'm installed it to my device it doesn't show any ads. I tried to plug in it, but Eclipse doesn't show my device on the device chooser panel. I checked the USB debugging on my phone. What can I do? Thanks for help!
HUNZwiebel said:
Sorry If it will be a very "easy" question, but I'm only a beginner, so, please be patient
I made a small application, and I tried to put in ads with AdMob. I tried to connect my device to the Eclipse, so I can run on it the progrmam, and see the logcat, because when I'm installed it to my device it doesn't show any ads. I tried to plug in it, but Eclipse doesn't show my device on the device chooser panel. I checked the USB debugging on my phone. What can I do? Thanks for help!
Click to expand...
Click to collapse
Do you have the Android SDK installed and properly set up in Eclipse?
Did you do any updates on Eclipse or the sdk recently? Did you move the sdk? You can always bypass Eclipse and try identifying your device using adb to see if there is a problem on that end
From something awesome
If you use Windows you have to install the phone's drivers. On linux follow this tutorial on installing a device for development: Using Hardware Devices
Hello there,
I'm developing applications for (i. e.) Acer A500 and need to use some of the Android SDK tools like hierachyviewer etc. which work on developer version of Android only (I need to use them on the real device, not emulator). I don't have any of that version and what's more don't know where to get it - so I thought about rooting my device - will it enable those tools on that device? Or do I have to install some mods?
Thanks in advance for the info.
It did work for me but I only tried a few adb and ddms commands.
That's great, can you confirm hierarchyviewer working? (Is it possible to load View Hierarchy for custom app?)