Local Storage with Images/Sound


#1

Helo all,
Is there any way to save an IMAGE or a SOUND RECORDING to the local storage? I tried the local storage - save function but i dont think it works.

Thanx


#2

I’m sorry, but we do not support that at his time. May I ask what you are trying to do? Maybe there is an alternative approach.

-Mark


#3

Hey ! Does it have to be offline ?


#4

:frowning:

Thanx for the reply.
Ok here’s what im trying to do.

I have a button that opens the camera and takes a pic.
and theres a text box that you can type something.

There’s another SUBMIT button.

So when the user takes a pic from the first button, it should store somewhere temporarily. Then, when you press the SUBMIT button, the Pic AND the text in the text box should be uploaded to a airtable DB.
I dont want the pic to be uploaded immediately after taking the pic. It should upload only when the SUBMIT button is pressed.

Thank you all.


#5

Hi,

After photographing and confirming the use of a snapshot, you will be given a temporary link to it. When you close the application, this link will stop working. Do you want the images to be saved between the two launches of the application, or will it be enough for this temporary link to be available until the application is closed? If the second option, then it is easy to do. Assign the reference to a variable and send it when you click on the SUBMIT button.


#6

Hey ! May you explain with blocks what saving the link is like please ? Thanks ! I need to save a photo and keep it into the app. Is there a way to automatically reupload all the images from the phone everytime the app opens or something like this ?


#7

Ooooooh… storing in the variable worked!!!
Thanks alooot!!

anyway, Is there any way to RECORD sound?
I couldn’t find an option to do so… :confused:

thank you


#8

Hey @Kalindu_Aragorn, may you tell me how you did please ? Also did it work when you opened the app again ? Thanks !


#9

In the “Camera.TakePhoto” block there is a local variable Photo, in which the local absolute address is stored on the photo taken. Store this address in a global variable of type store. The next time you open the application, assign this variable to the Image component and the saved photo will be displayed. I will give the block code now.

%D0%B8%D0%B7%D0%BE%D0%B1%D1%80%D0%B0%D0%B6%D0%B5%D0%BD%D0%B8%D0%B5


#10

Hello,
I did it exactly how @actech explained. Didnt test with closing the app and restarting. It should technically work i guess…

Anyway… is there any option to RECORD SOUND ?


#11

There is no sound recording.


#12

Ok thanks !


#13

One more thing…
can you assign that variable to be send to a Airtable ATTACHMENT field?

regards,
Kalindu


#14

I did not try to do that. It was quite enough for me to send the link to the text field.


#15

Hello Kalindu_Aragorn,

there is an example now. Take a look at “Field” project created by albert:

https://x.thunkable.com/projectPage/5ba00f72391f51f9058e7560

I think this will help.

Regards,

Guido


#16

Hi @Guido_Esser

I just used ur formula of uploading image to Airtable… Its awesome.

Now searching for Calling the image from Airtable to Image … But its not working. can you guide please…

I am using Get cell with rownum and column name and putting image set to value of cell… Its blank… Pls suggest.