Enviar búsqueda
Cargar
Connecting to Web Services on Android June 2 2010
•
1 recomendación
•
2,100 vistas
sullis
Seguir
Open Source Bridge 2010 June 2, 2010 Portland Oregon
Leer menos
Leer más
Tecnología
Denunciar
Compartir
Denunciar
Compartir
1 de 27
Descargar ahora
Descargar para leer sin conexión
Recomendados
Web Services and Android - OSSPAC 2009
Web Services and Android - OSSPAC 2009
sullis
Connecting to Web Services on Android
Connecting to Web Services on Android
sullis
Android webservices
Android webservices
Krazy Koder
Incorporating Web Services in Mobile Applications - Web 2.0 San Fran 2009
Incorporating Web Services in Mobile Applications - Web 2.0 San Fran 2009
Aduci
DAST в CI/CD, Ольга Свиридова
DAST в CI/CD, Ольга Свиридова
Mail.ru Group
Real time web: is there a life without socket.io and node.js?
Real time web: is there a life without socket.io and node.js?
Eduard Trayan
What i got wrong when somebody asked me to deploy a web app
What i got wrong when somebody asked me to deploy a web app
talkingquickly
How to Start Performance Testing?
How to Start Performance Testing?
Nebojša Videnov
Recomendados
Web Services and Android - OSSPAC 2009
Web Services and Android - OSSPAC 2009
sullis
Connecting to Web Services on Android
Connecting to Web Services on Android
sullis
Android webservices
Android webservices
Krazy Koder
Incorporating Web Services in Mobile Applications - Web 2.0 San Fran 2009
Incorporating Web Services in Mobile Applications - Web 2.0 San Fran 2009
Aduci
DAST в CI/CD, Ольга Свиридова
DAST в CI/CD, Ольга Свиридова
Mail.ru Group
Real time web: is there a life without socket.io and node.js?
Real time web: is there a life without socket.io and node.js?
Eduard Trayan
What i got wrong when somebody asked me to deploy a web app
What i got wrong when somebody asked me to deploy a web app
talkingquickly
How to Start Performance Testing?
How to Start Performance Testing?
Nebojša Videnov
Building Next Generation Real-Time Web Applications using Websockets
Building Next Generation Real-Time Web Applications using Websockets
Naresh Chintalcheru
AtlasCamp 2014: Building a Connect Add-on With Your Own Stack
AtlasCamp 2014: Building a Connect Add-on With Your Own Stack
Atlassian
Profiling PHP with Xdebug / Webgrind
Profiling PHP with Xdebug / Webgrind
Sam Keen
Bug Bounty Hunter Methodology - Nullcon 2016
Bug Bounty Hunter Methodology - Nullcon 2016
bugcrowd
An introduction to PhantomJS: A headless browser for automation test.
An introduction to PhantomJS: A headless browser for automation test.
BugRaptors
How do I Write Testable Javascript so I can Test my CF API on Server and Client
How do I Write Testable Javascript so I can Test my CF API on Server and Client
ColdFusionConference
Vulnerability intelligence with vulners.com / Кирилл Ермаков, Игорь Булатенко...
Vulnerability intelligence with vulners.com / Кирилл Ермаков, Игорь Булатенко...
Ontico
Александр Сергиенко, Senior Android Developer, DataArt
Александр Сергиенко, Senior Android Developer, DataArt
Alina Vilk
Real time web (Orbited) at BCNE3
Real time web (Orbited) at BCNE3
Alex Kavanagh
Web Exploitation
Web Exploitation
UTD Computer Security Group
How to build a container monitoring solution - David Gildeh, CEO and Co-Found...
How to build a container monitoring solution - David Gildeh, CEO and Co-Found...
Outlyer
Web backends development using Python
Web backends development using Python
Ayun Park
Bigger Stronger Faster
Bigger Stronger Faster
Chris Love
Zombiejs
Zombiejs
Виктор Ткаченко
AtlasCamp 2014: Static Connect Add-ons
AtlasCamp 2014: Static Connect Add-ons
Atlassian
Alexander Mostovenko "'Devide at impera' with GraphQL and SSR"
Alexander Mostovenko "'Devide at impera' with GraphQL and SSR"
Fwdays
Introduction to Retrofit
Introduction to Retrofit
Kazuhiro Serizawa
Building RESTful APIs
Building RESTful APIs
Silota Inc.
HTTPS and HTTP/2
HTTPS and HTTP/2
MatthewWalker9
Detecting headless browsers
Detecting headless browsers
Sergey Shekyan
Connecting to-web-services-on-android-4577
Connecting to-web-services-on-android-4577
sharvari123
Android lessons you won't learn in school
Android lessons you won't learn in school
Michael Galpin
Más contenido relacionado
La actualidad más candente
Building Next Generation Real-Time Web Applications using Websockets
Building Next Generation Real-Time Web Applications using Websockets
Naresh Chintalcheru
AtlasCamp 2014: Building a Connect Add-on With Your Own Stack
AtlasCamp 2014: Building a Connect Add-on With Your Own Stack
Atlassian
Profiling PHP with Xdebug / Webgrind
Profiling PHP with Xdebug / Webgrind
Sam Keen
Bug Bounty Hunter Methodology - Nullcon 2016
Bug Bounty Hunter Methodology - Nullcon 2016
bugcrowd
An introduction to PhantomJS: A headless browser for automation test.
An introduction to PhantomJS: A headless browser for automation test.
BugRaptors
How do I Write Testable Javascript so I can Test my CF API on Server and Client
How do I Write Testable Javascript so I can Test my CF API on Server and Client
ColdFusionConference
Vulnerability intelligence with vulners.com / Кирилл Ермаков, Игорь Булатенко...
Vulnerability intelligence with vulners.com / Кирилл Ермаков, Игорь Булатенко...
Ontico
Александр Сергиенко, Senior Android Developer, DataArt
Александр Сергиенко, Senior Android Developer, DataArt
Alina Vilk
Real time web (Orbited) at BCNE3
Real time web (Orbited) at BCNE3
Alex Kavanagh
Web Exploitation
Web Exploitation
UTD Computer Security Group
How to build a container monitoring solution - David Gildeh, CEO and Co-Found...
How to build a container monitoring solution - David Gildeh, CEO and Co-Found...
Outlyer
Web backends development using Python
Web backends development using Python
Ayun Park
Bigger Stronger Faster
Bigger Stronger Faster
Chris Love
Zombiejs
Zombiejs
Виктор Ткаченко
AtlasCamp 2014: Static Connect Add-ons
AtlasCamp 2014: Static Connect Add-ons
Atlassian
Alexander Mostovenko "'Devide at impera' with GraphQL and SSR"
Alexander Mostovenko "'Devide at impera' with GraphQL and SSR"
Fwdays
Introduction to Retrofit
Introduction to Retrofit
Kazuhiro Serizawa
Building RESTful APIs
Building RESTful APIs
Silota Inc.
HTTPS and HTTP/2
HTTPS and HTTP/2
MatthewWalker9
Detecting headless browsers
Detecting headless browsers
Sergey Shekyan
La actualidad más candente
(20)
Building Next Generation Real-Time Web Applications using Websockets
Building Next Generation Real-Time Web Applications using Websockets
AtlasCamp 2014: Building a Connect Add-on With Your Own Stack
AtlasCamp 2014: Building a Connect Add-on With Your Own Stack
Profiling PHP with Xdebug / Webgrind
Profiling PHP with Xdebug / Webgrind
Bug Bounty Hunter Methodology - Nullcon 2016
Bug Bounty Hunter Methodology - Nullcon 2016
An introduction to PhantomJS: A headless browser for automation test.
An introduction to PhantomJS: A headless browser for automation test.
How do I Write Testable Javascript so I can Test my CF API on Server and Client
How do I Write Testable Javascript so I can Test my CF API on Server and Client
Vulnerability intelligence with vulners.com / Кирилл Ермаков, Игорь Булатенко...
Vulnerability intelligence with vulners.com / Кирилл Ермаков, Игорь Булатенко...
Александр Сергиенко, Senior Android Developer, DataArt
Александр Сергиенко, Senior Android Developer, DataArt
Real time web (Orbited) at BCNE3
Real time web (Orbited) at BCNE3
Web Exploitation
Web Exploitation
How to build a container monitoring solution - David Gildeh, CEO and Co-Found...
How to build a container monitoring solution - David Gildeh, CEO and Co-Found...
Web backends development using Python
Web backends development using Python
Bigger Stronger Faster
Bigger Stronger Faster
Zombiejs
Zombiejs
AtlasCamp 2014: Static Connect Add-ons
AtlasCamp 2014: Static Connect Add-ons
Alexander Mostovenko "'Devide at impera' with GraphQL and SSR"
Alexander Mostovenko "'Devide at impera' with GraphQL and SSR"
Introduction to Retrofit
Introduction to Retrofit
Building RESTful APIs
Building RESTful APIs
HTTPS and HTTP/2
HTTPS and HTTP/2
Detecting headless browsers
Detecting headless browsers
Similar a Connecting to Web Services on Android June 2 2010
Connecting to-web-services-on-android-4577
Connecting to-web-services-on-android-4577
sharvari123
Android lessons you won't learn in school
Android lessons you won't learn in school
Michael Galpin
マイクロサービスバックエンドAPIのためのRESTとgRPC
マイクロサービスバックエンドAPIのためのRESTとgRPC
disc99_
Barcamp Bangkhen :: Robot Framework
Barcamp Bangkhen :: Robot Framework
Somkiat Puisungnoen
Introduction to Robot Framework
Introduction to Robot Framework
Somkiat Puisungnoen
DanNotes 2013: OpenNTF Domino API
DanNotes 2013: OpenNTF Domino API
Paul Withers
End-to-end W3C APIs - tpac 2012
End-to-end W3C APIs - tpac 2012
Alexandre Morgaut
Middleware in Golang: InVision's Rye
Middleware in Golang: InVision's Rye
Cale Hoopes
In-browser storage and me
In-browser storage and me
Jason Casden
Lecture05.pptx
Lecture05.pptx
MrVMNair
ITT 2014 - Erik Hellmann - Android Programming - Smarter and Better Networking
ITT 2014 - Erik Hellmann - Android Programming - Smarter and Better Networking
Istanbul Tech Talks
How to Contribute to Apache Usergrid
How to Contribute to Apache Usergrid
David M. Johnson
automated-automation-of-rest-apis.pptx
automated-automation-of-rest-apis.pptx
Aditya274010
Maine WordPress Meetup JSON REST API, 3/16/2016
Maine WordPress Meetup JSON REST API, 3/16/2016
Andre Gagnon
Inside Of Mbga Open Platform
Inside Of Mbga Open Platform
Hideo Kimura
Building Awesome APIs with Lumen
Building Awesome APIs with Lumen
Kit Brennan
01/2009 - Portral development with liferay
01/2009 - Portral development with liferay
daveayan
Java scriptwidgetdevelopmentjstanbul2012
Java scriptwidgetdevelopmentjstanbul2012
Volkan Özçelik
External JavaScript Widget Development Best Practices
External JavaScript Widget Development Best Practices
Volkan Özçelik
External JavaScript Widget Development Best Practices (updated) (v.1.1)
External JavaScript Widget Development Best Practices (updated) (v.1.1)
Volkan Özçelik
Similar a Connecting to Web Services on Android June 2 2010
(20)
Connecting to-web-services-on-android-4577
Connecting to-web-services-on-android-4577
Android lessons you won't learn in school
Android lessons you won't learn in school
マイクロサービスバックエンドAPIのためのRESTとgRPC
マイクロサービスバックエンドAPIのためのRESTとgRPC
Barcamp Bangkhen :: Robot Framework
Barcamp Bangkhen :: Robot Framework
Introduction to Robot Framework
Introduction to Robot Framework
DanNotes 2013: OpenNTF Domino API
DanNotes 2013: OpenNTF Domino API
End-to-end W3C APIs - tpac 2012
End-to-end W3C APIs - tpac 2012
Middleware in Golang: InVision's Rye
Middleware in Golang: InVision's Rye
In-browser storage and me
In-browser storage and me
Lecture05.pptx
Lecture05.pptx
ITT 2014 - Erik Hellmann - Android Programming - Smarter and Better Networking
ITT 2014 - Erik Hellmann - Android Programming - Smarter and Better Networking
How to Contribute to Apache Usergrid
How to Contribute to Apache Usergrid
automated-automation-of-rest-apis.pptx
automated-automation-of-rest-apis.pptx
Maine WordPress Meetup JSON REST API, 3/16/2016
Maine WordPress Meetup JSON REST API, 3/16/2016
Inside Of Mbga Open Platform
Inside Of Mbga Open Platform
Building Awesome APIs with Lumen
Building Awesome APIs with Lumen
01/2009 - Portral development with liferay
01/2009 - Portral development with liferay
Java scriptwidgetdevelopmentjstanbul2012
Java scriptwidgetdevelopmentjstanbul2012
External JavaScript Widget Development Best Practices
External JavaScript Widget Development Best Practices
External JavaScript Widget Development Best Practices (updated) (v.1.1)
External JavaScript Widget Development Best Practices (updated) (v.1.1)
Más de sullis
Getting started with MongoDB and Scala - Open Source Bridge 2012
Getting started with MongoDB and Scala - Open Source Bridge 2012
sullis
Production Ready Web Services with Dropwizard
Production Ready Web Services with Dropwizard
sullis
Incremental deployment of new features
Incremental deployment of new features
sullis
Comparing JSON Libraries - July 19 2011
Comparing JSON Libraries - July 19 2011
sullis
Android - Open Source Bridge 2011
Android - Open Source Bridge 2011
sullis
Android 3.1 - Portland Code Camp 2011
Android 3.1 - Portland Code Camp 2011
sullis
Android 3.0 Portland Java User Group 2011-03-15
Android 3.0 Portland Java User Group 2011-03-15
sullis
GWT 2.0 - OSCON 2010
GWT 2.0 - OSCON 2010
sullis
Programming WebSockets - OSCON 2010
Programming WebSockets - OSCON 2010
sullis
Programming WebSockets - April 20 2010
Programming WebSockets - April 20 2010
sullis
WebDAV - April 15 2008
WebDAV - April 15 2008
sullis
GWT 2.0 - December 15 2009
GWT 2.0 - December 15 2009
sullis
Google App Engine - September 17 2009
Google App Engine - September 17 2009
sullis
Google App Engine - Portland Java User Group - August 18 2009
Google App Engine - Portland Java User Group - August 18 2009
sullis
Domo Arigato Mr. Roboto - Open Source Bridge 2009
Domo Arigato Mr. Roboto - Open Source Bridge 2009
sullis
Java and JSON - UJUG - March 19 2009
Java and JSON - UJUG - March 19 2009
sullis
OAuth and REST web services
OAuth and REST web services
sullis
Introduction to Android - Mobile Fest Singapore 2009
Introduction to Android - Mobile Fest Singapore 2009
sullis
Getting Started with Android - OSSPAC 2009
Getting Started with Android - OSSPAC 2009
sullis
Introduction to Android - Mobile Portland
Introduction to Android - Mobile Portland
sullis
Más de sullis
(20)
Getting started with MongoDB and Scala - Open Source Bridge 2012
Getting started with MongoDB and Scala - Open Source Bridge 2012
Production Ready Web Services with Dropwizard
Production Ready Web Services with Dropwizard
Incremental deployment of new features
Incremental deployment of new features
Comparing JSON Libraries - July 19 2011
Comparing JSON Libraries - July 19 2011
Android - Open Source Bridge 2011
Android - Open Source Bridge 2011
Android 3.1 - Portland Code Camp 2011
Android 3.1 - Portland Code Camp 2011
Android 3.0 Portland Java User Group 2011-03-15
Android 3.0 Portland Java User Group 2011-03-15
GWT 2.0 - OSCON 2010
GWT 2.0 - OSCON 2010
Programming WebSockets - OSCON 2010
Programming WebSockets - OSCON 2010
Programming WebSockets - April 20 2010
Programming WebSockets - April 20 2010
WebDAV - April 15 2008
WebDAV - April 15 2008
GWT 2.0 - December 15 2009
GWT 2.0 - December 15 2009
Google App Engine - September 17 2009
Google App Engine - September 17 2009
Google App Engine - Portland Java User Group - August 18 2009
Google App Engine - Portland Java User Group - August 18 2009
Domo Arigato Mr. Roboto - Open Source Bridge 2009
Domo Arigato Mr. Roboto - Open Source Bridge 2009
Java and JSON - UJUG - March 19 2009
Java and JSON - UJUG - March 19 2009
OAuth and REST web services
OAuth and REST web services
Introduction to Android - Mobile Fest Singapore 2009
Introduction to Android - Mobile Fest Singapore 2009
Getting Started with Android - OSSPAC 2009
Getting Started with Android - OSSPAC 2009
Introduction to Android - Mobile Portland
Introduction to Android - Mobile Portland
Último
What is DBT - The Ultimate Data Build Tool.pdf
What is DBT - The Ultimate Data Build Tool.pdf
MounikaPolabathina
DevoxxFR 2024 Reproducible Builds with Apache Maven
DevoxxFR 2024 Reproducible Builds with Apache Maven
Hervé Boutemy
New from BookNet Canada for 2024: Loan Stars - Tech Forum 2024
New from BookNet Canada for 2024: Loan Stars - Tech Forum 2024
BookNet Canada
Merck Moving Beyond Passwords: FIDO Paris Seminar.pptx
Merck Moving Beyond Passwords: FIDO Paris Seminar.pptx
LoriGlavin3
"ML in Production",Oleksandr Bagan
"ML in Production",Oleksandr Bagan
Fwdays
Unleash Your Potential - Namagunga Girls Coding Club
Unleash Your Potential - Namagunga Girls Coding Club
Kalema Edgar
The Fit for Passkeys for Employee and Consumer Sign-ins: FIDO Paris Seminar.pptx
The Fit for Passkeys for Employee and Consumer Sign-ins: FIDO Paris Seminar.pptx
LoriGlavin3
A Deep Dive on Passkeys: FIDO Paris Seminar.pptx
A Deep Dive on Passkeys: FIDO Paris Seminar.pptx
LoriGlavin3
"Subclassing and Composition – A Pythonic Tour of Trade-Offs", Hynek Schlawack
"Subclassing and Composition – A Pythonic Tour of Trade-Offs", Hynek Schlawack
Fwdays
Are Multi-Cloud and Serverless Good or Bad?
Are Multi-Cloud and Serverless Good or Bad?
Mattias Andersson
Moving Beyond Passwords: FIDO Paris Seminar.pdf
Moving Beyond Passwords: FIDO Paris Seminar.pdf
LoriGlavin3
New from BookNet Canada for 2024: BNC CataList - Tech Forum 2024
New from BookNet Canada for 2024: BNC CataList - Tech Forum 2024
BookNet Canada
SALESFORCE EDUCATION CLOUD | FEXLE SERVICES
SALESFORCE EDUCATION CLOUD | FEXLE SERVICES
mohitsingh558521
Commit 2024 - Secret Management made easy
Commit 2024 - Secret Management made easy
Alfredo García Lavilla
Hyperautomation and AI/ML: A Strategy for Digital Transformation Success.pdf
Hyperautomation and AI/ML: A Strategy for Digital Transformation Success.pdf
Precisely
SAP Build Work Zone - Overview L2-L3.pptx
SAP Build Work Zone - Overview L2-L3.pptx
NavinnSomaal
The State of Passkeys with FIDO Alliance.pptx
The State of Passkeys with FIDO Alliance.pptx
LoriGlavin3
TeamStation AI System Report LATAM IT Salaries 2024
TeamStation AI System Report LATAM IT Salaries 2024
Lonnie McRorey
Scanning the Internet for External Cloud Exposures via SSL Certs
Scanning the Internet for External Cloud Exposures via SSL Certs
Rizwan Syed
unit 4 immunoblotting technique complete.pptx
unit 4 immunoblotting technique complete.pptx
BkGupta21
Último
(20)
What is DBT - The Ultimate Data Build Tool.pdf
What is DBT - The Ultimate Data Build Tool.pdf
DevoxxFR 2024 Reproducible Builds with Apache Maven
DevoxxFR 2024 Reproducible Builds with Apache Maven
New from BookNet Canada for 2024: Loan Stars - Tech Forum 2024
New from BookNet Canada for 2024: Loan Stars - Tech Forum 2024
Merck Moving Beyond Passwords: FIDO Paris Seminar.pptx
Merck Moving Beyond Passwords: FIDO Paris Seminar.pptx
"ML in Production",Oleksandr Bagan
"ML in Production",Oleksandr Bagan
Unleash Your Potential - Namagunga Girls Coding Club
Unleash Your Potential - Namagunga Girls Coding Club
The Fit for Passkeys for Employee and Consumer Sign-ins: FIDO Paris Seminar.pptx
The Fit for Passkeys for Employee and Consumer Sign-ins: FIDO Paris Seminar.pptx
A Deep Dive on Passkeys: FIDO Paris Seminar.pptx
A Deep Dive on Passkeys: FIDO Paris Seminar.pptx
"Subclassing and Composition – A Pythonic Tour of Trade-Offs", Hynek Schlawack
"Subclassing and Composition – A Pythonic Tour of Trade-Offs", Hynek Schlawack
Are Multi-Cloud and Serverless Good or Bad?
Are Multi-Cloud and Serverless Good or Bad?
Moving Beyond Passwords: FIDO Paris Seminar.pdf
Moving Beyond Passwords: FIDO Paris Seminar.pdf
New from BookNet Canada for 2024: BNC CataList - Tech Forum 2024
New from BookNet Canada for 2024: BNC CataList - Tech Forum 2024
SALESFORCE EDUCATION CLOUD | FEXLE SERVICES
SALESFORCE EDUCATION CLOUD | FEXLE SERVICES
Commit 2024 - Secret Management made easy
Commit 2024 - Secret Management made easy
Hyperautomation and AI/ML: A Strategy for Digital Transformation Success.pdf
Hyperautomation and AI/ML: A Strategy for Digital Transformation Success.pdf
SAP Build Work Zone - Overview L2-L3.pptx
SAP Build Work Zone - Overview L2-L3.pptx
The State of Passkeys with FIDO Alliance.pptx
The State of Passkeys with FIDO Alliance.pptx
TeamStation AI System Report LATAM IT Salaries 2024
TeamStation AI System Report LATAM IT Salaries 2024
Scanning the Internet for External Cloud Exposures via SSL Certs
Scanning the Internet for External Cloud Exposures via SSL Certs
unit 4 immunoblotting technique complete.pptx
unit 4 immunoblotting technique complete.pptx
Connecting to Web Services on Android June 2 2010
1.
Connecting to Web Services
on Android Sean Sullivan June 2, 2010
2.
3.
4.
5.
6.
7.
8.
9.
HTTP request HTTP response
10.
11.
•
HTTP • XML • JSON • OAuth
12.
+ HTTP Option 1
• java.net.URL • java.net.HttpURLConnection Option 2 • HttpClient 4.0 API
13.
HttpClient 4.0 API •
org.apache.http.client.HttpClient • org.apache.http.impl.client.DefaultHttpClient
14.
HttpClient 4.0 API •
org.apache.http.client.methods.HttpGet • org.apache.http.client.methods.HttpPost • org.apache.http.client.methods.HttpPut • org.apache.http.client.methods.HttpDelete
15.
HttpClient 4.0 API •
org.apache.http.HttpResponse • org.apache.http.StatusLine • org.apache.http.HttpEntity • org.apache.http.utils.EntityUtils
16.
HttpClient programming • HTTP
response status code • I/O exceptions • timeouts • gzip
17.
HttpClient programming synchronous invocation
public HttpResponse execute(HttpUriRequest request) asynchronous invocation public HttpResponse execute(HttpUriRequest request, ResponseHandler handler)
18.
UI programming • user
clicks on button • onClick listener • Don’t block the UI thread! • Tip: use java.lang.Runnable
19.
Response formats • XML •
JSON • RSS, Atom • other
20.
JSON processing • json.org
package • Google GSON library • XStream + Jettison * • json-lib * * does not work on Android 1.x
21.
XML processing • org.w3c.dom
package (DOM) • org.xml.sax package (SAX) • org.xmlpull package (XPP) • XStream • JDOM • Apache XmlBeans* * does not work on Android 1.x
22.
RSS and Atom •
Rome library * • Apache Abdera library * * does not work on Android 1.x
23.
Client libraries
code.google.com/p/jfireeagle code.google.com/p/jpoco code.google.com/p/meetup-java-client
24.
Client libraries
code.google.com/p/gdata-java-client code.google.com/p/upcoming-java-client flickrj.sourceforge.net
25.
26.
Conclusion • HttpClient API •
use XStream for XML processing • use Google GSON for JSON processing • OAuth has a learning curve
27.
Thank you
Descargar ahora