android & google plus
DESCRIPTION
TRANSCRIPT
Christos Papazafeiropoulos
Co-Founder & [email protected] - @cpapazaf
Android & Google+5th GTUG, Athens, Greece
22 Nov 2011
2
Android is a software stack for mobile devices that includes an operating system, middleware and applications
Linux version 2.6
Monday, April 10, 2023
What is Android
Monday, April 10, 2023
3
Application framework Dalvik virtual machine Integrated browser, WebKit Custom 2D, 3D SQLite Media support (MPEG4, H.264, MP3, AAC, AMR, JPG, PNG, GIF) Telephony (hardware dependent) Bluetooth, EDGE, 3G, and WiFi (hardware dependent) Camera, GPS, compass, and accelerometer (hardware dependent)
Development environment:◦ device emulator, ◦ tools for debugging, ◦ memory and performance profiling, ◦ plugin for the Eclipse IDE
Basic Android Features
Monday, April 10, 2023
4
What is Google+
http://www.sliderocket.com/blog/2011/09/presentation-google-plus/
Monday, April 10, 2023
5
5 – 10 M downloads Not available in Greece yet
Google+ on Android – The Application
Monday, April 10, 2023
6
Google+ API (https://developers.google.com/+/api/ )◦ People
People is a list of person resources, each of which represents a Google+ user Get a person's profile Search all public profiles List all of the people in the specified collection for a particular activity
◦ Activities An activity is a note that a user posts to their stream List all of the activities in the specified collection for a particular user Get an activity Search public activities
◦ Comments A comment is a reply to an activity List all of the comments for an activity Get a comment
Test it at:◦ https://code.google.com/apis/explorer/#_s=plus&_v=v1
Access to Developers
Monday, April 10, 2023
7
Step 1 (Register an Application)◦ https://code.google.com/apis/console
Integration (How to use Google+ API)
Monday, April 10, 2023
8
Step 2 (Get the access tokens)
Integration (How to use Google+ API)
Monday, April 10, 2023
9
Step 3 (Get the Libraries)◦ Google APIs Client Library for Java
A flexible, efficient, and powerful Java client library for accessing Google APIs
http://code.google.com/p/google-api-java-client/downloads/list
◦ Google+ API Library for Java The Google+ API is the programming interface to Google+ Note: The Google+ API currently provides read-only
access to public data All API calls require either an OAuth 2.0 token or an API
key http://code.google.com/p/google-api-java-client/wiki/APIs#
Google+_API
Integration (How to use Google+ API)
Monday, April 10, 2023
10
Step 4 (Use the Libraries)
Integration (How to use Google+ API)
Monday, April 10, 2023
11
Step 5 (Sample Code)
Integration (How to use Google+ API)
Monday, April 10, 2023
12
Google plus◦ https://plus.google.com
Google APIs console◦ https://code.google.com/apis/console
Google Clients java library◦ http://code.google.com/p/google-api-java-client
Google+ API◦ https://developers.google.com/+/api/
Google+ API Explorer◦ https://code.google.com/apis/explorer/#_s=plus&
_v=v1
Useful Links
Monday, April 10, 2023
13