Tuesday, September 18, 2012

Databinding a ListView with Mono for Android

The world lives on data. Data is all around us and in many forms: salespeople need to know what customers have spent; twitter users want to know what their friends are saying. How do we as developers present data to a user? In Android, we use the ListView in its various forms. In this article, we'll look at using a ListView, how we can work with it, then discuss what we need to do to overcome some of the challenges in a mobile environment.

Friday, August 31, 2012

Develop an iPad app with MonoTouch, C#, and .NET.

Since its release in March 2010, the iPad has taken the world by storm. Each new iPad release has launched the device further and further into our lives. Here are some interesting facts that we have seen over the past few years along with some market share analysis:
  • The school that my teenagers attend here in Knoxville, Tennessee, was the first school in the United States to integrate the iPad into its teaching program and its curriculum. Many schools have since followed suit.
  • There are a healthy number of applications in a variety of market segments. In fact, there is a market for iPad point-of-sale systems.
  • The iPad is a popular device and growing more so each day. comScore states that one in four smartphone owners also owns a tablet. We also know that the iPad comprises 68 percent of the tablet market.
  • eMarketer recently issued a report stating that the number of iPad users is expected to grow by 90 percent in the US in 2012.
No matter how you slice the data, tablet usage is growing, and the iPad is currently leading the pack. The question for .NET developers is "How can I get me some of that?" Xamarin's MonoTouch offers help, by providing the means for .NET developers to leverage their C# and .NET coding skills to develop iPad applications. MonoTouch has supported the iPad since the initial release of the iOS 3.2 beta SDK all the way up to the most recent iOS SDK, which supports the iPad. In this article, we'll look at targeting the iPad and how we can take advantage of iPad-specific features in our iOS applications written with MonoTouch.
I hope you enjoy the article and you find it helpful. 

Wednesday, August 15, 2012

Two new video series on Mono for Android from AppDev

I've had two short video series publish on Mono for Android at AppDev.com. The videos are:
  • Mono for Android by Xamarin has become an excellent development platform for creating applications for the Android OS. The release of Mono for Android 4.2 has introduced some new features. This course will cover the Android Java binding library project with use of .NET, library customization and bindings, and API Level 15. Url: http://www.appdev.com/outline.asp?catalog_name=AppDevCatalog&category_name=AM32Product
  • Mono for Android by Xamarin has become an excellent development platform for creating applications for the Android OS. The release of Mono for Android 4.2 has introduced some new features. This course will highlight the new features in the Xamarin Designer for Android. Url:http://www.appdev.com/outline.asp?catalog_name=AppDevCatalog&category_name=AM31Product Some of the items covered include:
    • Mono for Android Status
    • Market Status
    • Designer
    • Visual Studio
    • MonoDevelop
    • Designer Features
    • Zoom Controls
    • Toolbox
    • Property Pad
    • Outline View
    • Resource Qualifiers
    • Resource Editing
    • Designer Advantages

Thursday, July 5, 2012

Review - Professional Android Programming with Mono for Android and .NET/C#

Mike Riley of Dev Pro Connections Magazine has a review of our Mono for Android book.  You can read the full review on their site
Mono for Android has been available for more than a year. The documentation for the product is adequate and has been improving over time, but until recently, finding a good book about the technology was difficult. Such a constraint has been lifted thanks to Wiley's Professional Android Programming with Mono for Android and .NET/C#. Written under the Wrox imprint by several contributors (Wallace B. McClure, Nathan Blevins, John J. Croft, Jonathan Dick, and Chris Hardy), the book is one of the most comprehensive and helpful Mono for Android titles currently on the market.
Please buy 8-10 copies of our book for the ones you love, they make great romantic gifts.

Tuesday, June 26, 2012

Xamarin Designer for Android Article

It's interesting to look at the needs of various segments of developers. When I first start looking at an environment, the first thing I need to understand is the UI. I'm not magically born with some knowledge about the environment and don't learn well by just reading, so I need some help in getting started. I found this was true when I started Windows based development in the early 1990s, Dynamic Web in the late 1990s, ASP.NET in 2000, Silverlight/WPF, iPhone and Android.
I find that getting up to speed with a UI is the single biggest deterrent for someone learning a platform. I find that as a beginner I need the features provided by a design surface. It's only as I grow and become comfortable with a platform that I find that building a UI by hand is more productive. Even as I get more advanced, I still can learn from a designer, so it has value as I grow into a platform.
I hope that this article helps you as you dive into Android Development.

Thursday, May 31, 2012

Cross-Platform Mobile Development With Mono for Android and MonoTouch

Many years ago, in fact pre-Java, I remember a hallway discussion about the desire to write a single application that could easily run across various platforms. At the time, we were only worried about writing applications on Windows 3.1 and Mac OS 7.x. There were many discussions about windows, user interface concepts, and specifically a rather long discussion as to whether Mac users would accept a Mac application that didn't have balloon help. Thankfully, the marketplace answered this question for us with the Windows API winning the battle.
A similar set of questions is currently going on in the mobile world. Unfortunately, at this point in time, there is currently no winning API and none currently in sight. What's a developer to do? Here are some questions that developers have (and there are many more):
  • How can mobile developers target Android and the iPhone with the same code?
  • How can .NET developers share their code across Android, iPhone and other platforms?
  • How can developers give applications the look and feel of the specific platform and still allow as much code as possible to be shared?
  • Mobile devices share many common features, such as cameras, accelerometers, and address books. How can we take advantage of them in a platform independent way and still give the users the look of every other application running on their platform?

Xamarin Designer for Android Webinar - Recording

Here is some info on the recording of the webinar that I did last week for AppDev regarding the Xamarin Designer for Android.Xamarin Designer

Basic Info: Android user interfaces can be created declaratively by using XML files, or programmatically in code. The Xamarin Android Designer allows developers to create and modify declarative layouts visually, without having to deal with the tedium of hand-editing XML files. The designer also provides real-time feedback, which lets the developer validate changes without having to redeploy the application in order to test a design. This can speed up UI development in Android tremendously. In this webinar, we'll take a look at UI Design in Mono for Android, the basics of the Xamarin Android Designer, and build a simple application with the designer.

Here is the link:

http://media.appdev.com/EDGE/LL/livelearn05232012.wmv

I think it will only play in Internet Explorer.  Enjoy!