writing ios mapping apps in .net c#€¦ · • how many people develop for iphone? • how many...

Post on 03-Jun-2020

7 Views

Category:

Documents

0 Downloads

Preview:

Click to see full reader

TRANSCRIPT

Writing iOS Mapping Apps in .NET C#

Al Pascual

Where is my Mac today?

Who are you?

• How many people develop in Objective-C• How many people use MonoTouch?• How many people develop for iPhone?• How many people develop for mobile?• How many people developer iPhone in HTML5?

How to create a map using Objective-C

[MapView release];

Objective – C Controllers

Adding a Map in Objective-C

Add a Feature Service Layer

Zoom to Extent

Objective – C Map Viewer

MapView *mapview =[[MapView alloc] init]

Was that easy?

How to create a map in MonoTouch

What’s MonoTouch?

• MonoTouch allows developers to create C# and .NETbased applications that run on Apple's iPhone,

iPad,and iPod Touch devices, while taking advantage ofthe iPhone APIs and reusing both code

and librariesthat have been built for .NET, as well as existing skills.

Why is important to me?

• Performance• Mono Android is here too • Productivity• If you are a .NET developer• Garbage Collection

Libraries in .NET using UIKit

NameSpaces a la .NET

How to display a map in MonoTouch

MonoTouch - Map Viewer

Difference?

• Same library

• Links to objective – c

• Approved by Apple

• Same User Interface Cocoa

Where to start

• Learn the steps:- http://alpascual.com/post/2010/08/03/How-to-use-the-

ArcGIS-iPhone-SDK-with-MonoTouch.aspx

• Download iOS ArcGIS library- http://help.arcgis.com/en/arcgismobile/10.0/apis/iPhone

• Download the code- http://www.arcgis.com/home/item.html?id=4d292f8a378b

4a3ca67178974d9eeed3

• Download MonoDevelop- http://monotouch.net/

In the resource center

Common Questions

• Do I need a Mac to use MonoTouch?- YES

• What .NET features does MonoTouch support?- 3.5 ( so LINQ)

• Does MonoTouch support Visual Basic?- NO just (C#)

• How much $$$- Student $99- Personal $399- Enterprise $999

A few apps in the App Store Created in MonoTouch.

Life beyond Cocoa

• Resco MobileTouch Toolkit- iPhone and iPad in a similar model to standard .NET

Compact Framework development

Questions?

top related