James Montemagno
James Montemagno

Live, Love, Bike, and Code.

Tags


Twitter


James Montemagno

iOS

Dynamically Changing Xamarin.Forms Tab Icons When Selected

Spicing up your Xamarin.Forms tab can easily be done in a few ways. You can add tint color in Android when the user deselects a tab, which can also be done in iOS in addition to a full swap of a selected image. It was recently pointed out to me that these blogs highlighted a way of adding back a bit of nativeness, but didn't answer a different question of how to actually completely change the icon itself when a tab is selected. This question caught me off guard as I have never really changed th…

James MontemagnoJames Montemagno

Why Xamarin.Forms Embedding Matters

Last week I wrote about Xamarin.Forms Embedding, 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. When I originally got this setup and working I was blown away by this feature and it is…

James MontemagnoJames 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 MontemagnoJames Montemagno

Getting Started with the Xamarin Live Player

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, 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 W…

James MontemagnoJames Montemagno

Important OnPlatform Changes in Xamarin.Forms

Last week I blogged about the important changes to Device.OS in the latest version of Xamarin.Forms. Well, I am back with some other changes from that same exact Pull Request 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 specific platforms. This is really nifty for tiny tweaks to UI and can be done completely in the XAML, which is awesome. To make way for…

James MontemagnoJames Montemagno

Colored Map Markers on Xamarin iOS and Android

I was getting ready for my next Tech Summit presentation and wanted to spice up my Maps for iOS and Android. I didn’t want to create any custom marker images or anything like that, but just wanted a little color flare on it. I knew there had to be an API out there to do it in each of the native frameworks and of course there was, so here is the quick and easy solution. (If you need this for Xamarin.Forms this would make a great Effect most likely). Android - Google Map Markers Surprisingly this…

James MontemagnoJames Montemagno

Scoreboard: An app to keep track of board game scores

Today, I am excited to announce Scoreboard, a brand new app for iOS and Android making it drop dead simple to keep track of your board game scores. It is available today on the App Store and Google Play. Leave that pen and paper behind, Scoreboard enables you to easily keep score for any game with up 4 players or teams. Easily keep track of game scores including board, sport, dice, or anything else! Scoreboard doesn’t stop there as it keeps a full history of every game and all scores that you ha…

James MontemagnoJames Montemagno

Xamarin.Forms: Google Admob Ads in iOS

This weekend I spent some time integrating Admob Ads into Android applciations that live in Xamarin.Forms. I blogged about it a few days ago, so read it here first! I decided to take iOS for a spin next and put in Google/Firebase Admob Ads usin teh same exact mechanism. I will repeat a bit of the code here so each post can live on it’s own. Registring with AdMob So, the first thing that you will need to do is actually register for AdMob. This is the same thing that I did in Android, but I…

James MontemagnoJames Montemagno

I crush code and share it, publish NuGet packages, speak at conferences, upload videos, pretend I am good at playing video games, micro blog, tweet up a storm, drink gallons of coffee, and ride my bike. Checkout my monthly newsletter that you should subscribe to!