ACCU Home page ACCU Conference Page
Search Contact us ACCU at Flickr ACCU at GitHib ACCU at Facebook ACCU at Linked-in ACCU at Twitter Skip Navigation

Search in Book Reviews

The ACCU passes on review copies of computer books to its members for them to review. The result is a large, high quality collection of book reviews by programmers, for programmers. Currently there are 1949 reviews in the database and more every month.
Search is a simple string search in either book title or book author. The full text search is a search of the text of the review.
    View all alphabetically
Title:
Professional Android Programming with Mono for Android and .NET/C#
Author:
McClure, Blevins, Croft, Dick and Hardy Wrox
ISBN:
978-1-118-02643-4
Publisher:
Wiley (2012)
Pages:
552pp
Price:
£
Reviewer:
Paul Johnson
Subject:
Appeared in:
25-3

Reviewed: July 2013

Highly recommended

Xamarin.Android (as it is now known) suffers from one simple thing – a lack of any sort of reference material. There are scant few books covering .NET programming on Android devices and programming with .NET on

Android is not the same as programming for Android in Java. For a start, it’s easier! If you know .NET already, why go through the curve of learning Java? What this book provides the user with are simple to follow examples of not how to code in C# (that is wisely left to other books), but how to code for Android using C# and to be able to access video, sound, maps and pretty much any other aspect of using an Android device. It is an invaluable addition to any book shelf. Everything in the book is clear and well explained and what is even more important, I was unable to find any of the examples that didn't just work straight off or leave me in any confusion on how to code for Android using C#. The book though does have two omissions, one of which is perhaps excusable as it can be argued as being outside of the scope of the book and that is helpful advice in porting native Java source to C#. Bringing code from the plentiful Java examples to C# is of immense use. The other omission is memory management.

Xamarin.Android suffers from a memory problem. Say you create a List<t>in .NET for the Android device. When the activity goes out of scope, the GC does its job and cleans the List<t> up – or so you think. The GC cleans the .NET pointer to the underpinning Java List<t>, but not the underpinning Java List. That has to be explicitly removed. Another memory issue is in handling bitmaps and bitmap manipulation. These can be massive memory hogs and in some cases, cause the app to crash horribly. </t></t></t>

Despite these, this book is just what the doctor asked for. A simple to follow and clearly written text that shortens the learning curve.

I hope there is a second edition which corrects these omissions and adds in animation as well as bringing it up to date with Android 4.2 being covered.