Reputation: 913
I have a google script that fetches some data from an excel sheet. The data is returned as JSON. The excel sheet is shared between a set of users. I can run the script from browser, if I am logged in as google user. How can I execute the script from an android application. How do I execute the script as the user (user at the keyboard)?
Upvotes: 1
Views: 3334
Reputation: 5655
I have some samples of a simple Android app calling an Content Service URL. You have to publish your apps to be accessible publicly.
https://github.com/entaq/GoogleAppsScript/tree/master/Android
Upvotes: 1
Reputation: 17792
By "excel sheet" you mean Google Sheets, right?
From what you explained, it seems that you script is published as a web-app. To access it on android, just open the browser and hit the app url. Running as the developer or the user is just an option when you're deploying the script as a web-app.
Upvotes: 0