Jacek Kwiecień
Jacek Kwiecień

Reputation: 12659

Debugging directly on the device

I don't expect you to correct my code, since it should be working, at least works on emulator. Unfortunately gives different output on the devices. My question is:

How to debug in such cases, when the device is not working as the emulator, and what could cause that (device model, a custom ROM?)

I heard some rumors some time ago, about possibility using the device instead an emulator somehow connected to the SDK. Could you also confirm or deny that?

Upvotes: 0

Views: 74

Answers (2)

utopianheaven
utopianheaven

Reputation: 1277

You'll find it's not uncommon to find little quirks between devices. Many developers will have several physical devices to test their software on.

You can find information on using a physical device for debugging (including using it inside Eclipse, just as you would the emulator) on the Android website: http://developer.android.com/guide/developing/device.html

Upvotes: 1

Reid
Reid

Reputation: 4544

Yes you can do that. Just put your device into debugging mode, and connect it to the computer with the micro-usb port on the device. You will also need to download the drivers from the manufactures website.

Upvotes: 1

Related Questions