• Tag

Android

85 posts

Xamarin.Android SwipeRefreshLayout for #MvvmCross

I was very excited to see that the latest version of Support v4 for Android was updated to include as most people would says it a “Pull to Refresh”… or as Google would call it a “SwipeRefreshLayout”. It is now available in the Xamarin.Android Support v4 Component so we should probably take advantage of it! This is actually a really slick Layout that you can make the parent of any 1 layout and when the user swipes …

James Montemagno

Xamarin.Android Templates Pack!

Xamarin.Android already ships with a bunch of great project templates for Visual Studio, however I find that there are a few things missing. I usually start a new project with a Navigation Drawer and I am always adding new Menus, but I can never seem to remember every little bit of XML that is needed for some complex menus such as share and search. This is why I have created the Xamarin.Android Templates Pack. This …

James Montemagno

Cross Platform Settings for Everyone!

If you haven’t figure it out by now, I simply love portable class libraries. I have been blogging about them, talking about them on Channel 9, and I even did a 18 city roadshow discussing PCLs and Azure Mobile Services. On my GitHub I have started to build out a lot of applications, sometimes using MvvmCross and sometimes not. One of my most starred repos is my MvvmCross plugin for saving settings on Android, iOS, …

James Montemagno

Portable Class Libraries + HttpClient: So Happy Together!

I was recently on Channel 9’s VS Toolbox talking about Xamarin and Portable Class Libraries where I showed of an expense taking application called My Expenses. This little app uses a portable class library and a SQLite database to store and track all of your expenses. I built out a full app for Android, iOS, and Windows Phone using this single PCL that housed 80%+ of all my code!

James Montemagno

Portable Class Library Tips and Tricks

There has been a recent explosion of PCL use since Microsoft and Xamarin added official support for Xamarin.Android and Xamarin.iOS. It is really amazing to have one project that is shared completely across Android, iOS, and all of the Windows platforms. I have blogged before about how to get “fake” PCL support, but I wanted to give an updated post on how to get up and running with a bunch of tips as well.

James Montemagno

Android Screen Mirroring Made Easy

UPDATE 1: Mobizen has since update their app to be web based which is a downer :( But you can get the older version still which is fantastic! http://help.mobizen.com/en/beta-pc-version/ Update #2: Be sure to check out my new blog on how to easily screen mirror android ios and windows phone devices! I have been giving a lot of presentations recently for Xamarin, and one of the biggest issues I have run into is running …

James Montemagno

MvvmCross + ActionBarCompat (v7 Support)

If you are using MvvmCross (if you aren’t you should) then you might notice that there is no official MvxActionBarActivity to use. This is sad because if you are using the new Support v7 Library then this will be a must. I am sure Stuart is going to add this or create a NuGet for it, but you can do it today by creating 2 new classes.

James Montemagno

Azure Mobile Services + Xamarin + PCL

You might have noticed that both @ChrisNTR and myself have been on the .NET Rocks Roadshow. We have been talking to awesome devs all over the US about Xamarin, PCL, and Azure all wrapped up into an amazing demo (full source code there). One common question that has come up is that while a lot of people have the demo up and running they are having a hard time getting Azure + PCL integrated into their own project. So …

James Montemagno
Milli the dog peeking up from the bottom of the page