James Montemagno
James Montemagno

Live, Love, Bike, and Code.

Tags


James Montemagno

Xamarin.Forms

How to Build & Ship an App in a Week with Xamarin.Forms

TLDR; I built an app in a few days over the holidays to keep track of board game and sport scores called Scoreboard, which is available now on iOS [https://itunes.apple.com/us/app/scoreboard-game-score-keeper/id1191033523?ls=1&mt=8] and Android [https://play.google.com/store/apps/details?id=com.refractored.scoreboard]! Over the holidays I didn’t expect to sit down and write an entire app for iOS and Android from scratch, but I did. It all started when Heather and I were playing Qwirkle [ht…

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

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 [http://mergeconflict.fm] podcast with Frank on Monitization. Now, it is time to go a step further and add some ads into my Xamarin.Forms ap…

James Montemagno 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 due to the heavy use of async/await, plugins, and developers attempting to nav…

James Montemagno 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 [http://github.com/jamesmontemagno/mediaplugin] 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 i…

James Montemagno James Montemagno

Updating Azure Mobile SQLiteStore to 3.0

If you are using Azure Mobile Apps [https://github.com/Azure/azure-mobile-apps-net-client] as a backend for your Xamarin and Windows apps you may have seen a very fancy new 3.0 release pop up in NuGet. This is a super important update for the NuGet that brings in the amazing SQLite.raw [https://github.com/ericsink/SQLitePCL.raw] to ensure compatibility with changes in Android N [https://blog.xamarin.com/preparing-for-native-library-linking-changes-in-android-n/] . So what is new? Well accordin…

James Montemagno James Montemagno

Installing a PCL into netstandard Libraries (Plugins & Xamarin.Forms)

Last week we announced that Xamarin projects now support netstandard libraries [https://blog.xamarin.com/net-standard-library-support-for-xamarin/], which is awesome! I made a short video on how to get started and upgrade a PCL to a netstandard library that any application could consume. The first question I got was if I could install Xamarin.Forms into a netstandard library, and I quickly said I don’t think so, because when I tried Visual Studio and NuGet got all mad at me. This is because I d…

James Montemagno James Montemagno