Instructions for the Tasks V1 Android Sample
Browse Online
Prerequisites
- Install Java (requires 6 or higher)
- Install Git (suggested 1.7.10 or higher)
or GitHub client (Mac)
(Windows)
- Unzip Gradle
2.2.1
- Install either Android
Studio (which bundles the Android SDK) or just Android SDK if you don't want to
use Android Studio. Set your
ANDROID_HOME to the Android SDK installation directory, which for Android Studio is in the
"sdk" subdirectory.
Register Your Application
- Visit the Google Cloud
console flow for the Google Tasks API.
- If necessary, sign in to your Google Account, select or create a
project, and agree to the terms of service. Click Continue.
- For Platform select "Android".
- Click on "APIs" under "APIs & auth" in the left sidebar and make sure "Tasks API" is
enabled.
Checkout Instructions
cd [someDirectory]
git clone https://github.com/google/google-api-java-client-samples.git
cd google-api-java-client-samples/tasks-android-sample
Set Up Project in Android Studio