Account Options

  1. Sign in
The old Google Groups will be going away soon, but your browser is incompatible with the new version.
Google Groups Home
« Groups Home
Google account access with Android SDK - possible?
There are currently too many topics in this group that display first. To make this topic appear first, remove this option from another topic.
There was an error processing your request. Please try again.
flag
  2 messages - Collapse all  -  Translate all to Translated (View all originals)
The group you are posting to is a Usenet group. Messages posted to this group will make your email address visible to anyone on the Internet.
Your reply message has not been sent.
Your post was successful
 
From:
To:
Cc:
Followup To:
Add Cc | Add Followup-to | Edit Subject
Subject:
Validation:
For verification purposes please type the characters you see in the picture below or the numbers you hear by clicking the accessibility icon. Listen and type the numbers you hear
 
Andy  
View profile  
 More options Oct 3 2012, 4:37 am
From: Andy <andy.lock...@me.com>
Date: Wed, 3 Oct 2012 01:37:00 -0700 (PDT)
Subject: Google account access with Android SDK - possible?

New to Android development so just want to know if the following is
possible. I've worked with Twitter/Facebook access in PHP, but never Google
and never using Java.

Is it possible to create an Android app which can:

   - Login to Google account
   - Fetch GMail emails from said Google account
   - Fetch Calendar info from said Google account

I've tried Googling this but am struggling to find a definitive answer.
This is for a college project.

Any help/advice much appreciated.

Andy


 
You must Sign in before you can post messages.
To post a message you must first join this group.
Please update your nickname on the subscription settings page before posting.
You do not have the permission required to post.
Nikolay Elenkov  
View profile  
 More options Oct 3 2012, 9:33 pm
From: Nikolay Elenkov <nikolay.elen...@gmail.com>
Date: Thu, 4 Oct 2012 10:25:25 +0900
Local: Wed, Oct 3 2012 9:25 pm
Subject: Re: [android-developers] Google account access with Android SDK - possible?

On Wed, Oct 3, 2012 at 5:37 PM, Andy <andy.lock...@me.com> wrote:
> New to Android development so just want to know if the following is
> possible. I've worked with Twitter/Facebook access in PHP, but never Google
> and never using Java.

> Is it possible to create an Android app which can:

> Login to Google account
> Fetch GMail emails from said Google account
> Fetch Calendar info from said Google account

It depends :) You can get an authentication token (ClientLogin or OAuth2) using
the AccountManager or the newly released Google Play Services API. You can
use that token to login to Google APIs, directly or using client libraries they
provide. There is an API for Calendar, for GMail you can use an OAuth2 token
to login to IMAP and fetch messages. There used to be an RSS feed with
messages as well, not sure if it is still available.

You can check available client libraries here:

http://code.google.com/p/google-api-java-client/wiki/APIs


 
You must Sign in before you can post messages.
To post a message you must first join this group.
Please update your nickname on the subscription settings page before posting.
You do not have the permission required to post.
End of messages
« Back to Discussions « Newer topic     Older topic »