Over a million developers have joined DZone.
{{announcement.body}}
{{announcement.title}}

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

DZone's Guide to

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

· Java Zone ·
Free Resource

FlexNet Code Aware, a free scan tool for developers. Scan Java, NuGet, and NPM packages for open source security and open source license compliance issues.

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

[Note]

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.

Screenshot_2014-06-12-10-08-25[1]Screenshot_2014-06-12-10-09-01[1]Screenshot_2014-06-12-10-09-09[1]

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

image

6. Here You can see you created app in device

Screenshot_2014-06-12-09-44-27[1]

 Scan Java, NuGet, and NPM packages for open source security and license compliance issues. 

Topics:

Published at DZone with permission of

Opinions expressed by DZone contributors are their own.

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

{{ parent.tldr }}

{{ parent.urlSource.name }}