iOS & Android apps using Parse and Xamarin

Post on 07-May-2015

1.389 views 1 download

Transcript of iOS & Android apps using Parse and Xamarin

Craig DunnDeveloper EvangelistXamarincraig@xamarin.com@conceptdev

iOS & Android Cloud Apps with Xamarin and C#

What is Xamarin?

• Xamarin lets you reach all the major mobile platformsNative user interface

What is Xamarin?

• Xamarin lets you reach all the major mobile platformsNative user interfaceNative performance

What is Xamarin?

• Xamarin lets you reach all the major mobile platformsNative user interfaceNative performanceShare code across platforms

What is Xamarin?

• Xamarin lets you reach all the major mobile platformsNative user interfaceNative performanceShare code across platformsC# and .NET framework

Xamarin Development

Xamarin Studio

Visual Studio

Xamarin Development: iOS

• Code signing• App configuration• Deployment

Keychain - certificates

Xamarin Development: Android

• AndroidManifest.xmlPermissionsApp configurationUse [Activity] and other attributes

• DeploymentSigning

Signing wizard

Cross-platform Apps

&

Cross-platform Apps

&

Cross-platform Apps

Go go gadget mobile!

Xamarin & Parse• Xamarin is embedded right into the Parse Quick Start

https://www.parse.com/docs/dotnet_guide

Just add water Component!

Initialize

iOS

Android

Windows

Store Data in the Cloud

• Using C#

Windowsvar todo = new ParseObject ("Todo");todo ["Title"] = "Build app with Parse";todo ["Description"] = "C# for iOS & Android with Xamarin";await todo.SaveAsync();

Store Data in the Cloud

• Using C#

Windows

iOS with Xamarin

var todo = new ParseObject ("Todo");todo ["Title"] = "Build app with Parse";todo ["Description"] = "C# for iOS & Android with Xamarin";await todo.SaveAsync();

var todo = new ParseObject ("Todo");todo ["Title"] = "Build app with Parse";todo ["Description"] = "C# for iOS & Android with Xamarin";await todo.SaveAsync();

Store Data in the Cloud

• Using C#

Windows

iOS with Xamarin

Android with Xamarin

var todo = new ParseObject ("Todo");todo ["Title"] = "Build app with Parse";todo ["Description"] = "C# for iOS & Android with Xamarin";await todo.SaveAsync();

var todo = new ParseObject ("Todo");todo ["Title"] = "Build app with Parse";todo ["Description"] = "C# for iOS & Android with Xamarin";await todo.SaveAsync();

var todo = new ParseObject ("Todo");todo ["Title"] = "Build app with Parse";todo ["Description"] = "C# for iOS & Android with Xamarin";await todo.SaveAsync();

Store Data in the Cloud

• Using C#

Windows

iOS with Xamarin

Android with Xamarin

var todo = new ParseObject ("Todo");todo ["Title"] = "Build app with Parse";todo ["Description"] = "C# for iOS & Android with Xamarin";await todo.SaveAsync();

var todo = new ParseObject ("Todo");todo ["Title"] = "Build app with Parse";todo ["Description"] = "C# for iOS & Android with Xamarin";await todo.SaveAsync();

var todo = new ParseObject ("Todo");todo ["Title"] = "Build app with Parse";todo ["Description"] = "C# for iOS & Android with Xamarin";await todo.SaveAsync();

async/await

DEMO

Ready to test?• Xamarin Test Cloud - real mobile device testing

App Explorer or Calabash scriptsHundreds of iOS and Android devices

http://xamarin.com/test-cloud

Ready to test?• Xamarin Test Cloud - real mobile device testing

Step-by-step screenshotsDevice log

http://xamarin.com/test-cloud

Questions?Developer EvangelistXamarincraig@xamarin.com@conceptdev

Craig Dunn