What's the easist way to push an application to your android-device
I'm using Eclipse as my IDE and Nexus One as my android-device.
And another question.
My android do开发者_Go百科esnt update automatically to 3.2 version (current version)..it says that it is up to date..and that it is updated..what do i do?
Your second question is a user question, for which you should see Android Enthusiasts. But no Nexus One currently runs anything later than 2.3.x.
On your android-device, Go to "Settings" -> "Application settings" -> "Development" turn on "USB Debugging"
Run from eclipse, choose your phone from devices as opposed to an emulator, and it'll install your app.
reference: http://developer.android.com/guide/developing/device.html
In Eclipse, choose "Run | Run Configurations ..." . In the Run Configurations dialog, select the target page, and select Manual. Then connect your Android, with USB debugging enabled (it doesn't matter if it is also a disk drive).
Now when you click Run, the Android Device Chooser dialog will appear, with your Android as a choice. If an emulator is running, it will also be a choice.
If your hardware Android does not appear, you must be missing the USB drivers. You have to get those from the specific manufacturer.
I don't see a way to make the hardware Android the default choice, which is annoying.
Connect your phone to the computer and select the play button in Eclipse.
精彩评论