James Montemagno
James Montemagno

Live, Love, Bike, and Code.

Tags


James Montemagno

Live, Love, Bike, and Code.


Moving Plugins for Xamarin to .NET Standard

I could never imagine the amazing response to Plugins for Xamarin [http://xamarin.com/plugins], those amazing little libraries that abstract away all that platform specific code into a lovely cross-platform API for iOS, Android, and Windows. They sure have grown, with hundreds of plugins being generated by the community and with tons of installs. My plugins alone have now hit 3 Million installations! With all this momentum it is a great time to look to the future, simplify plugins, and take the…

James Montemagno James Montemagno

Why Xamarin.Forms Embedding Matters

Last week I wrote about Xamarin.Forms Embedding [http://motzcod.es/post/161785997897/embedding-xamarinforms-into-a-xamarin-native-app] , a great new feature of Xamarin.Forms, that enables developers to convert a Xamarin.Forms ContentPage into an iOS UIViewController, Android Fragment, and a UWP Page. I walked through the current setup and a real world example of adding Xamarin.Forms details pages to my Xamarin Native application which previously only had native Storyboards and Android XML pages.…

James Montemagno James Montemagno

Motz's Thoughts: E3 2017 Recap (Microsoft, Sony, & Nintendo)

I have always been a video game nerd, so much so that I went to school to go and create games for a living. I worked at a studio, helped develop a game called Shred Nebula for Xbox 360, and then left the industry forever. While I may not be creating games anymore, my passion is not gone and there is a time each year that I geek out. It is that time of the year when all the big game publishers and console creators go BIG and announce everything, and that event is E3 and that time of year was thi…

James Montemagno James Montemagno

Embedding Xamarin.Forms into a Xamarin Native App #TheFuture

You know I love Xamarin.Forms, but I also absolutely love Xamarin Native with iOS Storyboards, Android XML, and all of that UWP goodness. When you want to build an app that opens in sub-2 seconds, super optimized, and takes advantage of every custom control and animation out there (especially with material design) you have to go Xamarin Native. That is why the next evolution and favorite new feature, Xamarin.Forms embedding, of Xamarin.Forms enables you to embed any Xamarin.Forms ContentPage int…

James Montemagno James Montemagno

My Favorite C# 7 Feature: More expression-bodied members

I can’t help myself, I love Expression-Bodied Members from C# 6! Combined with other powerful C# features it took this code: public void OnPropertyChanged(string name) { var changed = PropertyChanged; if(changed == null) return; changed(this, new PropertyChangedEventArgs(name)); } to this: public void OnPropertyChanged(string name)=> PropertyChanged?.Invoke(this, new PropertyChangedEventArgs(name)); This is amazing! However, in C# 7 things get even better. Take our goo…

James Montemagno James Montemagno
Getting started, step by step, in under 15 minutes!

Yesterday, we announced the Xamarin Live Player for both iOS and Android which includes the Live Player Extensions for both Visual Studio 2017 and Visual Studio for Mac enabling you to get started with mobile development with just a device! The Live Player apps let you debug your apps and make live edits and see them reflected live on your device. Your code runs inside of the Live Player app, so no emulator needed and everything happens over WiFi, so you don’t even need to plug anything in.

To get a good grasp of how the app works check out Miguel and me on stage at Build 2017 on the Future of App Development with Xamarin.

Getting started with the Live Players is super simple and we have AMAZING DOCUMENTATION that you should read to get started.

Now once you have things running be sure to read through the Limitations and the Troubleshooting guide if you run into any issues and join the discussion on the forums.

Update 1: New Xamarin Live Player for Android Walkthrough video:

Update 2: Want to know how the Live Player was built? Listen to Frank and I on Merge Conflict discuss:

Getting Started with the Xamarin Live Player

Getting started, step by step, in under 15 minutes!Yesterday, we announced the Xamarin Live Player [http://xamarin.com/live] for both iOS and Android which includes the Live Player Extensions for both Visual Studio 2017 and Visual Studio for Mac enabling you to get started with mobile development with just a device! The Live Player apps let you debug your apps and make live edits and see them reflected live on your device. Your code runs inside of the Live Player app, so no emulator needed and e…

James Montemagno James Montemagno

Introducing Coffeehouse Blunders, Chess + Tech Podcast

I could not be more excited to announce my latest podcast adventure with my good friend and International Chess Master, Daniel “Danny” Rensch that we call Coffeehouse Blunders [http://blunders.fm]. Join us each week on Coffeehouse Blunders as we discuss the latest in chess, coffee, tech, and anything else happening in our wonderful lives and around the world. Danny’s life as an International Chess Master collides with my mobile development and public speaking background for absolutely adorab…

James Montemagno James Montemagno

Important OnPlatform Changes in Xamarin.Forms

Last week I blogged about the important changes to Device.OS [http://motzcod.es/post/159463651162/device-os-xamarin-forms-obsolete-runtime-os] in the latest version of Xamarin.Forms. Well, I am back with some other changes from that same exact Pull Request [https://github.com/xamarin/Xamarin.Forms/pull/658] that have to do with OnPlatform in code and XAML that use the new Device.RuntimePlatform. So, what is OnPlatform? It allows you to set properties on elements or run specific code based on…

James Montemagno James Montemagno