fpt smartdevices mobility dayone v0.3

Post on 04-Jun-2018

225 Views

Category:

Documents

0 Downloads

Preview:

Click to see full reader

TRANSCRIPT

8/13/2019 FPT SmartDevices Mobility DayOne v0.3

http://slidepdf.com/reader/full/fpt-smartdevices-mobility-dayone-v03 1/35

© Copyright 2011 FPT Software 1

FPT Software

SMART DEVICES

AND MOBILITYDAY ONE

Version 0.3

8/13/2019 FPT SmartDevices Mobility DayOne v0.3

http://slidepdf.com/reader/full/fpt-smartdevices-mobility-dayone-v03 2/35

© Copyright 2011 FPT Software 2

Agenda

• Common Smart Devices

• Why Smart Devices

• Differences between Smart Devices & PC• Operating Systems for Smart Devices

• Programming Tools

• iOS Training Class

8/13/2019 FPT SmartDevices Mobility DayOne v0.3

http://slidepdf.com/reader/full/fpt-smartdevices-mobility-dayone-v03 3/35

© Copyright 2011 FPT Software 3

Smart Device Types

8/13/2019 FPT SmartDevices Mobility DayOne v0.3

http://slidepdf.com/reader/full/fpt-smartdevices-mobility-dayone-v03 4/35

© Copyright 2011 FPT Software 4

Smart Device Types (cont)

8/13/2019 FPT SmartDevices Mobility DayOne v0.3

http://slidepdf.com/reader/full/fpt-smartdevices-mobility-dayone-v03 5/35

8/13/2019 FPT SmartDevices Mobility DayOne v0.3

http://slidepdf.com/reader/full/fpt-smartdevices-mobility-dayone-v03 6/35

8/13/2019 FPT SmartDevices Mobility DayOne v0.3

http://slidepdf.com/reader/full/fpt-smartdevices-mobility-dayone-v03 7/35© Copyright 2011 FPT Software 7

Why? (cont.)

• Internet to bepopular

• Basic HTML

1994-1996

• Client-server

• Heavy server-side solutions

1997-2000• Thin

client/web-based

• HTML5, JS

2001-2003

Web waves

8/13/2019 FPT SmartDevices Mobility DayOne v0.3

http://slidepdf.com/reader/full/fpt-smartdevices-mobility-dayone-v03 8/35© Copyright 2011 FPT Software 8

Why? (cont)

• Smart devicesstarts

• WindowsMobile/Symbian

2001-2005

• Apps are kings butmore on contentand entertainment

• iPhone/Android

2006-2011• Mobile enterprise

systems?

• Cross-platform?

• Mobile migration?

2012-… 

Mobile waves

8/13/2019 FPT SmartDevices Mobility DayOne v0.3

http://slidepdf.com/reader/full/fpt-smartdevices-mobility-dayone-v03 9/35© Copyright 2011 FPT Software 9

Why? (cont)

8/13/2019 FPT SmartDevices Mobility DayOne v0.3

http://slidepdf.com/reader/full/fpt-smartdevices-mobility-dayone-v03 10/35© Copyright 2011 FPT Software 10

Differences

• Screen size is smaller than PC

8/13/2019 FPT SmartDevices Mobility DayOne v0.3

http://slidepdf.com/reader/full/fpt-smartdevices-mobility-dayone-v03 11/35© Copyright 2011 FPT Software 11

Differences (cont)

• User works on only one screen at a time

8/13/2019 FPT SmartDevices Mobility DayOne v0.3

http://slidepdf.com/reader/full/fpt-smartdevices-mobility-dayone-v03 12/35© Copyright 2011 FPT Software 12

Differences (cont)

• Hardware is not strong as PC (CPU, RAM)

8/13/2019 FPT SmartDevices Mobility DayOne v0.3

http://slidepdf.com/reader/full/fpt-smartdevices-mobility-dayone-v03 13/35© Copyright 2011 FPT Software 13

Differences (cont)

• (Multi) Touches rather mouse click

