SlideShare a Scribd company logo
WE’RE
COMMUNICATING
WRONG!
Stop pushing users away!
<Say>Hello #DroidconZG!</Say>
@marcos_placona
marcos@twilio.com
Developer Evangelist @ Twilio
>7.2bn
A few numbers
@marcos_placona
@marcos_placona
@marcos_placona
@marcos_placona
@marcos_placona
@marcos_placona
@marcos_placona
@marcos_placona
@marcos_placona
@marcos_placona
Contacting experience
@marcos_placona
Contacting experience
@marcos_placona
@marcos_placona
@marcos_placona
@marcos_placona
Contacting experience
@marcos_placona
intent = new Intent(Intent.ACTION_CALL, Uri.parse("tel:" + "1234567890"));

if (ActivityCompat.checkSelfPermission(getApplicationContext(), Manifest.permission.CALL_PHONE) !=
PackageManager.PERMISSION_GRANTED) {

startActivity(intent);

}
<uses-permission android:name="android.permission.CALL_PHONE" />
@marcos_placona
@marcos_placona
AlertDialog.Builder builder = new AlertDialog.Builder(MainActivity.this);

builder.setMessage("Calling...")

.setCancelable(false)

.setPositiveButton("Hang-up", new DialogInterface.OnClickListener() {

public void onClick(DialogInterface dialog, int id) {

phone.disconnect();

}

});

AlertDialog alert = builder.create();

alert.show();



phone.connect("+1234567890");
@marcos_placona
AlertDialog.Builder builder = new AlertDialog.Builder(MainActivity.this);

builder.setMessage("Calling...")

.setCancelable(false)

.setPositiveButton("Hang-up", new DialogInterface.OnClickListener() {

public void onClick(DialogInterface dialog, int id) {

phone.disconnect();

}

});

AlertDialog alert = builder.create();

alert.show();



phone.connect("+1234567890");
@marcos_placona
Demo Time
@marcos_placona
@marcos_placona
@marcos_placona
@marcos_placona
@marcos_placona
try {

getApplicationContext().getPackageManager().getPackageInfo("com.facebook.katana", 0);

startActivity(new Intent(Intent.ACTION_VIEW, Uri.parse("fb://page/<id_here>")));

} catch (PackageManager.NameNotFoundException e) {

e.printStackTrace();

}
@marcos_placona
try {

getApplicationContext().getPackageManager().getPackageInfo("com.facebook.katana", 0);

startActivity(new Intent(Intent.ACTION_VIEW, Uri.parse("fb://page/<id_here>")));

} catch (PackageManager.NameNotFoundException e) {

startActivity(new Intent(Intent.ACTION_VIEW, Uri.parse("https://www.facebook.com/<user_name_here>")));

}
@marcos_placona
@marcos_placona
Demo Time
@marcos_placona
@marcos_placona
@marcos_placona
@marcos_placona
@marcos_placona
Demo Time
@marcos_placona
@marcos_placona
~100 Lines
~350 Lines
~750 Lines
@marcos_placona
@marcos_placona
Who thinks it’s worth it?
@marcos_placona
github.com/mplacona
marcos@twilio.com
Developer Evangelist @ Twilio

More Related Content

Viewers also liked

Mendel’s genetics
Mendel’s geneticsMendel’s genetics
Mendel’s genetics
Deborah Daquioag
 
1 Punto Adelante
1 Punto Adelante1 Punto Adelante
DJ-Classifieds - Joomla Classified ads extension features
DJ-Classifieds - Joomla Classified ads extension featuresDJ-Classifieds - Joomla Classified ads extension features
DJ-Classifieds - Joomla Classified ads extension features
Tomasz Kowalski
 
Highly efficient oyster spat production technique for restoration
Highly efficient oyster spat production technique for restorationHighly efficient oyster spat production technique for restoration
Highly efficient oyster spat production technique for restoration
Mass Oyster Project
 
Dall’esperienza di mentor alla formazione docenti spunti dall’iniziativa dei ...
Dall’esperienza di mentor alla formazione docenti spunti dall’iniziativa dei ...Dall’esperienza di mentor alla formazione docenti spunti dall’iniziativa dei ...
Dall’esperienza di mentor alla formazione docenti spunti dall’iniziativa dei ...
Maria Messere
 
Seguridad de la información para usuarios de tabletas en Escuelas Primarias d...
Seguridad de la información para usuarios de tabletas en Escuelas Primarias d...Seguridad de la información para usuarios de tabletas en Escuelas Primarias d...
Seguridad de la información para usuarios de tabletas en Escuelas Primarias d...
Gonzalo Espinosa
 
