Testing On An Android Device

  1. Follow the instructions here to connect your android device : http://developer.android.com/tools/extras/oem-usb.html#Win7
  2. I did not have the Google USB Driver Installed, So I had to install that first: http://developer.android.com/sdk/win-usb.html

Note: If your device is one of the Android Developer Phones (purchased from the Google Play publisher site), a Nexus One, or a Nexus S, then you need the Google USB Driver, instead of an OEM driver. The Galaxy Nexus driver, however, is distributed by Samsung (listed as model SCH-I515). I am trying to test on Nexus 7, so used a Google USB Driver

  1. In the AndroidManifest.xml file, add android:debuggable="true" to the <application> element.
  2. If using Eclipse, run or debug your application as usual. You will be presented with a Device Chooser dialog that lists the available emulator(s) and connected device(s). Select the device upon which you want to install and run the application. I was able to Run my application on my Nexus 7

Advertisements

Leave a Reply

Fill in your details below or click an icon to log in:

WordPress.com Logo

You are commenting using your WordPress.com account. Log Out / Change )

Twitter picture

You are commenting using your Twitter account. Log Out / Change )

Facebook photo

You are commenting using your Facebook account. Log Out / Change )

Google+ photo

You are commenting using your Google+ account. Log Out / Change )

Connecting to %s

%d bloggers like this: