Pages

Sunday, 24 April 2016

Deploy and Debugging the Android applications in Redmi MI Note mobile from visual studio using C#

In this post we are going to see how to Deploy and debugging a android application in Android device, I am deploying the application in my mobile phone which is Redmi MI Note , KitKat version.Initially my mobile was not detect in my machine to deploy and debug the application, this is because of not enable the developer option in my mobile. Here HiAndroid is the App Name

First we see how to enable the Developer option in the Xiaomi Redmi MI Note ....Before enable the USB debugging in your device , you have to enable developer option, developer options disabled as default.Step 1 : Unlock Redmi NoteStep 2: From Apps , Go to settingsStep 3: Under settings, scroll down to the bottom of the page and click about phoneStep 4: Tap About PhoneStep 5: Under the About phone, we can see the MIUI versionstep 6 : Now Tap MIUI version 7 times continuously, to enable the developer optionsStep 7: Now you can see the message " Now you are a developer" , Now enable the USB debuggingStep 8: Go to SettingsStep 9: under settings, go to the bottom, to find the Additional settings, Step 10: Tap on additional settings,Step 11: Tap on Developer optionsStep 12: Under the Developer options, you can see the Enable USB Debugging Options,Step 13: Now enable the USB Debugging option

After enable the developer option connect it with the machine , now you can able to see the Device in visual studio, along with other emulators.

Now you can run the application by click the device button, it will deploy the application in mobile and start running, Now here i am created a debug point on button click, so whenever user click on the button , it will hit back to the visual studio from the device.

Now in my code i have debug point on button click.Layout:***************