Role of UX in Mobility Landscape
Role of UX in Mobility LandscapeRole of UX in Mobility Landscape
Role of UX in Mobility Landscape
Endeavour Software Technologies
 
15 porque-no-puedo-ver-a-dios
15 porque-no-puedo-ver-a-dios15 porque-no-puedo-ver-a-dios
15 porque-no-puedo-ver-a-dios
Ministerio Infantil Arcoiris
 
Durrani eds talk_8-10-12
Durrani eds talk_8-10-12Durrani eds talk_8-10-12
Durrani eds talk_8-10-12DrSusanS
 

Viewers also liked (10)

Mendel’s genetics
Mendel’s geneticsMendel’s genetics
Mendel’s genetics
 
1 Punto Adelante
1 Punto Adelante1 Punto Adelante
1 Punto Adelante
 
Serie 07 doc comp
Serie 07 doc compSerie 07 doc comp
Serie 07 doc comp
 
DJ-Classifieds - Joomla Classified ads extension features
DJ-Classifieds - Joomla Classified ads extension featuresDJ-Classifieds - Joomla Classified ads extension features
DJ-Classifieds - Joomla Classified ads extension features
 
Highly efficient oyster spat production technique for restoration
Highly efficient oyster spat production technique for restorationHighly efficient oyster spat production technique for restoration
Highly efficient oyster spat production technique for restoration
 
Dall’esperienza di mentor alla formazione docenti spunti dall’iniziativa dei ...
Dall’esperienza di mentor alla formazione docenti spunti dall’iniziativa dei ...Dall’esperienza di mentor alla formazione docenti spunti dall’iniziativa dei ...
Dall’esperienza di mentor alla formazione docenti spunti dall’iniziativa dei ...
 
Seguridad de la información para usuarios de tabletas en Escuelas Primarias d...
Seguridad de la información para usuarios de tabletas en Escuelas Primarias d...Seguridad de la información para usuarios de tabletas en Escuelas Primarias d...
Seguridad de la información para usuarios de tabletas en Escuelas Primarias d...
 
Role of UX in Mobility Landscape
Role of UX in Mobility LandscapeRole of UX in Mobility Landscape
Role of UX in Mobility Landscape
 
15 porque-no-puedo-ver-a-dios
15 porque-no-puedo-ver-a-dios15 porque-no-puedo-ver-a-dios
15 porque-no-puedo-ver-a-dios
 
Durrani eds talk_8-10-12
Durrani eds talk_8-10-12Durrani eds talk_8-10-12
Durrani eds talk_8-10-12
 

Similar to Stop pushing users away! - #DroidconZG

Contextual communications and why you should care - Droidcon DE
Contextual communications and why you should care - Droidcon DEContextual communications and why you should care - Droidcon DE
Contextual communications and why you should care - Droidcon DE
Marcos Placona
 
Contextual communications and why you should care - Devtalks Cluj
Contextual communications and why you should care - Devtalks ClujContextual communications and why you should care - Devtalks Cluj
Contextual communications and why you should care - Devtalks Cluj
Marcos Placona
 
Contextual communications and why should you care
Contextual communications and why should you careContextual communications and why should you care
Contextual communications and why should you care
Marcos Placona
 
PhoneGap, Backbone & Javascript
PhoneGap, Backbone & JavascriptPhoneGap, Backbone & Javascript
PhoneGap, Backbone & Javascriptnatematias
 
Birmingham JUG Lightweight Microservices with Microprofile and Raspberry PIs
Birmingham JUG Lightweight Microservices with Microprofile and Raspberry PIsBirmingham JUG Lightweight Microservices with Microprofile and Raspberry PIs
Birmingham JUG Lightweight Microservices with Microprofile and Raspberry PIs
Jean-Louis MONTEIRO
 
Easy logins for JavaScript web applications
Easy logins for JavaScript web applicationsEasy logins for JavaScript web applications
Easy logins for JavaScript web applications
Francois Marier
 
Cross-Platform UI Controls, Andrey Baskov
Cross-Platform UI Controls, Andrey BaskovCross-Platform UI Controls, Andrey Baskov
Cross-Platform UI Controls, Andrey BaskovXamarin
 
TDC2013: Arquitetura de apps com Sencha Touch 2
TDC2013: Arquitetura de apps com Sencha Touch 2TDC2013: Arquitetura de apps com Sencha Touch 2
TDC2013: Arquitetura de apps com Sencha Touch 2
Loiane Groner
 
