Android, gives developers up to 90 of code reuse across Android, iOS and Windows. But from the research, I did on the web, I found that it is not that popular but still, it’s good Android. I have not personally tried Xamarin in my Mac or Pc, so, I can’t tell more about this Android Emulator. This Android Emulator supports OpenGL. Xamarin Android Emulator for Mac is the last one on our list.I will write a different article about other the other three, but we’ll start talking about Xamarin Live Player. NET Standard and Fluent Design. I’ve read that Xamarin had a bunch of sessions where they announce awesome stuff and I was really interested and excited about a couple of things, namely Xamarin Live Player, Visual Studio Mobile Center. It’s been almost 3 weeks since Build 2017 happened in Seattle and I just finished watching some of the highlights on Channel 9, especially all the things relevant to Xamarin and Mobile.
It has the traditional development cycle where you write-compile-run-debug, but it’s so much faster. Visual Studio 2017’s brand-new Xamarin Live Player for Android and iOS allows you to write, execute, and debug your Xamarin application continuously on an actual iOS or Android device straight from the IDE. In the Xamarin Live Player app, go ahead and start the 'Pair to Visual Studio' process - the app gets into a camera mode to scan a QR. You will still have to do a couple of things to get it up and running. This means that Xamarin Live Player isn’t installed and ready to use right away. There will be two different Visual Studio 2017 application as you can see below:We can now start setting up the Xamarin Live Player. Xamarin Live Player Not In Vs Update For XamarinThis gives you the list of stuff you can update for Xamarin. Select Updates and then Xamarin Preview node. After downloading, you will have to close your Visual Studio to install the Xamarin Updater.Once installed, you can go back to Tools > Extension and Updates. Select Online and search for “Xamarin Updater” and download Xamarin Updater. Open your Visual Studio 2017 Preview and select Tools > Extension and Updates. Let’s now set up our devices!Installing Xamarin Live Player ApplicationThis one’s pretty straightforward, you just need to install the Xamarin Live Player application into your device ( iOS/ Android). Our Visual Studio is ready. Then, we’ll have to re-open Visual Studio again. In my case, I’ve already created my own. So, let’s open any or create a Xamarin Project. After the installation, we can now pair our device with Visual Studio 2017.Apparently, you can’t pair your device with Visual Studio unless you have a Xamarin Project opened. Make sure you’re on the same wifi network, too. It will open this popup:There are two ways to pair, first is to type the code from your Xamarin Live Player app on your device or just scan the QR code being shown in the popup. To do this, select Tools > Xamarin Live Player > Manage Devices. I was actually amazed how smooth and fast it is! Now, you can debug without even waiting for the long compilation, builds, etc. That means it’s the live player then hit F5 to debug.It will compile and will take seconds to deploy it to your device. To select the paired device, look for your device name and it has a concatenated “Player” text at the end. We can now debug our application using Xamarin Live Player! Debug using Xamarin Live PlayerTo do traditional development cycle debugging, we can select our paired device on the device list. FYI I’m using Vysor for the device mirroring.Now, it’s all finally set up. Caste validity form in marathi pdfAs for the logs, this is where you can see the compilation and runtime errors that you configure on your settings, but you can only see high-level logs.There are still some stuff that are not supported for iOS and Android. Again, this is really smooth and you can easily check your changes without running your application.Inside your Xamarin Live Player Application on your device, you can actually set some settings like for example, changing the theme, allowing to show compile and runtime errors, etc. This allows you to write not only your UI, but also the business logic of your application. But wait, there’s more! Live Run FeatureNow if you don’t want to debug your application and just see the live preview on your device, you can use this Live Run feature. This is just one of the things from this year’s Build Conference that made my jaw drop. But, when I tried this out, I’m convinced that I’ll be using this from now on. I just thought that XAML Previewer was enough. Here’s the list of the limitations for both Android and iOS.I’m really amazed with this one, though I didn’t expect it.
0 Comments
Leave a Reply. |
AuthorRich ArchivesCategories |