James Montemagno
James Montemagno

Live, Love, Bike, and Code.

Tags


Twitter


James Montemagno

iOS

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

Getting Started With & Learning C#

In 2006, after years of writing C++ and Java code, while attending UAT an instructor named Phil Miller introduced me to this amazing language called C# and changed my life. It was love at first “Hello World” and I have never looked back. C# is an extremely powerful, mature, and extremely cross-platform programming language that I have been using for decades. The beauty of C# of course is that you get this amazing cross-platform framework called .NET, which gives developers ability to…

James MontemagnoJames Montemagno

Cross Platform Photos with Media Plugin

After months of work, contributions, code reviews, testing, new operating system releases, and tons of awesome new features the brand new Media Plugin for Xamarin and Windows is ready for mass consumption. Not matter how your developing your applications with Xamarin or Xamarin.Forms you can easily have your users take or pick photos and videos from shared code! Here is the easiest example of taking a photo and displaying it in a Xamarin.Forms image. takePhoto.Clicked += async (sender, args) =&g…

James MontemagnoJames Montemagno

Xamarin.Forms XAML Previewer Design Time Data

The most annticipated announcement of Xamarin Evolve 2016 had to be the Xamarin.Forms xAML Previewer. Enabling you to see a live preview of your Xamarin.Forms XAML without having to run it on a simulator or device. Simply write some XAML and there it is running on an iOS or Android phone or simulator design surface. Writing XAML and seeing it is fine, but what if you want to see sample data right inside of your preview? I mean doesn’t each View have a ViewModel associated with it? If so, t…

James MontemagnoJames Montemagno

Xamarin Evolve 2016 App Development Retrospective

Just yesterday we made the Evolve 2016 conference app completely open source on GitHub, and feedback has been fantastic with 57 stars, 26 forks, and tons of buzz on Twitter. While you are probably already digging through the code I wanted to take a moment to reflect on the development of the mobile application and some fun statistics of the application when it finally went live. Development The Xamarin Evolve conference application is packed full of everything you need for a mobile conference i…

James MontemagnoJames Montemagno

Simplified iOS & Android Runtime Permissions with Plugins!

TLDR; I created a brand new cross-platform Permissions Plugin for Xamarin to enable anyone to query and request common permissions from shared code. You can watch a video here.Permissions! Blarg!As an Android developer I have felt pretty spoiled over the last few years when it came to getting access to an API that required a permission. Simply check a checkbox in the project setting and any of the 130+ permissions were mine to have! The user installed my app and automatically granted me every pe…

James MontemagnoJames Montemagno

One Month of Live Coding!

Just a little over a month ago I decided to start a brand new live video series called Motz Codes Live. The idea was to cover a random mobile topic that I was investigating or interested in or perhaps a cover from YOU that you wanted to see, and I have to say that so far things have gone AMAZING with a bunch of awesome developers showing up each week and thousands of video views already.┬áSince the launch I have also started a Motz Codes Live GitHub repo where I upload all of my slides and any sa…

James MontemagnoJames Montemagno

Pull To Refresh Any(ish) Xamarin.Forms View!

If you have read motz.codes then you know I love, love, love, love, love pull to refresh! In face this is my sixth blog alone on adding pull/swipe to refresh to either MVVMCross or Xamarin.Forms applications. So why am I back with another blog seeing that the Xamarin.Forms team already add Official Pull to Refresh to 1.4? I am back because you asked me for it so nicely on GitHub, StackOverflow, and the Xamarin Forums for a way to update and upgrade my Xamarin.Forms pull to refresh controls for 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!