Kaleb Keith

unread,
Mar 25, 2018, 8:37:34 PM3/25/18
to MIT App Inventor Forum
So I ended up using Google Sheets because every user gets 15 gb of storage for free. The issue is I haven't been able to find anything about getting access to the Sheets API. I know how to insert and query data from a sheet, but with my app, I need the user to authorize my app to their Google to create a new sheet. I've tried to go through getting API access but I don't have a server I can use to get access and I'm using Ubuntu 16.04 so I can't get package name from AndroidManifest.xml. Can anyone help me?

SteveJG

unread,
Mar 26, 2018, 10:24:11 AM3/26/18
to MIT App Inventor Forum
What you need to do is probably discussed here (for Android Studio, not AI2)  https://developers.google.com/sheets/api/quickstart/android

It might not be possible to have your app's user create a spreadsheet using AI2 (which is intended as a compiler for educational purposes)

I understand Thunkable has features for users who want to use spreadsheets  (  https://community.thunkable.com/t/latest-thunkable-release-incl-google-spreadsheets-dec-6/660  ), App Inventor 2 does not.  You could see what it is possible to do with this third party AI clone.  

 With AI2, the spreadsheet needs to already exist to access it, as understand it  The User can create a spreadsheet using a PC.  They then  need to enter their security link in the url you use to talk to the spreadsheet and allow sharing using the spreadsheet dashboard. They could save the link in a TinyDB etc.

Others may have different opinions a more knowledge about the Google API possibilities.

Regards,
Steve


Shivendra Kr. Sahu

unread,
Mar 26, 2018, 7:01:09 PM3/26/18
to mitappinv...@googlegroups.com
its may help u 

This suggestion is a promotion for a paid app. The extension does not allow a user to create a Google Spreadsheet from the app and the link was removed

Ghica

unread,
Mar 27, 2018, 8:02:50 AM3/27/18
to MIT App Inventor Forum

Kaleb Keith

unread,
Mar 27, 2018, 9:09:40 AM3/27/18
to MIT App Inventor Forum
It seems thunkable may be the option I'm looking for. Or starting over from scratch with the Android sdk. If thunkable won't do it for me, I'll have to build from scratch. Thanks.
Reply all
Reply to author
Forward
0 new messages