8/13/2019 FPT SmartDevices Mobility DayOne v0.3

http://slidepdf.com/reader/full/fpt-smartdevices-mobility-dayone-v03 14/35© Copyright 2011 FPT Software 14

Operating Systems

• Apple has iOS (running on iPhone / iPod Touch

/ iPad)

8/13/2019 FPT SmartDevices Mobility DayOne v0.3

http://slidepdf.com/reader/full/fpt-smartdevices-mobility-dayone-v03 15/35© Copyright 2011 FPT Software 15

Operating Systems (cont)

• Google has Android running on many smart phones

8/13/2019 FPT SmartDevices Mobility DayOne v0.3

http://slidepdf.com/reader/full/fpt-smartdevices-mobility-dayone-v03 16/35

© Copyright 2011 FPT Software 16

Operating Systems (cont)

• Microsoft has Windows Phone

8/13/2019 FPT SmartDevices Mobility DayOne v0.3

http://slidepdf.com/reader/full/fpt-smartdevices-mobility-dayone-v03 17/35

© Copyright 2011 FPT Software 17

Development Tools

• iOS programming tools

8/13/2019 FPT SmartDevices Mobility DayOne v0.3

http://slidepdf.com/reader/full/fpt-smartdevices-mobility-dayone-v03 18/35

© Copyright 2011 FPT Software 18

Development Tools (cont)

• Android programming tools

8/13/2019 FPT SmartDevices Mobility DayOne v0.3

http://slidepdf.com/reader/full/fpt-smartdevices-mobility-dayone-v03 19/35

© Copyright 2011 FPT Software 19

Development Tools (cont)

• Windows Phone programming tools

8/13/2019 FPT SmartDevices Mobility DayOne v0.3

http://slidepdf.com/reader/full/fpt-smartdevices-mobility-dayone-v03 20/35

© Copyright 2011 FPT Software 20

Development Tools (cont)

• HTML5 is new and can be used for

development on almost devices

8/13/2019 FPT SmartDevices Mobility DayOne v0.3

http://slidepdf.com/reader/full/fpt-smartdevices-mobility-dayone-v03 21/35

© Copyright 2011 FPT Software 21

iOS Training Class

• FSoft has 2 iOS training classes: Basic iOS and

Advanced iOS

Basic iOS class: – 11 sessions + final exercise

 – Requirement: know C programming language

Advanced iOS class: – 8 session + final exercise

8/13/2019 FPT SmartDevices Mobility DayOne v0.3

http://slidepdf.com/reader/full/fpt-smartdevices-mobility-dayone-v03 22/35

8/13/2019 FPT SmartDevices Mobility DayOne v0.3

http://slidepdf.com/reader/full/fpt-smartdevices-mobility-dayone-v03 23/35

© Copyright 2011 FPT Software 23

Basic iOS Class – Day 2

• Day 2: Objective-C in-depth – Declare variables, type, NSObject

 – NSLog with different print format

 – Declaration• Create custom class

• Define properties

• Define & and call methods

 – Alloc and Init• Allocate and initialize object (alloc, init, self, super)

• String (allocate, manipulate, convert string)

 – Array (NSArray / NSMuttableArray, loop through array)

 – 2 dimensions array (student self study)

8/13/2019 FPT SmartDevices Mobility DayOne v0.3

http://slidepdf.com/reader/full/fpt-smartdevices-mobility-dayone-v03 24/35

© Copyright 2011 FPT Software 24

Basic iOS Class – Day 2 (cont.)

• Dictionary / Set (student self study) 

• Determine method or class available at

runtime (to compatible with different iOSversions)

• Automatic Reference Counting (strong vs

weak)• Homework

8/13/2019 FPT SmartDevices Mobility DayOne v0.3

http://slidepdf.com/reader/full/fpt-smartdevices-mobility-dayone-v03 25/35

8/13/2019 FPT SmartDevices Mobility DayOne v0.3

http://slidepdf.com/reader/full/fpt-smartdevices-mobility-dayone-v03 26/35

