thank you i will download it
Or just use the latest version of AppInventor online (although I sense you have slow internet where you are....)
im from indonesia ,i already done download it and installed but my block from screen 1 and screen 2 is lost. "The blocks area did not load properly. Changes to the blocks for screen 5629499534213120_Screen2 will not be saved"
In the AI2Offline version "AboutScreen
" (blocks) have been removed.
So remove all text in the Designer & all blocks in all screens in the old offline version, export the aia and try again.
You now have a problem in your blocks or in your script that uploads the data. Please share your AIA project and a copy of your script.
sorry for late answer i busy with my campus.this my AIA file and script copy
CitizenReportnew.aia (297.2 KB) script.txt (1.5 KB)
Two things with regard to your script:
- Is your web app bound to the spreadsheet or a standalone script project? This code will not work if a standalone project:
var ss = SpreadsheetApp.getActive();
it would need changing to:
var ss = SpreadsheetApp.openById(<YOUR SPREADSHEET ID HERE>);
- You have not changed the folderID to your own folder. Any images will be saved to my public folder not yours!!!
var imageID = DriveApp.getFolderById('<YOUR FOLDER ID HERE>').createFile(blob).getId();
my web app is bound to the spreadsheet.
how to get the ID?
Go to the folder you want to upload the images to, in google drive, and you will find the ID in the url address bar, everything after https://drive.google.com/drive/folders/
:
https://drive.google.com/drive/folders/AAvjKBusD5jCH.....RGVTYJIv7CyP
much the same when you open your spreadsheet....
https://docs.google.com/spreadsheets/d/UUK7Lj7InkCa....ezLjQ8j-WVxej2Tj8/edit#gid=0
but do not include the /edit#gid=0
part
can u try this app,its still error when i upload the photo
https://drive.google.com/file/d/1Jn06KG0sRFa7Cjr0r-FZuBbMpHBTc2zi/view?usp=sharing
this the script
script.txt (1.5 KB)
I have never seen a folderID that long before, usually they are 33 characters long......
but I see that the folder does exist with the ID.
You could also try changing the error messages in your script, so we can see exactly where the problem is happening....
There is no access to the file you linked, but you need to share your aia project so that we can check your blocks.
This is the error coming back when we try to upload a file:
Exception: No item with the given ID could be found.
Possibly because you have not edited this item or you
do not have permission to access it. line 24
Not sure why this is, blocks and script look OK.
Check how you have deployed/published the script. Is it created by you (your google account) and accessible by "Anyone" ? (not "anyone with a google account"). Your folder appears to be accessible to all, but you could try a different folder?
In addition to sharing the script, we also need to authenticate it. I used to have a similar problem. I have shared the script, but not quite.
These rules seem to have come with the new script editor.
i tried to move the folder but still not working
Just in case, check you have the Drive API enabled. With the legacy editor you do this by going to Resources > Advanced Google Services, then setting "Drive API" to "On". (you will need to redeploy/republish your script)
I do not have this enabled in my example and it works OK, but it could be that newly created scripts require it ?
i try that too and still not work,can u tell me how u make the spreadsheet table,maybe i have something wrong with my sheet.