Can I use MediaDB in the new UI?

Loving the new features, however, it’s very laggy for me right now. Are you doing away with the media BD? I was using that to upload images and obtain URL’s.

@Tina_Fountain You can use the new “url from uploaded file” block to obtain URLs for uploaded images.

Then at the bottom of Project Settings, you can input your cloudinary credentials.

2 Likes

2 posts were merged into an existing topic: Is the new UI laggy?

If I use these blocks (legacy) and take a photo as fast as I possibly can, the resulting difference in time from the time I tap the button on my phone in Thunkable Live to the time it updates the label value is anywhere from 7 to 14 seconds.

1 Like

@paulmw & @domhnallohanlon,

Using the web preview on a new 64 bit Dell laptop with Windows 10 on a wifi connection, the camera takes about 4 seconds and cloudinary takes 1-2 second. Note, the camera doesn’t actually prompt, it just take a photo. These results are pretty consistent across multiple trials.
image

Using a Android Live Test on a Galaxy S20 on the same wifi connection, the camera complete time varies from 4-6 second depending on how quick I am to accept the photo. The Cloudinary upload occasionally runs as fast as 3 seconds, but generally takes between 6-12 seconds.

.

Building and running the android APK produces similar results.

Running on an ancient iPhone 6 on the same wifi connection, cloudinary times vary from 7-15 seconds (screenshot not included).

These trials would suggest the lag appears on devices and not limited to the Live Test app, but is not present in the preview.

Blocks

Remix of production project
https://x.thunkable.com/copy/a1248f85dae4810d3db212101ba1c54e

1 Like

@paulmw, @domhnallohanlon, @tatiang, @Tina_Fountain,

I built a similar app using a beta project. Same hardware as before, on the web preview, the camera takes about 4 seconds and each upload takes about 1.5 seconds.
Web Preview

The Android Live Test upload takes about 3 seconds per upload across multiple trials

Blocks

Project
https://x.thunkable.com/projectPage/5fe332a508a7d100120865a5

So it seems like the beta version of the Media DB is substantially faster than the current implementation for physical devices. If and when the beta issues are resolved, the performance for media DB will be better.

2 Likes

I cant seem to get your above example to work ted, though I am testing on hospital wifi. I will try back later.

I am on an iphone11 with ios 14

3 posts were merged into an existing topic: Taking photos with Published Web Apps

A post was split to a new topic: Taking photos with Published Web Apps

Brilliant. Thank you. This is going to allow me to teach some very complex designs lower down the school.

1 Like