8/13/2019 FPT SmartDevices Mobility DayOne v0.3

http://slidepdf.com/reader/full/fpt-smartdevices-mobility-dayone-v03 27/35

© Copyright 2011 FPT Software 27

Basic iOS Class – Day 5

• Views, Touch and Multi touches – Display alert with UIAlertView

 – UIScrollView

 – UIWebView• Build a simple web browser

• Detect memory leaking

 – Choose value with UIPickerView• UIPickerViewDataSource, UIPickerViewDelegate

• Row- components

 – UIDatePicker• Learn code example from Apple’s UICatalog

 – Homework

8/13/2019 FPT SmartDevices Mobility DayOne v0.3

http://slidepdf.com/reader/full/fpt-smartdevices-mobility-dayone-v03 28/35

© Copyright 2011 FPT Software 28

Basic iOS – Day 6

• UITableView, UITableViewController

 – Relationship between UITableView and UITableViewController

 – Populating data for table view

 – Handle table view events

 –

Customize table view cell• UITableViewCellAssoryType

• Add custom view (control) to table view cell.Learn Apple’s Battery Status app. 

• Add photo thumbnail to table view cell

• Display context menu on table view cell

 – Customize headers and footers of table view

 – Manipulate table view cell• Delete a row (swipe delete / program to delete)

 – Homework

8/13/2019 FPT SmartDevices Mobility DayOne v0.3

http://slidepdf.com/reader/full/fpt-smartdevices-mobility-dayone-v03 29/35

© Copyright 2011 FPT Software 29

Basic iOS Class – Day 7

• Maps

 – Create a simple Map application

 –

Using MKMapViewDelegate – Using MKAnnotation

 – Customize MKAnnotationView

 – Edit annotation information

 – Search direction

8/13/2019 FPT SmartDevices Mobility DayOne v0.3

http://slidepdf.com/reader/full/fpt-smartdevices-mobility-dayone-v03 30/35

© Copyright 2011 FPT Software 30

Basic iOS Class – Day 8

• Core Data

 – Create core data model

 –

Generate class files for coredata entities

 – Create, Read, Update, Delete,

Sort operation with Core Data

 – Manage data relationship inCore Data

8/13/2019 FPT SmartDevices Mobility DayOne v0.3

http://slidepdf.com/reader/full/fpt-smartdevices-mobility-dayone-v03 31/35

© Copyright 2011 FPT Software 31

Basic iOS Class – Day 9

• Networking – JSON

 – Serialize array and

dictionary into JSON

 – Deserialize JSON into

array and dictionary

 – iOS calls JSON enabled

Microsoft WCF Service – Homework

8/13/2019 FPT SmartDevices Mobility DayOne v0.3

http://slidepdf.com/reader/full/fpt-smartdevices-mobility-dayone-v03 32/35

© Copyright 2011 FPT Software 32

Basic iOS Class – Day 10

• UI features for iPad

 – UIPopoverController

 –

UISplitViewController – Design app that work for

both iPhone and iPad devices.

• Porting app from iPhone to iPad

• Dual XIB files for iPhone and

• Dual story boards iPhone and iPad

 –  Homework

8/13/2019 FPT SmartDevices Mobility DayOne v0.3

http://slidepdf.com/reader/full/fpt-smartdevices-mobility-dayone-v03 33/35

© Copyright 2011 FPT Software 33

Basic iOS Class – Day 11

• Advanced topics

 – Core Image

 –

Camera – Custom UIView

 – Multi-tasking

 – Etc.

8/13/2019 FPT SmartDevices Mobility DayOne v0.3

http://slidepdf.com/reader/full/fpt-smartdevices-mobility-dayone-v03 34/35

© Copyright 2011 FPT Software 34

Basic iOS Class (cont)

• Final Exercise

8/13/2019 FPT SmartDevices Mobility DayOne v0.3

http://slidepdf.com/reader/full/fpt-smartdevices-mobility-dayone-v03 35/35

Thank you!

top related