For running your apps there are two possible ways:
Running on the emulatorEmulators are Android Virtual Devices (AVD) that we need to configure to run our Android apps.Step 1Open the AVD Manager as in:Step 2Click on the New Button to add a new device, and configure your device settings.Step 3There will be a result window showing all the configurations you had chosen on the previous screen.Step 4Press "Ok" and you will see your device listed in there and now you can close this window now.Step 5Run your Android app project from Eclipse and if there is only one AVD configured it will automatically deploy the app to it else a window will appear to choose your AVD. The Emulator will start.Running on the DeviceAn Android app can be directly deployed on the Android device, for this a few configurations are needed.Step 1Set the application in the debug-able mode by setting the android:debuggable attribute of the <application>element to true. For ADT 8.0 this is done by default. (In our ADT we do not need to perform this step.)Step 2Enable USB debugging on your device.For Android 3.2 or older go to Settings > Applications > Development and enable USB Debugging.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 in the phone and tap Build number seven times. Return to the previous screen to find the Developer options.Step 3Install USB drivers for your device so that the computer recognizes your device.Step 4Once set up and your device is connected via USB, install your application on the device by selecting Run > Run (or Run >Debug) from the Eclipse menu bar.Cheers.
C# Corner. All contents are copyright of their authors.