Hello, I want to take a phone and send to google drive. Normaly work to send .png file (it must save in programming) but I want to send new camera photo and I want to give manuel name. I tried to take photo and it is success but not connect with "send code"
yes you are correct. I can change .png and .jpg. But how to can connect camera and this transfer codes? Because now menu ls selection and system use internal storage but I will take photo with camera.
My idea I can save camera image in device. But I can not file way.
Thanks
My goal here is to send the photo taken to Google Drive. Normally we can transmit registered .png files. I also wanted to transfer the data I received from the camera. It also gives the script ID code in the codes, and in that respect it does two things at the same time. In this way, I will be able to save the image I added to my database and restore it.
function doPost(e) {
var data = Utilities.base64Decode(e.parameters.data);
var blob = Utilities.newBlob(data, e.parameters.mimetype, e.parameters.filename);
var fileID = DriveApp.getFolderById(e.parameters.folderId).createFile(blob).getId();
return ContentService.createTextOutput(fileID);
}
Is there a chance to see the transfer status of the data? For example, data transfer bar or data transfer message or waiting symbol? Can it give us a warning in case it cannot be sent?