Xamarin: Mars Petcare Improves Engagement 10x with Xamarin

In 1911, Frank C. Mars made the first Mars candies, establishing Mars’ roots as a confectionery company. The company, based in McLean, Virginia, now has a presence in 74 countries, generating net sales of more than $33 billion a year. Mars Petcare, one of the company’s six lines of business, is headquartered in Brussels, Belgium, […]

The post Mars Petcare Improves Engagement 10x with Xamarin appeared first on Xamarin Blog.

James Montemagno: Motz Codes Live!

When I am not traveling around presenting at conferences, dev days, user groups, and code camps you will probably find me doing one of three things: Riding my bike, drinking coffee, and most likely coding. The elusive Motz can be found coding usually from home or in a coffee shop drinking said coffe, but I have finally decided to unleash my coding to the world in a new web series I am calling “Motz Codes Live”.

Each week I will be covering a topic of mobile development and for about 30-60 mintues I will be coding live, answer questions, and showing you exactly how I code on a daily basis.

Last week I kicked things off by covering how to create your very first Xamarin.UITest test and ship your app to Xamarin Test Cloud all in under 60 minutes. If you weren’t able to see it live the best part is all Motz Codes Live episodes are recorded! Here is the first one:

This Friday I will be covering the topic of using local storage with SQLite-net PCL in your apps. You can subsribe to my Youtube station for the latest updates. Be sure to register here on google hangouts.

Be sure to follow my Google+ or Twitter account for new episodes.

Xamarin: Xamarin Helps Launch AWS APN Mobile Competency Program

We’re excited to announce that we’ve been selected as an inaugural Amazon Web Services’ (AWS) Mobile Competency Program Partner. The Amazon Partner Network (APN) Competency Program highlights companies who have demonstrated technical expertise and customer success across specialized solutions and industries, including security, digital media, big data, and many others. The new Mobile Competency Program […]

The post Xamarin Helps Launch AWS APN Mobile Competency Program appeared first on Xamarin Blog.

Johan Karlsson: Different images for selected and unselected using Xamarin Forms Tab Bar

This is just a simple hack for iOS using Xamarin Forms and icons for a TabbedPage.

Problem definition

In Xamarin Forms, the icon of the tab bar is fetched from what ever image you reference in the Icon property of the page added to the TabbedPage. This image is grayed out if unselected and filled in with the defined color when selected.
However, sometimes you want to display a different image if unselected or selected and there is no build in way to specify this nicely.


The solution is a small hack. Simply add event handlers to the Appearing and Disappearing events and reset the images to your liking.

         var activeImage = active;
            var inactiveImage = inactive;

            var tab1 = new AnotherPage();
            tab1.Title = Check in;
            tab1.Icon = new FileImageSource() { File = activeImage };
            tab1.Appearing += (s, a) => tab1.Icon = new FileImageSource() { File = activeImage };
            tab1.Disappearing += (s, a) => tab1.Icon = new FileImageSource() { File = inactiveImage };


Should it be done? Probably not, but if your out of options (that is your customer insist of doing it in such way) then this is an option.

Also worth noting is that the images will flicker if the debugger is attached. There is no visible delay when running it in release.

Xamarin: Using Auto Layouts for iOS 9 SplitView

The official launch of iOS 9 is on the horizon, which makes it a great time to ensure your Xamarin.iOS app is ready to take advantage of all of the upcoming features. One that I’m excited about is the new and improved multi-tasking experience on the iPad. With iOS 9, it’s possible to run two apps side-by-side in […]

The post Using Auto Layouts for iOS 9 SplitView appeared first on Xamarin Blog.

Xamarin: Free Xamarin Subscriptions for Windows Phone Developers

Xamarin developers have been coding the dream: crafting a single, shared codebase to target the multi-device world we live in. Here at Xamarin, we’re excited about the recent release of the Universal Windows Platform, and we know that both Xamarin and Windows Phone developers are excited about the improvements introduced in Windows 10. To help […]

The post Free Xamarin Subscriptions for Windows Phone Developers appeared first on Xamarin Blog.

Adam J Wolf: Weekly Xamarin Newsletter Issue #53

Contest: Test Your Way to Xamarin Evolve Jayme Singleton, from Xamarin Inc., announces a new contest that can win you a trip to Evolve 2016. Xamarin.UITest Reaches 1.0 Release Steven Yi, from Xamarin Inc., announces the 1.0 release milestone of Xamarin.UITest. Cross Platform Compositional Gestures  George Cook, from Twin Technologies, puts together an epic post […]

The post Weekly Xamarin Newsletter Issue #53 appeared first on Syntax is my UI.