2. Android is a software stack for mobile devices that
includes an operating system, middleware and
applications
Linux version 2.6
Tuesday, November
22, 2011 2
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
Tuesday, November
22, 2011 3
5. 5 – 10 M downloads
Not available in Greece yet
Tuesday, November
22, 2011 5
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
Tuesday, November
22, 2011 6
7. Step 1 (Register an Application)
◦ https://code.google.com/apis/console
Tuesday, November
22, 2011 7
8. Step 2 (Get the access tokens)
Tuesday, November
22, 2011 8
9. Step 3 (Get the Libraries)
◦ Google APIs Client Library for Java
A flexible, efficient, and powerful Java client library for
accessing GoogleAPIs
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
Tuesday, November
22, 2011 9
10. Step 4 (Use the Libraries)
Tuesday, November
22, 2011 10
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
Tuesday, November
22, 2011 12