March 17, 2014

End March with a Great Mobile Meetup!

By

March has been a very exciting month for Xamarin developer groups. We have already seen several new groups have their inaugural meetup including Ogden Utah, Denver, South Florida, Northern Virginia and Glasgow! We want to welcome these groups to the Xamarin developers group community and thank all of our groups for their dedication to the Xamarin community by having great meetups each month. This month there were so many meetups that had to break it into two parts. We are over joyed to see even more new groups meeting this month to add to the plethora of meetups happening in the second half of the month.

end of march 2014

Here are some upcoming Xamarin developer group meetups:

Nashville Xamarin User Group us

  • Nashville, TN: Tuesday, Mar. 18th 6:30PM
  • Something Fun! Xamarin University + Coding Dojo Part II

New Group: NJ Xamarin Developers Meetup us

  • Montclair, NJ: Tuesday, Mar. 18th 7:00PM

  • Meet and Greet + Xamarin Discussion

London .NET Developers ca

  • London, ON: Wednesday, Mar. 19th 6:30PM
  • Build 2 apps for the price of one using MVVM and Portable Class Libraries

New Group: Vancouver Mobile .NET ca

  • Vancouver, BC: Thursday, Mar. 20th 7:00PM
  • Introductions & Cross-platform .NET development!

Boston Mobile C# Developer’s Group in

  • Cambridge, MA: Thursday, Mar. 20th 6:30PM
  • Mastering Time and SpaceJérémie Laval, Xamarin

Cape Town Xamarin Users Group za

  • Cape Town, South Africa: Thursday, Mar. 20th 5:30PM
  • Visual Studio + Xamarin & Introduction to Cross Platform Development

Detroit Mobile .NET Users Group us

  • Southfield, MI: Monday, Mar. 24th 6:00PM
  • Getting started with starter-mobile project template

Northern Florida Xamarin User Group us

  • Jacksonville, FL: Tuesday, Mar. 25th 6:00PM

  • Xamarin Test Cloud + Calabash

Sydney Mobile .NET Developers Group au

  • Sydney, Australia: Tuesday, Mar. 25th 6:30PM

  • Azure Mobile Services with Xamarin and MvvmCross

New Group: Warangal Xamarin Dev in

  • Warangal, India: Saturday, Mar. 29th 10:00AM
  • Introduction & Hands on with Xamarin Technologies

New Group: Los Angeles Mobile .NET Developers Group us

  • Northridge, CA: Monday, Mar. 31st 7:00PM
  • Google Glass Development with Xamarin

If you don’t see your city listed above, don’t worry as new events and developer group meetups are being added frequently on the Xamarin Events forum. Feel free to also browse through past presentations on the Xamarin Presentations forum. Here are a few new presentations given and shared recently:

If you are interested in starting a developer group in your city we are here to help you get started. We have tips and trick on staring a developer group, a brand new introduction to Xamarin slide deck, and of course our community sponsorship program to get you on your way. We also want to hear from you so please feel free to send us an email or tweet @XamarinHQ so we can help spread the word and continue to grow the Xamarin community.

TwitterFacebookGoogle+LinkedInEmail

Samsung and Xamarin Partner to Provide Heightened Mobile Security

By

knox_infographicWe are happy today to announce a new partnership with Samsung that enables you to create great native mobile applications with enhanced security capabilities provided by Samsung KNOX.  Our goal is to offer you the most options in creating great native applications and this partnership gives you more flexibility regarding app security.

Samsung KNOX is an end-to-end secure mobile platform solution designed to provide advanced data and privacy protection for both enterprises and consumers, which is increasingly important in today’s BYOD environment.  The combination of Xamarin and Samsung KNOX will enable you to create high-performance native mobile applications while seamlessly deploying them within a secure hardened environment on mobile devices.

In recent months Xamarin has announced strategic relationships with leaders Microsoft and SAP in order to make it easier for you to create great enterprise mobile apps.  Our integration work with Samsung furthers this goal.

Visit our enterprise page for more information about how you can take your enterprise mobile with Xamarin.

TwitterFacebookGoogle+LinkedInEmail
March 13, 2014

Webinar Recording: Xamarin and SAP Mobile Platform for Mobile Enterprise Success

By

Xamarin and SAP joined forces to help C# developers build performant, native mobile enterprise apps. Using the new Xamarin SDK for SAP Mobile Platform, businesses gain secure access to on-premise and cloud-based data in Xamarin apps. Watch this webinar to see  a demo of the Xamarin Test Cloud and SAP Mobile .NET SDK from Xamarin, and a walkthrough the SAP Mobile Platform.

