Hardcore Mobile integrations

Embed Size (px)

Text of Hardcore Mobile integrations

NextStep 2015

HardcoreMobile integrationsMobile Services team leader at OutSystemsRben Gonalves

Marketing teamLove to make the hard easy1

HardEasycoreMobile integrationsRben Gonalves

Unicorn Services team leader at OutSystems

Because we love to makethings simple in OutSystems

Who am I?Rben GonalvesMobile services team leader @ OutSystems @techrug

What is a smartphone?

Pocket

What makes a Great mobile app?

Great mobile appEasy to useSource: Citymapper

Great mobile appEasy to useQuick to useEnables the use in small idle times

Great mobile appEasy to useQuick to useSolves a real life problem

Source: Revolut app

10

Great mobile appEasy to useQuick to useSolves a real life problemContext awareSource: Estimote

Great mobile appEasy to useQuick to useSolves a real life problemContext aware

Source: http://goo.gl/zTMk69

Technology overview

What is Geofence?Virtual perimeter In a real world geographical area

What is Geofence?Virtual perimeterIn a real world geographical areaDefined by a coordinate Or several and a radius

What is Geofence?Virtual perimeterIn a real world geographical areaDefined by a coordinateOr several and a radiusAllows to trigger an alert

ExamplePromotions & incentives

ExamplePromotions & incentivesSurvey or welcome customers

ExamplePromotions & incentivesSurvey customersContext aware houses

How does it work?Register in OS region iOS Core Location services

How does it work?Register in OS region iOS Core Location servicesGPS, Wi-Fi & Antenna

http://nyconvergence.com/2011/10/new-ny-wifi-hotspot-map-not-so-helpful-say-romalewski.html/wifi-map23

How does it work?Register in OS region iOS Core Location servicesGPS, Wi-Fi & AntennaTransition based events

LimitationsOutside the citiesConsider minimum radius of 500mLow accuracy or wont workIf GPS WiFi are disconnectediOS limits to monitor up to 20 regions

What are Beacons?Broadcast signal 2,4GHz radio waves

electromagnetic waves with specific length and frequency - 2.4 GHz radio waves

27

What are Beacons?Broadcast signal 2,4GHz radio wavesOne-way transmitters

electromagnetic waves with specific length and frequency - 2.4 GHz radio waves

28

What are Beacons?Broadcast signal 2,4GHz radio wavesOne-way transmittersStandalone deviceUnaware of devices or WiFi

electromagnetic waves with specific length and frequency - 2.4 GHz radio waves

29

ExampleGuided toursHouston Zoo is using it

Zoo of 30

ExampleGuide usersBridging the gap real vs virtualRedEye app enables to map building plants and current location

ExampleGuide usersBridging the gap real vs virtualContextual action

Source: https://goo.gl/ssmWtx

How does it work?Broadcasting powerThe more power, the longer the range

RangeUp to 70mSource: https://goo.gl/fZAEEv-30 to 4 dBm

33

How does it work?Broadcasting powerThe more power, the longer the rangeAdvertising interval The shorter the interval, the more stable the signal

Source: https://goo.gl/fZAEEv100 to 2000 ms

34

How does it work?Broadcasting powerThe more power, the longer the rangeAdvertising interval The shorter the interval, the more stable the signalTransition based events

Far< 70mNear< 3mImmediate< 0,5mSource: https://goo.gl/fZAEEv

EnterExitTakes a minimumof 30s to occur in iOS

35

How does it work?Broadcasting powerThe more power, the longer the rangeAdvertising interval The shorter the interval, the more stable the signalTransition based eventsRegion can have multiple beacons

EnterExit

36

LimitationsHigh interference materials MetalWater

LimitationsHigh interference materialsMetalWaterMonitor up to 20 regions in iOS

What is NFC?Near Field Communication

electromagnetic waves with specific length and frequency - 2.4 GHz radio waves

40

What is NFC?Near Field CommunicationSubset of RFID

125-134 kHz13,56MHzUp to100m856-960 MHzUp to10cm