Greach 2011 - Building Telephony Apps with Groovy and Grails
Greach 2011 - Building Telephony Apps with Groovy and GrailsGreach 2011 - Building Telephony Apps with Groovy and Grails
Greach 2011 - Building Telephony Apps with Groovy and Grails
greach_es
 

Similar to Stop pushing users away! - #DroidconZG (9)

Contextual communications and why you should care - Droidcon DE
Contextual communications and why you should care - Droidcon DEContextual communications and why you should care - Droidcon DE
Contextual communications and why you should care - Droidcon DE
 
Contextual communications and why you should care - Devtalks Cluj
Contextual communications and why you should care - Devtalks ClujContextual communications and why you should care - Devtalks Cluj
Contextual communications and why you should care - Devtalks Cluj
 
Contextual communications and why should you care
Contextual communications and why should you careContextual communications and why should you care
Contextual communications and why should you care
 
PhoneGap, Backbone & Javascript
PhoneGap, Backbone & JavascriptPhoneGap, Backbone & Javascript
PhoneGap, Backbone & Javascript
 
Birmingham JUG Lightweight Microservices with Microprofile and Raspberry PIs
Birmingham JUG Lightweight Microservices with Microprofile and Raspberry PIsBirmingham JUG Lightweight Microservices with Microprofile and Raspberry PIs
Birmingham JUG Lightweight Microservices with Microprofile and Raspberry PIs
 
Easy logins for JavaScript web applications
Easy logins for JavaScript web applicationsEasy logins for JavaScript web applications
Easy logins for JavaScript web applications
 
Cross-Platform UI Controls, Andrey Baskov
Cross-Platform UI Controls, Andrey BaskovCross-Platform UI Controls, Andrey Baskov
Cross-Platform UI Controls, Andrey Baskov
 
TDC2013: Arquitetura de apps com Sencha Touch 2
TDC2013: Arquitetura de apps com Sencha Touch 2TDC2013: Arquitetura de apps com Sencha Touch 2
TDC2013: Arquitetura de apps com Sencha Touch 2
 
Greach 2011 - Building Telephony Apps with Groovy and Grails
Greach 2011 - Building Telephony Apps with Groovy and GrailsGreach 2011 - Building Telephony Apps with Groovy and Grails
Greach 2011 - Building Telephony Apps with Groovy and Grails
 

Recently uploaded

Harnessing WebAssembly for Real-time Stateless Streaming Pipelines
Harnessing WebAssembly for Real-time Stateless Streaming PipelinesHarnessing WebAssembly for Real-time Stateless Streaming Pipelines
Harnessing WebAssembly for Real-time Stateless Streaming Pipelines
Christina Lin
 
Railway Signalling Principles Edition 3.pdf
Railway Signalling Principles Edition 3.pdfRailway Signalling Principles Edition 3.pdf
Railway Signalling Principles Edition 3.pdf
TeeVichai
 
在线办理(ANU毕业证书)澳洲国立大学毕业证录取通知书一模一样
在线办理(ANU毕业证书)澳洲国立大学毕业证录取通知书一模一样在线办理(ANU毕业证书)澳洲国立大学毕业证录取通知书一模一样
在线办理(ANU毕业证书)澳洲国立大学毕业证录取通知书一模一样
obonagu
 
Forklift Classes Overview by Intella Parts
Forklift Classes Overview by Intella PartsForklift Classes Overview by Intella Parts
Forklift Classes Overview by Intella Parts
Intella Parts
 
Water billing management system project report.pdf
Water billing management system project report.pdfWater billing management system project report.pdf
Water billing management system project report.pdf
Kamal Acharya
 
Governing Equations for Fundamental Aerodynamics_Anderson2010.pdf
Governing Equations for Fundamental Aerodynamics_Anderson2010.pdfGoverning Equations for Fundamental Aerodynamics_Anderson2010.pdf
Governing Equations for Fundamental Aerodynamics_Anderson2010.pdf
WENKENLI1
 
MCQ Soil mechanics questions (Soil shear strength).pdf
MCQ Soil mechanics questions (Soil shear strength).pdfMCQ Soil mechanics questions (Soil shear strength).pdf
MCQ Soil mechanics questions (Soil shear strength).pdf
Osamah Alsalih
 
Building Electrical System Design & Installation
Building Electrical System Design & InstallationBuilding Electrical System Design & Installation
Building Electrical System Design & Installation
symbo111
 
Unbalanced Three Phase Systems and circuits.pptx
Unbalanced Three Phase Systems and circuits.pptxUnbalanced Three Phase Systems and circuits.pptx
Unbalanced Three Phase Systems and circuits.pptx
ChristineTorrepenida1
 
