How to Publish or Deploy Xamarin android app to my phone samsung galaxy s3
Solution 1
You can do this in 2 ways.
- Connect your phone to PC using USB Cable. If succesfully connected, you will find your device in emulators list. Select your device and Run. Application will launch on your device.
- Other way is to manually create a .apk and and copy that file on to device and install it. This method is lot time consuming and not suitable for development purpose. Details at : http://developer.xamarin.com/guides/android/deployment,_testing,_and_metrics/publishing_an_application/part_1_-_preparing_an_application_for_release/
Solution 2
- Just set the solution to release mode.
- Right Click your Android Main Project -> Export Android Package(.apk)
- Go to the bin\release Folder, you could find your app in apk format. Use application with Signed extension(Signed.apk)
- Install the apk on your device.
Solution 3
Here are a few steps you will need if you follow Piyush Khandelwal answer above:
First of all...you need to get your phone into developer mode
To do that...Go into Settings
Scroll to the bottom to About Phone
Find the Build Number
and tap it seven times.
(this enables the developer options in settings)
Now you will have Developer options
in Setting
Go into Developer options
and check USB debugging
..
Now plug your phone into your PC...
You will be presented with a Connect to PC
dialogue Box.
Select the Install Driver
radio button
Check the Enable USB debugging
check box.
Now start Visual Studio and your phone should be an emulator option.
![habeeb afvan](https://lh3.googleusercontent.com/-kUHRLHLvK7I/AAAAAAAAAAI/AAAAAAAAACA/b8jBULwrVHU/photo.jpg?sz=256)
habeeb afvan
Updated on July 24, 2022Comments
-
habeeb afvan almost 2 years
I am new to xamarin Andriod. I have done one simple application (Hello world on button click) in VS 2012 after installing xamarin studio and tested it in emulator (for the AVD created similar to Samsung Galaxy S3). Can anyone Please tell me the steps to move this application (.apk) file to S3 phone and run it on S3 phone.