introduction to cross-platform app development

18
Cross-platform mobile app development with Xamarin thapgan [email protected] thapgan

Upload: hoang-nguyen

Post on 27-Jan-2017

213 views

Category:

Technology


0 download

TRANSCRIPT

Page 1: Introduction to Cross-platform App Development

Cross-platform mobile app development with Xamarin

[email protected]

Page 2: Introduction to Cross-platform App Development

⊳ “Cross-platform”, What does this mean?⊲

Page 3: Introduction to Cross-platform App Development

Hardware

Linux OS

Apps

MAC Computer

Mac OS

Apps

Hardware

Windows OS

Apps

[Desktop Apps]

Page 4: Introduction to Cross-platform App Development

Hardware

Linux OS

Apps

MAC Computer

Mac OS

Apps

Hardware

Windows OS

Apps

[Desktop Apps]

How to write once and run anywhere?

Virtual MachineSource Code ⟹ Bytecode (VM code or IL) ⟹may be interpreted by or run on VM

(JIT – Just-in-time compilation)

Page 5: Introduction to Cross-platform App Development

Hardware

Linux OS

Apps

MAC Computer

Mac OS

Apps

Hardware

Windows OS

Apps

[Desktop Apps]

How to write once and run anywhere?

Virtual MachineSource Code ⟹ Bytecode (VM code or IL) ⟹may be interpreted by or run on VM

(JIT – Just-in-time compilation)

Page 6: Introduction to Cross-platform App Development

Hardware

Linux OS

Web Apps

MAC Computer

Mac OS

Web Apps

Hardware

Windows OS

Web Apps

[Web Apps]

Browser Browser Browser

Page 7: Introduction to Cross-platform App Development

Hardware

Linux OS

Web Apps

MAC Computer

Mac OS

Web Apps

Hardware

Windows OS

Web Apps

[Web Apps]

Browser Browser BrowserVirtual Machine

Web apps do not depend on OS and/or hardware but depend on the browser.

Page 8: Introduction to Cross-platform App Development

Hardware

Operating system

[Web Apps]

Page 9: Introduction to Cross-platform App Development

Hardware

Operating system

[Web Apps]W3C

Page 10: Introduction to Cross-platform App Development

[Web Apps]

Page 11: Introduction to Cross-platform App Development

[Mobile Devices]

different on screen sizes and densities

can switch between landscape and portrait mode

various types of hardware and OS

lower cpu power and battery limitations

new interaction paradigms

How to write once and run any where?

Page 12: Introduction to Cross-platform App Development

[Mobile Devices]

different on screen sizes and densities

can switch between landscape and portrait mode

various types of hardware and OS

lower cpu power and battery limitations

new interaction paradigms

GUI

Design Problem

How to write once and run any where?

Page 13: Introduction to Cross-platform App Development

[Mobile Apps]How to write once and run any where?

Hardware

Android

Apps

MAC Computer

iOS

Apps

Hardware

Windows Phone

Apps

Page 14: Introduction to Cross-platform App Development

[Mobile Apps]How to write once and run any where?

Hardware

Android

Apps

MAC Computer

iOS

Apps

Hardware

Windows Phone

Apps

Virtual Machine

Page 15: Introduction to Cross-platform App Development

[Web Apps on Mobile Devices]

Hardware

Android

Apps

MAC Computer

iOS

Apps

Hardware

Windows Phone

Apps

Browser BrowserBrowserVirtual Machine

Page 16: Introduction to Cross-platform App Development

[Web Apps on Mobile Devices]

Hardware

Android

Apps

MAC Computer

iOS

Apps

Hardware

Windows Phone

Apps

Browser BrowserBrowserVirtual Machine

But mobile devices that usually have lower CPU power and battery limitations.

⊳ poor performance ⊲

Page 17: Introduction to Cross-platform App Development

How to get a native performance?⊳ “native”, What does this mean?⊲

[Welcome to next lecture]

Page 18: Introduction to Cross-platform App Development

Thanks for your attention