0

Can you use SpreadsheetApp.getUi() from Android / Mobile version of Google Sheets?

If not how can I create a button or some dialog box from within the Android version of Google Sheets?

Rubén
  • 34,714
  • 9
  • 70
  • 166
CodeCamper
  • 6,609
  • 6
  • 44
  • 94
  • This isn't possible on mobile, but see this answer for a (clunky) workaround: http://webapps.stackexchange.com/questions/87346/add-a-script-trigger-to-google-sheet-that-will-work-in-android-mobile-app – Andrew Roberts Oct 14 '16 at 09:15

1 Answers1

1

As Andrew Roberts said, it is not possible in mobile. However, I found this documentation that shows the things that you can do in Android by using Apps Script.

It uses Apps Script Execution API to directly call functions in Apps Script projects. This allows Android add-ons to retrieve and manipulate data from a Google Doc or Sheet using standard Apps Script techniques.

Just take note the things that you can't do with this.

  • Change features in Google Apps
  • Affect the Docs or Sheets editor apps
  • Create and adjust triggers

For more information, check this Google Docs Forum.

KENdi
  • 7,576
  • 2
  • 16
  • 31