James Montemagno
James Montemagno

Live, Love, Bike, and Code.

Tags


James Montemagno

Live, Love, Bike, and Code.


The New Montemagno.com, a.k.a. MotzCod.es

It has been over 15 years since I started blogging on the internet and nearly 5 years since I started my dedicated development blog, MotzCod.es, focusing on cross-platform mobile development with Xamarin and C#. I have loved each and every moment of running my blogs and being able to write about my true passions in life. Throughout the years the number of blog posts I generated grew, readership grew, and I have also grown a lot in life and my career. With all that growth, I knew it was time for…

James Montemagno James Montemagno

The Xamarin.Android Template Pack Returns for VS 2017

A few years back I published some awesome Xamarin.Android item and project templates [https://visualstudiogallery.msdn.microsoft.com/bee6442f-8f5a-4bba-8849-e380b61e76b0?redir=0] to simplify development with Android’s AppCompat libraries. The item templates have actually found their way into Visual Studio, which is pretty awesome: What about the project templates? Well I am hoping for this fall to unleash brand new templates for Xamarin.Android directly in the box, but until then I have updat…

James Montemagno James Montemagno

Removing BottomNavigationView’s Icon Shifting in Xamarin.Android

I recently blogged about Android’s super fancy new BottomNavigationView [https://blog.xamarin.com/exploring-androids-bottom-navigation-view/], and how easy it was to get started with them in your Xamarin.Android application. I also went through a lot of color customizations that developers can blend in to really make their BottomNavigationView stand out. While this new bottom navigation is awesome, it is also still brand new with a lot of features locked behind internals and hidden fields, whi…

James Montemagno James Montemagno

Easily Clean Bin/Obj Folders

In an earlier blog post I talked about how to clean up space on your Xamarin Developer machine [http://motzcod.es/post/158519702967/cleanup-up-space-xamarin-dev-machine] by deleting old installations, NuGet cache, and Android junk sitting around. We can take it one step further and delete all of that clutter that is built up in the bin/obj folders! This can be gigs of data. Here is my GitHub folder: Inside of each of my repo folders sits code and the bin/obj folders from each build, which can…

James Montemagno James Montemagno

Motz’s Thoughts: Aztez - Buy This Game

Let’s hop into the way back when machine, to a time when I created video games for a living. It was at a small studio where we worked on a small Xbox 360 game called Shred Nebula. There I would find my love for C# and desktop tool development, and where I worked with some amazing people that became some of my best friends. One of those individuals is my good friend Ben Ruiz, who today along with Mathew Wegner at Team Colorblind have released Aztez: A Game of Conquest and Brutality [http://aztez.…

James Montemagno James Montemagno

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

C# Developers: Stop Calling .Result

I love async/await Task based programming! I talk about it in all my demos, it is in all my libraries, and Frank and I did a whole Merge Conflict podcast episode [http://www.mergeconflict.fm/merge-conflict-44-i-love-callbacks] on it. The problem is that I keep getting bug reports and seeing samples where it is being abused and used completely wrong. I am never a fan of calling a lot of async code in a constructor or in the OnCreate/AppDelegate, but the real issue is when I see stuff like this w…

James Montemagno James Montemagno

Xamarin.Forms: Microsoft Advertising SDK in UWP

In the past I have written about how to integrate Google’s Admob ads into Xamarin.Forms iOS apps [https://montemagno.com/xamarinforms-google-admob-ads-in-ios] and Android apps [https://montemagno.com/xamarinforms-google-admob-ads-in-android], which is a great way to monetize your applications. What about UWP? Well Google Admob doesn’t exist on UWP, but Microsoft has their own advertising SDK that you can integrate and it of course works with Xamarin.Forms! Here is what you need to know to get…

James Montemagno James Montemagno