RFID working frequenciesNFC

electromagnetic waves with specific length and frequency - 2.4 GHz radio waves

41

What is NFC?Near Field CommunicationSubset of RFIDShort distance communication

electromagnetic waves with specific length and frequency - 2.4 GHz radio waves

42

What is NFC?Near Field CommunicationSubset of RFID 13,56 MHzShort distance communicationPassive device has no battery

NFC ChipAntenna

electromagnetic waves with specific length and frequency - 2.4 GHz radio waves

43

ExampleUnlocking doorsMost common scenario nowadays

44

ExampleUnlocking doorsMost common scenario nowadays with cardsReplace contactless cards

Source: https://goo.gl/SRVJcL

45

ExampleUnlocking doorsMost common scenario nowadays with cardsReplace contactless cardsTransfer close by informationAnimal cage identification

Source: https://goo.gl/SRVJcL

46

How does it work?Inductive coupling

Source: http://goo.gl/UIp9SX

electromagnetic waves with specific length and frequency - 2.4 GHz radio waves

47

How does it work?Inductive couplingTags can store 96 to 8192 bytesTransfer rate is up to 424Kb/s

electromagnetic waves with specific length and frequency - 2.4 GHz radio waves

48

How does it work?Inductive couplingTags can store 96 to 8192 bytesTransfer rate is up to 424Kb/sSeveral working modes

Source: http://goo.gl/DzYlDJ

electromagnetic waves with specific length and frequency - 2.4 GHz radio waves

49

How does it work?Inductive couplingTags can store 96 to 8192 bytesTransfer rate is up to 424Kb/sSeveral working modesPeer-to-PeerDevices can take turns to power up

Source: http://goo.gl/DzYlDJ

electromagnetic waves with specific length and frequency - 2.4 GHz radio waves

50

How does it work?Inductive couplingTags can store 96 to 8192 bytesTransfer rate is up to 424Kb/sSeveral working modesPeer-to-PeerRead/write One passive and one active

Source: http://goo.gl/cKDPkh

electromagnetic waves with specific length and frequency - 2.4 GHz radio waves

51

How does it work?Inductive couplingTags can store 96 to 8192 bytesTransfer rate is up to 424Kb/sSeveral working modesPeer-to-PeerRead/write Card EmulationMore hardware is added to ensure security

electromagnetic waves with specific length and frequency - 2.4 GHz radio waves

52

LimitationsiOS not possible to use NFC

RecapGeofence works with GPS and WiFi and is used to create large virtual perimetersBeacons work with BLE and enable your app to become local aware NFC works in close proximity and enable your app to get object context

54

How does P10 helps?

Ready to use plugins

Audio Record Plugin

BarcodePlugin

BeaconsPlugin

MicroBlinkPlugin

Card IOPlugin

Email ComposerPlugin

File TransferPlugin

GeofencePlugin

NFCPlugin

Touch IDPluginCamera PluginContacts PluginLocation PluginNetwork Status PluginLocal Notifications Plugin

Using a Plugin

Creating a Plugin wrapper

Creating a Plugin wrapperSearch for a cordova plugin

Create the wrapper for the plugin

Publish and use it!

Lets get our hands dirty!

Final Thoughts

OutSystems Platformis more Mobile than ever

Explore all availablefeatures to improve your APP

1199+* cordova plugins*April 28rd 2016

Mobile integrationsare now Easy!

Thank you

Get to know the technologyGeofencehttps://goo.gl/KZRJc4https://goo.gl/ia0CqPhttps://goo.gl/TVSIAfhttps://goo.gl/NNdrDGhttps://goo.gl/MCTQPD

Beaconshttps://goo.gl/1WUpYahttps://goo.gl/2s2ZWAhttps://goo.gl/b21rorhttps://goo.gl/MWBhf4https://goo.gl/TAMIYg

NFChttps://goo.gl/6RZvhXhttps://goo.gl/YBN6bMhttps://goo.gl/Mm0pJqhttps://goo.gl/xIvWHChttps://goo.gl/uP15ee

67