How do I append data in the listview with the help of blocks?

I have seen 5 TinyDBs in this thread.
List them all with their NameSpaces:

Company_nameDB ____________________
ImageDB _________________
Name _______________
Phone_number ___________
Logo ________________

Screenshot_25-12-2024_234446_ai2.appinventor.mit.edu

I'm so confused
i don't know what should i do
can you told me the codes?

What kind of database were the 5 other databases I saw in this thread?

Maybe you should export your .aia file and post it here?

There isn't anymore TinyDB

This is a sample app that handles storage of things like phone numbers for contacts.

It does not handle image files, though.

Because you renamed them and forgot about it?

Taifun

Thanks ABG but i know this put i want to select the logo and then show the compnany name and the others

My example is flexible, allowing you to store extra things under the company name like the file name of a company logo image file.

That's tricky, beyond my experience, because camera photos are stored in a temporary location and need to be copied somewhere more permanent before storing their name and location.

Do you have a solution to that problem?

(Note: I was wrong about the temporary part (Thanks @TIMAI2) - ABG)

We can't use TinyDB?

Who says that?

Regarding taking images with the camera and being able to select from a TinyDB list, here is a sample, using a ListView set to use an Image and a MainText.

Designer:

Blocks:

aia:
camera.aia (2.7 KB)

Sample run:

(Note that I had not yet learned that I should have been holding my phone in Landscape mode when I took those two pictures, so they came out rotated.)

Thanks Thanks Thanks but i want to upload files too how can i?

From where to where with what?

I want to select take picture or upload files if user select take picture take picture and save it as logo or upload files choose an image from all of user images and after select image set the selected image as logo

Ok, any image on your device.

Where do you want upload the image to?

Upload in my app and save it in TinyDB and set it as my logo and if any time i come back to the app put it in a listview and show the picture to me

Some definitions:

Upload (2)

  • upload an image file to your media/assets folder in your app project, whilst developing, so that this image is available to your app at runtime. It will be read only.

  • upload an image file from your running app to some online resource

Download

  • download a file to your running app from some online resource

This is my code but its not working


Here is the error

Show your LoadImages procedure