How to setup Xamarin Build Host with Visual Studio

The cross platform app development with Xamarin Forms allows to create multiple platform development projects under a single Visual Studio solution. It is easy to build app for Android and Windows Phone in Windows with Xamarin using Visual Studio. But for the iOS development we need XCode, which can only be installed in a MAC environment due to its dependencies. Xamarin has provided a tool called build host to support iOS development from Visual Studio in Windows.

This video demonstrates how to connect the Xamarin build host from MAC with Visual Studio in order to develop an iOS app.

Categories: Cross Platform Mobile App, Xamarin

[Solved] SmartDeviceException – App deployment failed in Windows Phone Emulator

The Issue

When I tried to run my windows phone app in the emulator I was receiving the following error.

**Error 1 Error : DEP6100 : The following unexpected error occurred during boostrapping stage ‘Connecting to the device’: SmartDeviceException – App deployment failed. Please try again. 

The error was just killing me. It was another day now. I have already spent frustrating 2 days in solving this issue.

I tried repairing the Windows SDK Emulator from control panel. It took all its time and get it repaired. Restart and tried. Same error.

Lots of search in Google. Finally I got the following http://stackoverflow.com/questions/24613912/windows-phone-emulator-not-being-started. It says, uninstalling the anti virus solved the issue.

What did I do ???
I thought of to follow the step, since it looks a bit logical to me. There may be the possibility my Firewall is blocking it.
So I just disabled my Symantic antivirus.

WOW… that’s it. It worked like a charm.

SOLVED ……  SOLVED  ….. SOLVED  🙂 🙂 🙂

Categories: Windows Phone

Different pages in Xamarin

Pages are the basic components for application building. Pages when compiled to the iOS native app gets converted to UIViewController, Activities for Android and Pages for Windows Phone. Xamarin supports following type of pages.

Pages in Xamarin

Content page

  • Creates a simple page with single view
  • Contains scrollview or stack layout
  • Most commonly used type page

Categories: Cross Platform Mobile App, Xamarin

Upload Failed : You uploaded a debuggable APK

upload-failed

It was quite late in the evening and I was about to wrap up my work. Suddenly I got a call form my client in Skype and he shared his concerns of uploading the build to production. Although it was late, I thought to help him before I close the day, since that guy is in the middle of his day time (in US). Now mind set is to spend time on the issue. I started looking into the issue.

The issue is, while he (my client) started uploading the APK file into the Android store, he is receiving the below rejection message from the store. More..

Categories: Android

%d bloggers like this: