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