tags:

views:

53

answers:

2

So, I'm new to developing apps (altogether) and I thought that it would be fun to start out on the Android. I did the test with "HelloAndroid" app, but I have no clue on how to run the app on my phone via Eclipse. I remember reading about it a long time ago (sometime in February) but I have no idea where to find it. Any help, here?

A: 

http://developer.android.com/guide/developing/device.html

Or just e-mail the .apk to your phone and click on it to install...

Michael
A: 

It's very easy - close the emulator, plug your phone in, tick some options in the Applications settings menu, and then Eclipse should be able to work it out on its own when you click the Run button. More specifically: check that you've got the option to allow apps from outside the market to be installed, and that you have USB debugging enabled. You don't actually have to close the emulator, but depending on how you've configured your 'run configurations' it might not bother asking you which device to install on - so closing the emulator makes sure that it targets the phone. Sometimes you have to close and restart Eclipse itself as well to make sure it sees the phone after it's plugged in.

(There are more elegant ways to fix these problems rather than closing and reopening Eclipse, but that's by far the easiest :P)

Steve H