Contents tagged with Xamarin.iOS
The following is a link to cross platform data access training with Xamarin & C#. It is intended for use on iPhone, iPad, and Android devices. The course covers local data in Sqlite, calling Web Services via REST and JSON, and calling Sql Server.
My training on Cross Platform Development with Xamarin w/ Portable Class Libraries and ASP.NET Razor Templating is now available online from Learn Now Online. The url is: http://www.learnnowonline.com/course/cpx1/xamarin-cross-platform-pcl-and-razor
On the weekend of May 2-4, 2014, I attended the Atlanta Startup Weekend. I can't speak highly enough of the event. Jen Bonnett runs a great event, provides a lot of great speakers and mentors. I can't speak highly enough of her work and her event. She has a number of people that help out as staff: Maria Joyner (she has to approve my Twitter bio), Dawn Law, Kiran Bindra, Michael Ames, Wanda, and Chris Schwartz. I've been to other start up events, but this will always be the gold standard.
Authentication has been a part of .NET for a long time. Unfortunately, there are a couple of problems:
One of the fun things about the return of golf season is participating in tournaments that feature events such as a longest drive contest. In these, a person’s first shot off a designated hole is measured against others in the tournament. The longest drive during the day is declared the winner. However, these contests typically don’t have centralized scoring. If you’re in the first group, you don’t know until after the event is over where your shots stand in relation to everyone else’s. Why not use a mobile phone to record the starting point and ending point of drives and store the information in a cloud-hosted database?
I was honored to have been on CodeCast Episode #2. While there, I talked about my past, how I got into programming, and the decision tree that led me to use Xamarin's technologies. After those discussions, I did a demo on oAuth authentication to Twitter via Xamarin.Auth and Xamarin.iOS (iPhone) and then showed the code for doing the exact same thing in Xamarin.Android (Android). Hopefully, this is helpful to you as you look at, discussion, try, and do whatever on Xamarin's technologies.
Article Url: http://visualstudiomagazine.com/articles/2014/01/01/xamarin-how-to.aspx
Developers like to create simple examples. Typically, these examples are a screen of data and controls that users can work with. But rarely are real-world applications a single screen of data. iOS provides developers with several standard mechanisms to allow users to navigate between multiple screens of data. This article will examine two controls that developers can use to provide easy navigation for users: the UINavigationController and the UITabBarController.
I hope that you enjoy the article. Thank you for your time and consideration.
I have a new training class out on using Xamarin.iOS with iOS 7 (iPhone and iPad). This training class will introduce you to iOS 7. Personally, my favorite features are iBeacons. I hope that you all the new iOS 7 features as much as I do.
I have a new training class out on Xamarin. This session will cover the new features that Xamarin has provided in their mid-2013 update. These new features include support for iOS 7 (iPhone and iPad), but don't require iOS7. I hope you enjoy this class. My favorite features here are the Visual Studio 2013 support for iOS, which I use every day, the .NET 4.5 async/await support, and the HttpClient.
One of the great things about the .NET Framework is that Microsoft has worked long and hard to improve many features. Since the initial release of .NET 1.0, there has been support for threading via .NET threads as well as an application-level threadpool. This provided a great starting point when compared to Visual Basic 6 and classic ASP programming. The release of.NET 4 brought significant improvements in the area of threading, asynchronous operations and parallel operations. While the improvements made working with asynchronous operations easier, new problems were introduced, since many of these operations work based on callbacks. For example:
- How should a developer handle error checking?
- The program flow tends to be non-linear. Fixing bugs can be problematic.
- It is hard for a developer to get an understanding of what is happening within an application.
The release of .NET 4.5 (and C# 5.0), in the fall of 2012, was a blockbuster update with regards to asynchronous operations and threads. Microsoft has added C# language keywords to take this non-linear callback-based program flow and turn it into a much more linear flow. Recently, Xamarin has updated Xamarin.Android and Xamarin.iOS to support async.
This article will look at how Xamarin has implemented the .NET 4.5/C# 5 support into their Xamarin.iOS and Xamarin.Android productions. There are three general areas that I'll focus on:
- A general look at the asynchronous support in Xamarin's mobile products. This includes async, await, and the implications that this has for cross-platform code.
- The new HttpClient class that is provided in .NET 4.5/Mono 3.2.
- Xamarin's extensions for asynchronous operations for Android and iOS.
FYI: Be aware that sometimes the OpenWeatherMap API breaks, for no reason. I found this out after I shipped the article in.