• Author

James Montemagno

Live, Love, Bike, and Code

274 posts

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.

James Montemagno

Xamarin.Forms: Google AdMob Ads in Android

I have been recently experimenting with integrating ads into my applications as an experiment. Not really to make money, but to just get it setup and working. I recently experimented with both Facebook Ads and Google AdMob for my iOS app “Social Post” and the results have been pretty good. I discussed this strategy a few weeks back on the Merge Conflict podcast with Frank on Monitization.

James Montemagno

Setting Up Android x86 HAXM Emulators

I have recently had tons of questions about my recommended settings for Android x86 Emulators on Windows or on Mac. I have recently moved away from they Hyper-V Android Emulators for VS (which are awesome), just so I have all of the Google APIs around. So here we go. Install the Intel x86 Emulators from Intel When installing make sure to set the default RAM to 512MB else it hogs up your machine Turn off Hyper-V by …

James Montemagno

Xamarin.Forms: Java.Lang.IllegalStateException

Since this one keeps coming up time and time again I figured I would write a quick blog about it. The dreaded: Java.Lang.IllegalStateException: Can not perform this action after onSaveInstanceState. that keeps crashing your application. What is it, why is it happening, and how do you fix it. This actually can happen in non-Xamarin.Forms Android applications, but it seems to keep coming up in the Forums and in GitHub …

James Montemagno

Visual Studio - Unable to launch Google Android Emulators

When developing with Xamarin in Visual Studio you have a lot of options for Android Emulators. You can go with the VS Emulators for Android powered by Hyper-V, Genymotion, or the out of the box x86 HAXM powered Android Emulators from Google (a few are installed for you already). It looks though that with some of the latest updates to Windows and VS when you go to launch them you get an error message that they can’t …

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

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

James Montemagno

Motz's Thoughts: Nintendo Switch

Last week something extremely interesting happened, when Nintendo was able to keep the announcement for their new console completely secret. They launched a short 3 minute 36 second trailer for their new console, the Nintendo Switch, and no one had any idea. No one knew the shape of the console, but the concept, joysticks, price, specs, games, name, or just about anything else besides the single rumor that it may be …

James Montemagno
James Montemagno
Author

James Montemagno

Live, Love, Bike, and Code

Milli the dog peeking up from the bottom of the page