My talk from Twilio's Signal conference in May 2015, in San Francisco. Covers using the Twilio Client SDK for Android and IOS through PhoneGap with the Twilio Client for PhoneGap Plugin
BUILD TWILIO-POWERED APPS FOR ANDROID AND IOSJeff Linwood, Biscotti Labs Signal 2015, San Francisco@jefflinwood http://www.biscottilabs.com/ http://www.jefflinwood.com/
View Slide
TODAY’S TALKQuick Intro to Jeff Twilio Client for Mobile Server for Twilio Client PhoneGap PhoneGap Plugin for Twilio Demo
JEFF LINWOODSoftware Developer with BiscottiLabs - mostly iOS and Android Teaches Mobile App Developmentat UT-Austin as an adjunct Uses Twilio for web and mobileapps Current Projects: On Our WayApp, MapRhino App
TWILIO CLIENT - VOICEWeb/Javascript iOS Android PhoneGap (https://github.com/jefflinwood/twilio_client_phonegap)
TWILIO CLIENTCapability Token Don’t ship Twilio credentials onthe client side Build apps that do voice chat,conference call, make phone calls Great for staying within the app Pass parameters when connecting
CAPABILITY TOKENSTokens configure your mobile appto be allowed to make or receivecertain Twilio connections Outgoing Connections - TwiMLVoice App - pass parameters Incoming Connections - identifiedby a String for the Client Name Create with Twilio Helper Library
CAPABILITY TOKEN EXAMPLE
SERVER FOR TWILIO CLIENTNeed a server to providecapability tokens Twilio Mobile Quickstart - https://github.com/twilio/mobile-quickstart Your own server will depend onwhat you're building - in apppurchase, CRM, etc.
BUILDING APPS WITH PHONEGAP
GETTING STARTED WITHPHONEGAP/CORDOVAXCode (on Mac) Android Studio/Java Node.js/npm Cordova/PhoneGap npm install -g ios-sim
PHONEGAP PLUGINSPlugins bridge the gap between amobile web site and a mobile app Standard plugins for phonecapabilities - Camera, Filesystem Third-party plugins to wrapnative libraries - like Twilio ClientSDK Usually cross-platform, if possible.
PHONEGAP PLUGIN FOR TWILIOCreated by Steve Graham for iOS Later additions to keep up withCordova/PhoneGap development(fast moving changes) Android added with the same API Send and receive voice calls Similar API to Javascript SDK, butnot exactly the same
INSTALLING TWILIO PLUGINFollow directions on GitHubREADME to install plugin on aper-platform basis, or acrossAndroid and iOS Also need to follow directions incommand line after installingplugin to add Twilio Client SDK Plugin gets updated withCordova/PhoneGap and TwilioClient changes
PDF INSTALLATION GUIDEhttp://www.jefflinwood.com/ Short walkthrough of the stepsyou need to create a newPhoneGap app that uses theTwilio Plugin Good if you're not familiar withXCode (some assembly required)
DEMO OF PHONEGAP APP
THANK YOU!Jeff Linwood, @jefflinwood, http://www.jefflinwood.com/Feedback is important to us Please text @T24 to 39242