kaurkaur
kaur
Oct 10, 2023

Q: I am new to this so this might be a simple thing.

Can I use Toddle to build a web app that can through a browser in iOS or Android capture and upload photos and videos using the device camera to Google Drive, dropbox, or any other web storage?

Founder Team
Erik_Toddle

Erik_Toddle

May 14, 2024

A: toddle supports building web apps using web standards. That also means it's possible to use file inputs to allow the user to upload images/videos from their phone.
In terms of uploading them, you will need to find the API documentation for the specific service you decide to use. We have a short video on how to upload files to Supabase on our Discord here https://discord.com/channels/972416966683926538/1040267068412534785/1126116566929510420

Share
Helpful?
0
Log in to join the conversation

Great, thank you for the super quick answer. One more question. Can you have direct camera control and upload instead of taking the picture and then uploading the file?

Founder

Verified purchaser

You can read the official documentation on what's possible with "<input>" elements in html. For instance, you can use capture="user" and capture="environment" to specify which camera you prefer the user's device uses.

Founder

Verified purchaser

Oops, I forgot the link to the docs https://developer.mozilla.org/en-US/docs/Web/HTML/Attributes/capture