You are here

How to Build an Android App that Calls the Apps Script Execution API

Google’s Apps Script lets you build applications and automate tasks using JavaScript's familiar format. Google APIs and UI tools are built in as services, allowing developers to combine web development skills with Google products to build new applications.

Apps Script offers the ability to publish completed web apps to the Chrome Web Store for distribution, but usability relies heavily on the app’s ability to communicate with external applications. As an example, if you receive an email with attachments on a mobile device, you could easily use an Apps Script-based add-on to auto-save those attachments to Google Drive.

This function relies on the external application’s ability to communicate with the Apps Script project, which uses Google’s Execution API. In this Quickstart Guide on Google Developers blog, followers are shown how to build a simple Android application that makes calls to the Apps Script Execution API.

Followers will need an Android Studio SDK 1.2 or later, Android SDK packages for API 23 or later, and a target Apps Script for the API to call. Once you have acquired an SHA1 fingerprint, enable the Execution API and prepare a new Android project. Using the code provided, simply set up the sample and then run the app, all of which should be accomplished in around 10 minutes.

Be sure to read the next Application Development article: How to Build a Python CLI that Calls the Apps Script Execution API

Original Article

Android Quickstart




Well written and also have covered all the things in detail. Really nice topic to read out. Thanks for sharing your knowledge with us.

I am an app developer, I have tried most of the mobile app development platforms.  I have developed more than 50 apps till today with the help of Phonegap, Telerik, Configure.IT etc. They are running successfully on app store.

As per my experience in this field, I recommend developers as well as beginners to use mobile app development platform like Configure.IT, because it provides automatic coding, app preview facility, direct API connect and a lot more features. These things save a lot more development time and provides fast and well designed app in much less time.

One of the best things of this platform, you can convert your iOS app in to Android directly with some simple process. This platform is available for iOS & Android both.

Read more: