27
S The New Connected World Wearable/Cloud/Mobile/Devices

IOT/Mobile/Cloud - Next Connected World

Embed Size (px)

Citation preview

S

The New Connected

WorldWearable/Cloud/Mobile/Devices

Apple WatchThe new wrist band for being

connected on the go without

even pulling out the

phone/phablet from your

pocket.

CloudYes with the advent of Cloud

we would not need huge

storage on our device weather

it may be laptop, mobiles or

any connected device.

Access the same information

all around you on all the

devices.

MobilesThe latest mobile phones

have all the computing power

one need, work will all sorts of

sensors seamlessly to provide

the experience of a new

connected world.

Connected

DevicesWe will soon have connected

device all around us and

everything you touch would be

able to communicate.

Apple Watch

S Apple Watch requires the presence of an iPhone to run

third-party apps.

S A WatchKit app that runs on Apple Watch and a WatchKit

extension that runs on the user’s iPhone.

S Users can be shown 3 types of UI on Watch

S Navigational UI - Full interface with Multiple Screens

S Glances – Optional, read only interface

S Notifications – Optional, For Local/Remote Notifications

Fine Print For Apple Watch

S WatchKit app and WatchKit extension are bundled

together and packaged inside your iOS app bundle.

S System prompts the user to install the WatchKit app

when a paired Apple Watch is present

S You can use the Shared data by the help of App Groups

where we can put User Defaults and Other File Formats.

S You would be able to communicate with the parent app

for downloading/uploading or any other heavy operation.

Watch Target Structure

Apple Watch Architecture

S If the user views your app’s Scene.

S WatchKit tells the paired iPhone to launch your WatchKit

extension & create the objects needed to manage that

scene.

S The transfer of information between the WatchKit app

and WatchKit extension happens silently behind the

scenes.

Life Cycle of Watch

Navigational

UI

• Options of

PageBased/Hierarchical

Model of Watch app.

• Usage of UI elements with

Images to show seamless

UI

• Context Menus with

Appropriate Actions.

• Resizable for Different

Size.

• Localized apps to show in

different regions.

Glances• Optional View which shows

relevant information in a

timely manner.

• Tapping on the Glance,

Launches the WatchKit

App.

• Trimmed Down Version of

Watch Kit app.

• No Interactive Controls.

• An app has only one

Glance.

Notifications• Option of brief or long

notifications.

• Top translucent layer is

called as “sash”.

• Tapping on Sash or the

content launch your app.

• Tapping on the content

actions invokes the watch

app or the iphone app.

• Dismiss button is provided

my iOS.

• Can create custom

notifications i.e Static or

Dynamic as per need.

iCloud

S Free service to let users access data on all the

connected devices, wirelessly and automatically via

Apple ID

S Apple provides the server infrastructure, backup

functionality and user accounts.

S Types of iCloud Storage:

S Key Value Pairs

S iCloud Document Storage

S Core Data Storage

S CloudKit Storage

Ask user for local or cloud storage option.

iCloud Introduction

S iCloud services encrypt the data prior to transmit and save them in an encrypted format on the iCloud servers.

S Apps place the data in the iCloud containers, primary container or custom container.

S Limited storage per user, user with many apps can get storage options extended.

S User should be given UI to delete all the data from the Cloud and all other devices.

S Local caching is done by the system, which evicts the files when not required.

Key Value Storage

S Data set similar to user defaults

S Data write is Atomic i.e. Complete or nothing

S Enable this from the Capabilities of the App.

S Listen for the change and conflict notifications.

S Size available per app is 1 MB/ 1024 Max Keys.

S Use Granular data sets, as when changes are seen

complete data set is updated on the cloud.

Document Based Storage

S Files on which data can be shared between devices.

S NSFileCoordinator and NSFilePresenter is required to

manage the operations of Document based storage.

S iCloud only sends/receives meta data and the changed

bits to/from the server.

S Use UIDocument to manage Change and conflict state of

the document.

S Perform versioning of the Data formats as user might not

update your app on all platforms simultaneously.

Core Data Based Storage

S Good for database Style Apps.

S Requires to work with managed object model and

managed objects.

S A Change log file is generated as user changes data in

the app and this is uploaded or downloaded for the user

seamlessly.

S Handling of the Swapping accounts of iCloud

CloudKit Framework

S Helps in saving/retrieving data from the cloud.

S Does not helps to maintain data locally.

S Concept of Containers to manage data on the cloud.

S Concept of 1 Public and n Private databases in each

container, data saved in form of Records.

S Requires active iCloud Account on the Device.

S Use references to co relate two objects in records.

S Usage of Assets for associated files and resources.

Mobile

S With the growing market share of smart phones over

feature phones users certainly have the power to

communicate with all the devices they want.

S Many features have been added to the leading mobile

operating systems to address the issues being faced in

the new connected world

S OS are becoming more widely available on other sets of

devices other than Mobiles only.

New Features in iOS

S Adaptive User Interface

S App Extensions

S Apple Pay

S Cloud Kit

S Hand Off

S Health Kit

S Home Kit

S Watch Kit

S Family sharing

S Sprite/Scene/Metal Kit

S Touch ID

S Camera API

New Features in Android

S OK Google

S Material Design

S Android Wear

S Android TV

S Android Auto

S All New Android Studio

S Quick Notifications

S BLE/NFC

S Android Extension Pack /

Advanced Open GL

S New Camera API

S Heart Rate Sensor

Internet of Things

S Connected Devices communicating to each other over internet form the IOT.

S Sensors directly work with mobile Phones over the near field communication protocols to monitor all sorts of activity.

S Analysis of this activity will help us grow and design more appropriate products in all the verticals, i.e. Financial World, Health Care, Manufacturing and Retail.

S Apple/Android Watch, Fitness Sensors and early examples of things getting connected.

References

S https://developer.apple.com/library/prerelease/ios/documentation/General/Conceptual/WatchKitProgrammingGuide/index.html#//apple_ref/doc/uid/TP40014969-CH8-SW1

S https://developer.apple.com/library/prerelease/ios/documentation/General/Conceptual/WatchKitProgrammingGuide/CreatingtheUserInterface.html#//apple_ref/doc/uid/TP40014969-CH4-SW1

S https://developer.apple.com/library/prerelease/ios/documentation/WatchKit/Reference/WatchKit_framework/index.html

References Cont.

S https://developer.apple.com/icloud/index.html

S https://developer.apple.com/library/ios/documentation/Miscellaneous/Conceptual/CloudKitQuickStart/Introduction/Introduction.html#//apple_ref/doc/uid/TP40014987-CH1-SW1

S https://developer.apple.com/library/ios/documentation/General/Conceptual/iCloudDesignGuide/DesigningforCloudKit/DesigningforCloudKit.html#//apple_ref/doc/uid/TP40012094-CH9-SW1

S http://support.apple.com/en-is/HT202303

References Cont.

S https://developer.apple.com/devcenter/ios/index.action

S http://developer.android.com/about/versions/lollipop.html

S http://www.microsoft.com/en-us/server-cloud/internet-of-

things.aspx

Thank YouRavi Dalmia