Please note that the following steps were performed on an HTC smartphone running Android version 2.1.
Setting Up the Android Device
Setting Up the Android Device
- Ensure the Android device is not yet plugged into the PC.
- Go the the desktop/home of the Android device.
- Go to Settings.
- Click on 'Applications'.
- Click on 'Development'.
- Check the following checkboxes: 'USB debugging', 'Stay awake', and 'Allow mock locations'.
Setting Up the Android SDK
- Visit the following URL to download and install the appropriate USB driver for ADB for the device: http://developer.android.com/sdk/oem-usb.html
Setting Up the Visual Studio Mono for Android Application
- Open up Visual Studio 2010.
- Open the Mono for Android application.
- Open up the 'AndroidManifest.xml' file.
- Add the following XML attribute to the 'application' element:
android:debuggable="true" - Press F5 to debug and deploy the application.
- Select the Android device from the 'Running devices' list.
- Click on OK.
1 comment:
This is one of the unique post.This is one of the challenging post.Nice to read about your post.
Post a Comment