James Montemagno
James Montemagno

Live, Love, Bike, and Code.

Tags


James Montemagno

Live, Love, Bike, and Code.


Stop Crashing!

Stop Crashing! [http://praeclarum.org/post/102015518373/stop-crashing] praeclarum [http://praeclarum.org/post/102015518373/stop-crashing]: TL;DR I wrote a script that lists functions in your Xamarin app that could cause it to crash. StopCrashing.fsx on github [http://github.com/praeclarum/StopCrashing]. We've all had apps crash. It's annoying, it's stressful, and you feel cheated. Most people give up on apps that crash more than a couple times, or they leave 1 star……

James Montemagno James Montemagno

Debug with the Xamarin Android Player from Visual Studio in VMWare or Parallels

I simply love using my Mac when combined with VMWare for development. I consider it the ultimate setup for mobile development with Visual Studio. Since everything is on the same machine the iOS simulator and Build Host just work. For Windows Phone nested virtualization with Hyper-V seems to just work (as long as you you follow the special setup guide from Nokia [http://developer.nokia.com/community/wiki/Windows_Phone_8_SDK_on_a_Virtual_Machine_with_Working_Emulator] ). However, my favorite pla…

James Montemagno James Montemagno

Announcing Bike Now on Android, for Seattle's @CyclePronto Bike Share Program

Ever since I first saw Hubway in Boston I was excited for the hopes that one day Seattle would get it’s very own bike share program. Well, 2014 is the year this happens with Pronto Cycle Share [http://www.prontocycleshare.com/] is making it a reality. I was a bit worried that there would be no official app to help track bikes around the Sound, so I decided to take up the challenge. I had a great start with Jérémie Laval’s [http://twitter.com/jeremie_laval] wonderful Moyeu [http://moyeuapp.net…

James Montemagno James Montemagno

Scanning for iBeacons in iOS 8

With iOS 7 you could easily range and scan for beacons in your application with just a few lines of code. `CLLocationManger` took care of all of the heavy lifting for you and things were just enabled for you automatically. With iOS 7.1 your users got prompted that you were going to do some scanning and it required Bluetooth. This was alright since the system took care of it for you automatically. Enter iOS 8 While iOS 8 hasn’t added too many new feature for iBeacons that I can tell thus far, th…

James Montemagno James Montemagno

Enhanced Xamarin.Android Designer with Tools Attributes

The announcement of Android L Developer Preview support [http://blog.xamarin.com/android-l-developer-preview-android-wear-support/] for Xamarin.Android developers brings tons of goodies to start playing around with, but did you know that there has been several updates to the Android designer as well? If you look through the release notes [http://developer.xamarin.com/releases/studio/xamarin.studio_5.3/xamarin.studio_5.3/] of Xamarin Studio 5.3 you will several enhancements such as the new Andro…

James Montemagno James Montemagno

Enhancing Xamarin.Forms ListView with Grouping Headers

Sometimes a plain ListView just isn’t good enough. You can easily spice it up with images [http://motzcod.es/post/88692272607/extending-xamarin-forms-monkeys-app-with-xaml-and] or custom cells [http://motzcod.es/post/93792500152/custom-listview-viewcells-in-xamarin-forms], but what about organizing the data. With C# and LINQ it is easy to sort your list, but how about giving it some visuals? How about some headers? With Xamarin.Forms it is extremely simple to add in headers and to create a cust…

James Montemagno James Montemagno

My Favorite Xamarin Studio Features

There have been a lot of exciting announcements recently from Xamarin for developers. First, is that Xamarin Indie now has a monthly subscription option for just $25 a month [http://blog.xamarin.com/xamarin-indie-now-25-dollars-per-month/]! Then there was the release of Xamarin Studio 5.2 [http://blog.xamarin.com/be-more-productive-with-these-new-xamarin-studio-features/] , which brought awesome new features such as side-by-side editing and awesome new NuGet updates. I have been a Visual Studio…

James Montemagno James Montemagno

Custom ListView ViewCells in Xamarin.Forms

I love it when frameworks have built-in cells for lists. It allows me to easily shove some data into a list and get my prototype up and running extremely quickly. However, sometimes I don’t to ship the final app with these cells and I want to do some customization. Xamarin.Forms has 4 built-in cells [http://developer.xamarin.com/guides/cross-platform/xamarin-forms/controls/cells/] to get you up and running and like everything else in Xamarin.Forms it is extremely easy to customize and create yo…

James Montemagno James Montemagno