Steel & Timber Design according to British Standard
Steel & Timber Design according to British StandardSteel & Timber Design according to British Standard
Steel & Timber Design according to British Standard
AkolbilaEmmanuel1
 
一比一原版(UofT毕业证)多伦多大学毕业证成绩单如何办理
一比一原版(UofT毕业证)多伦多大学毕业证成绩单如何办理一比一原版(UofT毕业证)多伦多大学毕业证成绩单如何办理
一比一原版(UofT毕业证)多伦多大学毕业证成绩单如何办理
ydteq
 
AKS UNIVERSITY Satna Final Year Project By OM Hardaha.pdf
AKS UNIVERSITY Satna Final Year Project By OM Hardaha.pdfAKS UNIVERSITY Satna Final Year Project By OM Hardaha.pdf
AKS UNIVERSITY Satna Final Year Project By OM Hardaha.pdf
SamSarthak3
 
NUMERICAL SIMULATIONS OF HEAT AND MASS TRANSFER IN CONDENSING HEAT EXCHANGERS...
NUMERICAL SIMULATIONS OF HEAT AND MASS TRANSFER IN CONDENSING HEAT EXCHANGERS...NUMERICAL SIMULATIONS OF HEAT AND MASS TRANSFER IN CONDENSING HEAT EXCHANGERS...
NUMERICAL SIMULATIONS OF HEAT AND MASS TRANSFER IN CONDENSING HEAT EXCHANGERS...
ssuser7dcef0
 
Investor-Presentation-Q1FY2024 investor presentation document.pptx
Investor-Presentation-Q1FY2024 investor presentation document.pptxInvestor-Presentation-Q1FY2024 investor presentation document.pptx
Investor-Presentation-Q1FY2024 investor presentation document.pptx
AmarGB2
 
Water Industry Process Automation and Control Monthly - May 2024.pdf
Water Industry Process Automation and Control Monthly - May 2024.pdfWater Industry Process Automation and Control Monthly - May 2024.pdf
Water Industry Process Automation and Control Monthly - May 2024.pdf
Water Industry Process Automation & Control
 
Hybrid optimization of pumped hydro system and solar- Engr. Abdul-Azeez.pdf
Hybrid optimization of pumped hydro system and solar- Engr. Abdul-Azeez.pdfHybrid optimization of pumped hydro system and solar- Engr. Abdul-Azeez.pdf
Hybrid optimization of pumped hydro system and solar- Engr. Abdul-Azeez.pdf
fxintegritypublishin
 
PPT on GRP pipes manufacturing and testing
PPT on GRP pipes manufacturing and testingPPT on GRP pipes manufacturing and testing
PPT on GRP pipes manufacturing and testing
anoopmanoharan2
 
Technical Drawings introduction to drawing of prisms
Technical Drawings introduction to drawing of prismsTechnical Drawings introduction to drawing of prisms
Technical Drawings introduction to drawing of prisms
heavyhaig
 
RAT: Retrieval Augmented Thoughts Elicit Context-Aware Reasoning in Long-Hori...
RAT: Retrieval Augmented Thoughts Elicit Context-Aware Reasoning in Long-Hori...RAT: Retrieval Augmented Thoughts Elicit Context-Aware Reasoning in Long-Hori...
RAT: Retrieval Augmented Thoughts Elicit Context-Aware Reasoning in Long-Hori...
thanhdowork
 
road safety engineering r s e unit 3.pdf
road safety engineering  r s e unit 3.pdfroad safety engineering  r s e unit 3.pdf
road safety engineering r s e unit 3.pdf
VENKATESHvenky89705
 

Recently uploaded (20)

Harnessing WebAssembly for Real-time Stateless Streaming Pipelines
Harnessing WebAssembly for Real-time Stateless Streaming PipelinesHarnessing WebAssembly for Real-time Stateless Streaming Pipelines
Harnessing WebAssembly for Real-time Stateless Streaming Pipelines
 
Railway Signalling Principles Edition 3.pdf
Railway Signalling Principles Edition 3.pdfRailway Signalling Principles Edition 3.pdf
Railway Signalling Principles Edition 3.pdf
 
在线办理(ANU毕业证书)澳洲国立大学毕业证录取通知书一模一样
在线办理(ANU毕业证书)澳洲国立大学毕业证录取通知书一模一样在线办理(ANU毕业证书)澳洲国立大学毕业证录取通知书一模一样
在线办理(ANU毕业证书)澳洲国立大学毕业证录取通知书一模一样
 
