Over a million developers have joined DZone.

Using Hardware Devices to Run Android Apps from an IDE in Windows 8

· Java Zone

Easily build powerful user management, authentication, and authorization into your web and mobile applications. Download this Forrester report on the new landscape of Customer Identity and Access Management, brought to you in partnership with Stormpath.

This post describes how to set up your development environment and Android-powered device for testing and debugging on the device. I am using Windows 8 for this post and device is GT-S7582.

1. Enable USB debugging on your device.

On Android 3.2 or older, you can find the option under Settings > Applications > Development
On Android 4.0 and newer, it's in Settings > Developer options


On Android 4.2 and newer, Developer options is hidden by default. To make it available, go to Settings > About phone and tap Build number seven times. Return to the previous screen to find Developer options.


2. Set up your system to detect your device

If you're developing on Windows, you need to install a USB driver for adb. For an installation guide and links to OEM drivers, see the OEM USB Drivers document. You can download from OEM USB Drivers for samsung phone from here, http://androidxda.com/download-samsung-usb-drivers

3. Install driver and start Android-IDE

4. Create Android app and click on run

5. Pick the Hardware device that is connect to your PC via USB


6. Here You can see you created app in device


Building Identity Management, including authentication and authorization? Try Stormpath! Our REST API and robust Java SDK support can eliminate your security risk and can be implemented in minutes. Sign up, and never build auth again!


Published at DZone with permission of Madhuka Udantha, DZone MVB. See the original article here.

Opinions expressed by DZone contributors are their own.

The best of DZone straight to your inbox.

Please provide a valid email address.

Thanks for subscribing!

Awesome! Check your inbox to verify your email so you can start receiving the latest in tech news and resources.

{{ parent.title || parent.header.title}}

{{ parent.tldr }}

{{ parent.urlSource.name }}