Take the 2-minute tour ×
Android Enthusiasts Stack Exchange is a question and answer site for enthusiasts and power users of the Android operating system. It's 100% free, no registration required.

I've been teaching Java to two of my friends and its coming well. We're interested in Android development. Both of my friends have android devices, and slow enough computers that using the emulator (AVD) is impractical and/or a PITA. Since I have a good enough computer, I have done some simple Android things, and I just use the emulator, but how should I instruct them to set things up so that they can hit the Run (green arrow) button and launch the app on their plugged-in device? All I really need is to show them a webpage or something that will teach them how to do a simple Hello World sample without AVD. All the Hello World Eclipse projects I've seen involve the use of the emulator.

share|improve this question

closed as off topic by roxan, Al E., ce4, eldarerathis Aug 13 '12 at 23:59

Questions on Android Enthusiasts Stack Exchange are expected to relate to Android within the scope defined by the community. Consider editing the question or leaving comments for improvement if you believe the question can be reworded to fit within the scope. Read more about reopening questions here.If this question can be reworded to fit the rules in the help center, please edit the question.

    
do you want to directly run the written app on your plugged-in device during development? –  kitokid Jul 23 '12 at 2:13
add comment

1 Answer 1

up vote 1 down vote accepted

All you really need to to is enable USB Debugging in the device settings and plug in the device. As long as you have Eclipse, ADT plugin and the Android SDK installed, which you do if you have been using emulators, you should be good to go.

Eclipse will automatically use the device when it's plugged in and no emulators are running, unless you've told it not to.

If you're using Windows, you may have to install the device vendor's USB drivers; if so, Windows should prompt you about this when you plug in a device with USB Debugging enabled.

The Android Training class Building Your First App will walk you through all of these steps with a sample application.

share|improve this answer
add comment

Not the answer you're looking for? Browse other questions tagged or ask your own question.