Forklift Classes Overview by Intella Parts
Forklift Classes Overview by Intella PartsForklift Classes Overview by Intella Parts
Forklift Classes Overview by Intella Parts
 
Water billing management system project report.pdf
Water billing management system project report.pdfWater billing management system project report.pdf
Water billing management system project report.pdf
 
Governing Equations for Fundamental Aerodynamics_Anderson2010.pdf
Governing Equations for Fundamental Aerodynamics_Anderson2010.pdfGoverning Equations for Fundamental Aerodynamics_Anderson2010.pdf
Governing Equations for Fundamental Aerodynamics_Anderson2010.pdf
 
MCQ Soil mechanics questions (Soil shear strength).pdf
MCQ Soil mechanics questions (Soil shear strength).pdfMCQ Soil mechanics questions (Soil shear strength).pdf
MCQ Soil mechanics questions (Soil shear strength).pdf
 
Building Electrical System Design & Installation
Building Electrical System Design & InstallationBuilding Electrical System Design & Installation
Building Electrical System Design & Installation
 
Unbalanced Three Phase Systems and circuits.pptx
Unbalanced Three Phase Systems and circuits.pptxUnbalanced Three Phase Systems and circuits.pptx
Unbalanced Three Phase Systems and circuits.pptx
 
Steel & Timber Design according to British Standard
Steel & Timber Design according to British StandardSteel & Timber Design according to British Standard
Steel & Timber Design according to British Standard
 
一比一原版(UofT毕业证)多伦多大学毕业证成绩单如何办理
一比一原版(UofT毕业证)多伦多大学毕业证成绩单如何办理一比一原版(UofT毕业证)多伦多大学毕业证成绩单如何办理
一比一原版(UofT毕业证)多伦多大学毕业证成绩单如何办理
 
AKS UNIVERSITY Satna Final Year Project By OM Hardaha.pdf
AKS UNIVERSITY Satna Final Year Project By OM Hardaha.pdfAKS UNIVERSITY Satna Final Year Project By OM Hardaha.pdf
AKS UNIVERSITY Satna Final Year Project By OM Hardaha.pdf
 
NUMERICAL SIMULATIONS OF HEAT AND MASS TRANSFER IN CONDENSING HEAT EXCHANGERS...
NUMERICAL SIMULATIONS OF HEAT AND MASS TRANSFER IN CONDENSING HEAT EXCHANGERS...NUMERICAL SIMULATIONS OF HEAT AND MASS TRANSFER IN CONDENSING HEAT EXCHANGERS...
NUMERICAL SIMULATIONS OF HEAT AND MASS TRANSFER IN CONDENSING HEAT EXCHANGERS...
 
Investor-Presentation-Q1FY2024 investor presentation document.pptx
Investor-Presentation-Q1FY2024 investor presentation document.pptxInvestor-Presentation-Q1FY2024 investor presentation document.pptx
Investor-Presentation-Q1FY2024 investor presentation document.pptx
 
Water Industry Process Automation and Control Monthly - May 2024.pdf
Water Industry Process Automation and Control Monthly - May 2024.pdfWater Industry Process Automation and Control Monthly - May 2024.pdf
Water Industry Process Automation and Control Monthly - May 2024.pdf
 
Hybrid optimization of pumped hydro system and solar- Engr. Abdul-Azeez.pdf
Hybrid optimization of pumped hydro system and solar- Engr. Abdul-Azeez.pdfHybrid optimization of pumped hydro system and solar- Engr. Abdul-Azeez.pdf
Hybrid optimization of pumped hydro system and solar- Engr. Abdul-Azeez.pdf
 
PPT on GRP pipes manufacturing and testing
PPT on GRP pipes manufacturing and testingPPT on GRP pipes manufacturing and testing
PPT on GRP pipes manufacturing and testing
 
Technical Drawings introduction to drawing of prisms
Technical Drawings introduction to drawing of prismsTechnical Drawings introduction to drawing of prisms
Technical Drawings introduction to drawing of prisms
 
RAT: Retrieval Augmented Thoughts Elicit Context-Aware Reasoning in Long-Hori...
RAT: Retrieval Augmented Thoughts Elicit Context-Aware Reasoning in Long-Hori...RAT: Retrieval Augmented Thoughts Elicit Context-Aware Reasoning in Long-Hori...
RAT: Retrieval Augmented Thoughts Elicit Context-Aware Reasoning in Long-Hori...
 
road safety engineering r s e unit 3.pdf
road safety engineering  r s e unit 3.pdfroad safety engineering  r s e unit 3.pdf
road safety engineering r s e unit 3.pdf
 

Stop pushing users away! - #DroidconZG