Presenters:
Bill Clark, Global Vice President of Mobile Strategy at SAP
Kiran Karunakaran, Director of Product Management at SAP
Zack Gramana, Technical Marketing Manager at Xamarin
Chris King, Customer Success Engineer for Xamarin Test Cloud

View a recording of the webinar at:
http://xamarin.wistia.com/medias/xcak8ronxu

Slides from the webinar:
Xamarin – http://www.slideshare.net/Xamarin/sap-webinar-1
SAP – http://slidesha.re/OoQcxJ

Xamarin SAP Mobile .NET SDK:
https://components.xamarin.com/view/sap-mobile-platform

TwitterFacebookGoogle+LinkedInEmail
March 12, 2014

Building Enterprise Dashboards on the iPhone and iPad

By

Over the years traditional desktop applications have excelled at rendering large amounts of data on large multi-monitor configurations by leveraging beautiful dashboard and graphing controls from .NET vendors. The enterprise landscape has evolved into a bring your own device workplace and enterprise applications have also started to evolve to adjust for this shift. It is now up to development teams to reimagine their applications from a point and click mouse experience to a beautiful touch based mobile experience that can deliver a truly native experience on each platform. Mobile users desire easy content consumption with simple touch interactions and blazingly fast native performance to fully immerse them visually. They want to get to the data they are most interested in and get to that data quickly.

 nuclios-charts

With Xamarin you can create beautiful native experiences for all types of mobile application including bringing these dashboards to mobile devices. We understand that mobile developers need to deliver alluring apps for enterprises and consumers by embracing native platform features while still being highly productive in their development environment. We have a rich ecosystem of components and controls to get developers up and running immediately with highly performing, visual, and customizable controls that meet business requirements. This of course includes dashboards that you can bring to your applications.

Nuclios-Logo

One of these controls is from Infragistics who published their NucliOS component on the Xamarin Component Store, featuring over 40 different charts optimized for mobile. NucliOS has a wide range of controls to help visualize and analyze large volumes of data ranging from advanced scientific and financial charts, data grids, pie charts, radial gauges, and more. They even have a free iOS app to browse all of the controls featured in NucliOS, which is available on the Apple App Store.

NucliOS has tons of awesome controls, which I can’t attempt to show off in just a single post. So, for this example I am going to get you started by showing you how to make a bar chart using the IGChartView control. You can then take it from there to completely customize it as it can render more than 40 different chart types!

Getting Started

To get started with NucliOS controls you can either purchase the component from the component store or elect for the “Try” option to start a free trial right away.

NucliOS-GetStarted

After you have the component we can started by setting up a data source for the bar chart. 

Identify a Data Source

We will need some sort of data source to feed into our chart. For this example I am going to use something very familiar, Microsoft’s Northwind Database. Northwind is exposed as an oData Service with all sorts of sample data including employees, customers, orders, and products. I will consume this oData feed using the Simple.oData.Client portable class library, which handles connecting to and fetching the data to create a dashboard displaying sales for products based on their categories.

Here is what my Model looks like for the data:

 public class SalesByCategory {
    public SalesByCategory ()
    {
        ProductName = new List ();
        ProductSales = new List ();
    }
    public List ProductName{
        get;
        set;
    }
    public List ProductSales{
        get;
        set;
    }
}

Next up I will create a simple helper method that will query Northwind and grab the top 15 selling products by category:

 async Task GetDataAsync() {
    var client = new ODataClient("http://services.odata.org/Northwind/Northwind.svc/");
    var salesData = await client.For ("Sales_by_Categories").Top(15).OrderBy("ProductSales").FindEntriesAsync();
    SalesByCategory salesByCategory = new SalesByCategory();
    foreach (var sale in salesData) {
        salesByCategory.ProductName.Add (NSObject.FromObject(sale["ProductName"].ToString()));
        salesByCategory.ProductSales.Add (NSObject.FromObject(sale["ProductSales"].ToString()));
    }
    return salesByCategory;
}

With this data I can visualize it by feeding it into an IGChartView with the help of IGCategorySeriesDataSourceHelper :

var data = await GetDataAsync ();
// set data source
IGCategorySeriesDataSourceHelper barSeriesSource = new IGCategorySeriesDataSourceHelper();
barSeriesSource.Values = data.ProductSales.ToArray();
barSeriesSource.Labels = data.ProductName.ToArray();

Create Axises

We are going to create a 2D chart, so I will set the X and Y axis to chart the data of the product’s sales and product name respectively.

// Create axis types and add it to the chart
IGNumericXAxis xAxisBar = new IGNumericXAxis ("xAxis");
IGCategoryYAxis yAxisBar = new IGCategoryYAxis ("yAxis");

Create Series

As mentioned earlier, I am going to plot this data in a bar series. To do this will set it’s data source from which we created earlier with the help of IGCategorySeriesDataSourceHelper

