Friday, December 14, 2012

Android 4 Fragments with Mono for Android

With the release of Android 3.0, Google added support for larger displays and attention-grabbing UI designs and layouts. On a tablet screen, UI components can be used to present better information. How does Android do this? It has a technology called Fragments, and I'll look at its implementation in the currently shipping operating system, Android 4. (Let's get past all the jokes about Android and fragmentation on its device platform.)
For more information on this, check out my article at Visual Studio Magazine - http://visualstudiomagazine.com/articles/2012/12/13/android-4-and-fragments.aspx

Monday, November 12, 2012

Webinar Recording on Cross Platform Development with MonoTouch and Mono for Android

The iPhone and Android are dominant in the marketplace. The two platforms currently have 85% of the smartphone marketplace and are continuing to grow that marketshare. Developers are being tasked with targeting these two platforms. In this session, we’ll take a high level look at how we can use c# and .NET knowledge to share code between iOS and and Android. We’ll look at linked files, using the Xamarin Mobile API, the challenges of running across platforms and frameworks, as well as other features of Visual Studio, Monotouch, MonoDevelop, and Mono for Android that allows us to write as much code that can run on both platforms.
The following link is a recording on Cross Platform Development with MonoTouch and Mono for Android. I am guessing that the link only works in IE. That's out of my control.

Monday, October 29, 2012

MSDN article on jQuery Mobile

My article on jQuery Mobile has been published.  Please check it out.
There’s no doubt about it. Wherever developers look and whoever they talk to, mobile is at the top of the list. Talk to a C-level executive, and the conversation turns to mobile, and the question “How do I get me some of that?” comes up. Talk to other developers, and they tell you they’re targeting mobile devices. Mobile has become a big deal as smartphones have taken hold in the consumer marketplace.
In the years leading up to the current focus on mobile applications and devices, Web developers have been adding more and more client-side functionality to their applications. You can see this in the use of client-side JavaScript libraries like jQuery.
With the growth of the market for mobile devices, the ability to create applications that run across platforms is very important for developers and for businesses that are trying to keep their expenses in check. There are a set of applications, mostly in the area of content consumption (think Amazon.com), that run well in a mobile Web browser. Unfortunately, there are differences between Web browsers on various mobile devices. The goal of the recently introduced jQuery Mobile (jQM) library is to provide cross-browser support to allow developers to build applications that can run across the various mobile Web browsers and provide the same—or at least a very similar—user interface.
The jQuery Mobile library was introduced in an alpha release in the fall of 2010 and released to manufacturing in November 2011. At the time of this writing, the current version of jQuery Mobile is 1.1.1. By the time you read this, jQuery Mobile will almost certainly have reached version 1.2.0. The library has been embraced by Microsoft, Adobe and other companies for mobile Web development. In August 2011, jQM had 32 percent market share compared with other mobile JavaScript frameworks such as iWebKit and jQTouch. This market share is impressive given that it started from zero little more than 12 months ago, and the 1.0 release is the first officially supported release.

Friday, October 19, 2012

Location, Orientation, and Writing a Custom Control with Mono for Android, .NET, and C#

Like real estate, mobile is about location, location, location. That means that direction is an important item. And just as important is how this information is presented to the user. In Nov. 2011, we talked about building a user interface in Mono For Android. In this article, I'll expand a little bit on that by creating a compass that displays north. We'll use Android's built-in sensor support to determine the orientation of the device, then use a custom control to display North. The output will look like

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