James Montemagno
James Montemagno

Live, Love, Bike, and Code.

Tags


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 [https://montemagno.com/xamarin-forms-android-selected-and-unselected-tab-colors], which can also be done in iOS in addition to a full swap of a selected image [https://montemagno.com/tintcolor-selectedimage-xamarin-forms-ios]. 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…

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

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
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

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

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 Montemagno James 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 [https://itunes.apple.com/us/app/scoreboard-game-score-keeper/id1191033523?ls=1&mt=8] and Google Play [https://play.google.com/store/apps/details?id=com.refractored.scoreboard]. Leave that pen and paper behind, Scoreboard enables you to easily keep score for any game with up 4 players or teams. Easily ke…

James Montemagno James 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 [https://motnemagno.com/xamarinforms-google-admob-ads-in-android]! 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…

James Montemagno James Montemagno