James Montemagno
James Montemagno

Live, Love, Bike, and Code.

Tags


James Montemagno

Xamarin.Forms

Getting Started with Xamarin and Xamarin.Forms Q&A

Every day when I open my inbox or look on GitHub there is always a question or ten for me to answer. I recently got a nice long email from Clifton with a lot of questions and I thought that instead of emailing him back directly that I should write up a blog post with all of my answers for the world to enjoy and add some common questions I get all the time. Clifton wrote in and said he is investigating cross-platform development with Xamarin and Xamarin.Forms as it is one unified application p…

James Montemagno James Montemagno

Building Xamarin.Android Apps in Azure DevOps (VSTS) with Hosted Agents!

I recently wrote about how to build any Xamarin.iOS application inside of Visual Studio Team Services [https://montemagno.com/building-xamarin-ios-apps-in-team-services-vsts-with-hosted-macos-agents/] using Hosted macOS Agents for free! I have updated the guide a little bit if you are leveraging .NET Standard libraries to ensure that you build with MSBuild, which is pretty important seeing that all of the new templates will soon use these. That had me thinking "I wonder if there are any sm…

James Montemagno James Montemagno

Building an ASP.NET Core Website with Xamarin.Forms, XAML, and Ooui

You read that correct, you can now totally build websites powered by XAML leveraging Xamarin.Forms and Frank Krueger [https://twitter.com/praeclarum]'s amazing Ooui library [https://github.com/praeclarum/Ooui]. If you haven't heard about Ooui yet, it is an amazing lightweight cross-platform UI library that brings the simplicity of native UI development to the web. For an in-depth overview take a listen to Merge Conflict [http://mergeconflict.fm] Episode 72 - Xamarin.Forms on the Web: To…

James Montemagno James Montemagno

Building Xamarin.iOS Apps in Azure DevOps (VSTS) with Hosted macOS Agents!

Azure DevOps (VSTS) [http://visualstudio.com/team-services] is quickly becoming one of my favorite products that Microsoft creates for developers. It helps any developer writing apps in any language build, test, and deploy their applications. On top of that it has free unlimited private Git repos, work item tracking and kanban board, test, release management, and so much more! What is cool is you can use some of it or all of it, up to you. So if you have your code in GitHub, no problem, want to…

James Montemagno James Montemagno

Dynamically Changing Xamarin.Forms Tab Icons When Selected

Spicing up your Xamarin.Forms tab can easily be done in a few ways. You can add tint color in Android when the user deselects a tab [https://montemagno.com/xamarin-forms-android-selected-and-unselected-tab-colors], which can also be done in iOS in addition to a full swap of a selected image [https://montemagno.com/tintcolor-selectedimage-xamarin-forms-ios]. It was recently pointed out to me that these blogs highlighted a way of adding back a bit of nativeness, but didn't answer a different…

James Montemagno James Montemagno

Xamarin.Forms: Microsoft Advertising SDK in UWP

In the past I have written about how to integrate Google’s Admob ads into Xamarin.Forms iOS apps [https://montemagno.com/xamarinforms-google-admob-ads-in-ios] and Android apps [https://montemagno.com/xamarinforms-google-admob-ads-in-android], which is a great way to monetize your applications. What about UWP? Well Google Admob doesn’t exist on UWP, but Microsoft has their own advertising SDK that you can integrate and it of course works with Xamarin.Forms! Here is what you need to know to get…

James Montemagno James Montemagno

Moving Plugins for Xamarin to .NET Standard

I could never imagine the amazing response to Plugins for Xamarin [http://xamarin.com/plugins], those amazing little libraries that abstract away all that platform specific code into a lovely cross-platform API for iOS, Android, and Windows. They sure have grown, with hundreds of plugins being generated by the community and with tons of installs. My plugins alone have now hit 3 Million installations! With all this momentum it is a great time to look to the future, simplify plugins, and take the…

James Montemagno James Montemagno

Why Xamarin.Forms Embedding Matters

Last week I wrote about Xamarin.Forms Embedding [http://motzcod.es/post/161785997897/embedding-xamarinforms-into-a-xamarin-native-app] , a great new feature of Xamarin.Forms, that enables developers to convert a Xamarin.Forms ContentPage into an iOS UIViewController, Android Fragment, and a UWP Page. I walked through the current setup and a real world example of adding Xamarin.Forms details pages to my Xamarin Native application which previously only had native Storyboards and Android XML pages.…

James Montemagno James Montemagno