// decide on what series need to be displayed on the chart
IGBarSeries barSeries= new IGBarSeries ("series");
barSeries.XAxis = xAxisBar;
barSeries.YAxis = yAxisBar;
// set the appropriate data sources
barSeries.DataSource = barSeriesSource;

Putting it all together

Now all we have to do is set the IGChartView axis, series, and location to finalize the visualization our data.

var chart = new IGChartView(this.View.Bounds);
chart.AutoresizingMask = UIViewAutoresizing.FlexibleHeight | UIViewAutoresizing.FlexibleWidth;
chart.AddAxis(xAxisBar);
chart.AddAxis(yAxisBar);
chart.AddSeries(barSeries);
 this.View.Add(chart);

That’s it! We now have a beautiful visualization of our data.

NucliOS-Chart-SalesData

The IGChartView can be completely customized and changed with just a few lines of code. In fact, I can change this into a Column Series by simply changing my X and Y axis and setting up the chart as an IGColumnSeries:

var xAxisBar = new IGCategoryXAxis ("xAxis");
var yAxisBar = new IGNumericYAxis ("yAxis");
var columnSeries = new IGColumnSeries ("series");
columnSeries.XAxis = xAxisBar;
columnSeries.YAxis = yAxisBar;

Column Series

You can download all of this source code to try it for yourself from GitHub.

Discuss this blog post in the Xamarin Forums

TwitterFacebookGoogle+LinkedInEmail
March 10, 2014

Xamarin Welcomes iOS 7.1, with Day One Support!

By

We are excited to announce that we have just released our support for all of the new APIs introduced iOS 7.1, which Apple just released today. We have shipped same day support for iOS since iOS 5, enabling developers to add the latest features to their iOS apps immediately.

When you dive into the APIs of iOS 7.1 you will notice that there is new support for External Media Players, which introduces a few new classes such as MPPlayableContentManager to control interactions between your app and external media players. Additionally, you will find MPContentItem, MPRemoteCommand, and MPRemoteCommandEvent along with a few other classes to assist you in connecting to external media players. OpenGL ES has also been updated with added support for automatic multithreading by simply setting the IsMultiThreaded property to true after creating your EAGLContext.

You can browse our entire API change log and release notes to find out the latest features released today with Xamarin.iOS 7.2 and the new iOS 7.1 APIs. Also, be sure to update your version of XCode to 5.1 available from the App Store.

TwitterFacebookGoogle+LinkedInEmail
March 6, 2014

Xamarin Invades Channel 9

By

channel-9-logo Channel 9 is an amazing resource for developers featuring a plethora of video shows, blogs, and developer resources. While Channel 9 has always been primarily Microsoft technology focused, Xamarin has recently been featured on multiple shows highlighting the awesome ways to create beautiful native cross platform mobile apps powered by C#.

Last week I kicked off a four part series on Visual Studio Toolbox, a show focused on being productive in Visual Studio, showcasing creating Android and iOS apps inside of Visual Studio with Xamarin. Part 1 focused on an introduction to Xamarin and how to get up and running inside of Visual Studio. I create a simple cross platform application and demonstrate how to start sharing code immediately on Android, iOS, and Windows Phone.

Part 2 takes is a step further to highlight how to leverage portable class libraries to create a single assembly that is shared on all platforms.

The final parts of the series will launch in March so stay tuned for those.

The invasion didn’t stop there though as Xamarin’s Mike Bluestein took center stage on Dev Radio for a fire side chat about all things Xamarin and our unique approach to create cross platform native apps in C#:

Subscribe and check back often to these shows and others on Channel 9 for more great Xamarin showcases.

TwitterFacebookGoogle+LinkedInEmail

Xamarin Takes Top Spot for Best Mobile Development Tool

By

We’re very pleased to have been selected by Dr. Dobb’s magazine as the Jolt Award winner for best mobile development tool.

Jolt Award

The Jolt judges’ recognition of Xamarin as the premier solution for building mobile applications is a wonderful confirmation of all the work that has gone into bringing our platform to the world.

Through the day to day work that everyone at Xamarin does, we continue to press forward making our goal of bringing joy to developer’s lives a reality.

We’d like to thank Dr. Dobbs for this award. And on behalf of everyone at Xamarin, we’d like to thank our many customers who make what we do possible.

TwitterFacebookGoogle+LinkedInEmail
March 3, 2014

Awesome Mobile C# Meetups to Start off March

By

With the recent introduction of our Xamarin Community Sponsorship Program there has been explosive growth in Xamarin developer groups and we couldn’t be more excited. This means that now more then ever you have the perfect opportunity to catch up with fellow Xamarin developers to learn about interesting new topics in your area. There are so many upcoming meetups that we are now going to be blogging about them twice a month. If you don’t see a meetup in your area be sure to check out our new Events forum or check back to the blog often for new updates.

meetup-banner-march-early

Here are some upcoming Xamarin user group meetups for beginning of March:

Seattle Mobile .NET Developers Group us

  • Seattle, WA: Tuesday, Mar. 4th 6:00PM
  • Introduction to iOS Development in C#Frank Krueger

New Group: Ogden Mobile .NET Developers Group us

  • Ogden, UT: Tuesday, Mar. 4th 6:00PM

  • Introduction To XamarinJon Douglas

New Group: Denver Mobile .NET Developers Group us

  • Denver, CO: Wednesday, Mar. 5th 7:00PM
  • Mobile Application Development

New Group: Glasgow Mobile .NET Developers Group scotland

  • Glasgow, Scotland, UK: Thursday, Mar. 6th 7:00PM
  • Cross-Platform Mobile Development with C# + MvvmCross

Mysore Mob Hacks in

  • Mysore, India: Saturday, Mar. 8th 10:30AM
  • Taking existing .Net apps to 4 platformsNish Anil, Xamarin

NYC Mobile .NET Developers Group us

  • New York, NY: Monday, Mar. 10th 6:45PM
  • Developing Enterprise Applications on XamarinSzymon Rozga

New Group: South Florida Xamarin User Group us

  • Fort Lauderdale, FL: Tuesday, Mar. 11th 6:00PM
  • Introduction to Xamarin and Development Labs

.NET Uruguay uy

  • Montevideo, Uruguay: Tuesday, Mar. 11th 7:15PM

  • Developing Native Mobile Applications using C#

New Group: Northern Virginia Mobile C# Developers’ Group us

  • Mc Lean, VA: Wednesday, Mar. 12th 7:00PM

  • Getting Started with Cross Platform Mobile Development in C#Ed Snider, InfernoRed Technology

If you don’t see your city listed above, you can browse the full list of user groups at xamarin.meetup.com. New events and user groups are being added frequently, so be sure to check throughout the month for updates. We also recently relaunched our Community forums not only include upcoming events, but also a place to find past presentations from Xamarin and the awesome Xamarin community.

If you are interested in starting a developer group in your city we are here to help you get started. We have tips and trick on staring a developer group, a brand new introduction to Xamarin slide deck, and of course our community sponsorship program to get you on your way. We also want to hear from you so please feel free to send us an email or tweet @XamarinHQ so we can help spread the word and continue to grow the Xamarin community.

TwitterFacebookGoogle+LinkedInEmail
February 28, 2014

Webinar Recording: Create beautiful, unique data visualization charts with ShinobiControls and Xamarin

By

ShinobiControls offers a cross-platform charting solution for high-quality data visualization on both iOS and Android. In this webinar, Sam Davies and Colin Eberhardt build a Xamarin app for displaying stock prices using shared code across both platforms. This includes looking at how Xamarin enables the sharing of business logic, how to get started with ShinobiCharts for both iOS and Android, and a few of the visual customizations available with ShinobiCharts.

By the end of the webinar you’ll have a good understanding of how to build a cross-platform data-visualization app using Xamarin, with the code being made available after the webinar for you to download and play with.

View a recording of the webinar at:
http://xamarin.wistia.com/medias/sn19wvn2lm

Slides from the webinar:
https://speakerdeck.com/sammyd/cross-platform-data-visualization-for-mobile-with-shinobicontrols-and-xamarin

Source Code:
https://github.com/ShinobiControls/Xamarin-cross-platform-charting

TwitterFacebookGoogle+LinkedInEmail
February 26, 2014

Creating Magic with Cloud Connected Mobile Apps

By

In a little over two months Xamarin, .NET Rocks!, and Visual Studio toured 18 cities across the country showing how awesome it is to create cloud connected cross-platform mobile apps with Xamarin and Azure Mobile Services. If you weren’t able to attend the tour don’t worry as you can now watch a full webinar recording of the presentation given on the tour. In this webinar I cover the basics of creating your first Portable Class Library to share code from a single project and use it on Android, iOS, and Windows platforms. Then I add in Azure Mobile Services to synchronize data between platforms and finish off them demo by implementing Twitter oAuth with just a few lines of C# code.

View a recording of the webinar at:
http://xamarin.wistia.com/medias/8zcj7znyz2

Slides from the webinar:
http://www.slideshare.net/JamesMontemagno/cloud-connected-cross-platform-apps-in-visual-studio

Source Code:
https://github.com/jamesmontemagno/XamarinDNR

Xamarin Documentation for Portable Class Libraries:
http://docs.xamarin.com/guides/cross-platform/application_fundamentals/pcl/

TwitterFacebookGoogle+LinkedInEmail