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

Screenshot_27-12-2024_134043_ai2.appinventor.mit.edu
Screenshot_27-12-2024_134012_ai2.appinventor.mit.edu
Screenshot_27-12-2024_134029_ai2.appinventor.mit.edu
so whats the problem?

OK, what data is in each of the three tinydb? You do not show how you get the new filepath for the image into the other two tinydb components

I update the companian but there is another problem

Screenshot_27-12-2024_134550_ai2.appinventor.mit.edu

Image2 is the picture you upload or take it with your phone
after taking picture or upload files i show the image to the user


or

Yes, the official version has a bug loading extensions. You need to use this test version:

When using this companion a message will appear that the Companion is out of date, then click Not Now.

Thanks for companian
but i have problem while running

I do not see you setting listview elements anywhere.

Will one image be used for many different companies and PHs, or just one image/one company/one PH ?


after upload image and

i call load images and load image is

There are different thing to add in phone numbers and companies
any phone numbers to user enterd goes to PH
and any company names the user enterd goes to com

You still just have an empty Listview Elements

And you need to ensure that you click the Submit button to add the image to the Company and PH tinydbs before your try to create the list items, and then select them for the listview.

And you need to understand the data structure of your company and ph tinydbs, probably calling back taglists for them to get a list to extract the items.

I suggest you use a list, add elements to that, then add the list to the listview, ensuring you have selected the correct layout.

(edit - I have now done some work with the new listview blocks for adding items etc., these appear to be robust in their functionality)

basic example:

image

image

In England, we would probably call what you have created a "buggers muddle"

The submit button has TinyDB tags and values reversed.

It uses tags for values and values for tags.

Restart?
i write 149 blocks!

ABG i don't want just take picture i want user to select take picture or upload files do you have a code for upload files with image picker?

What do you mean? Where will you "upload" files from ?

from image picker

I just add 1 item why there are lots of that 1 item I enterd?

From everything I can gather from this topic, it does appear you want something like this ?

Build lists of images, companies and phone numbers, then build a list which combines selections from each of these three lists. All stored in ONE tinydb.

I don't have a sample for downloading image files from the web.

The closest I came is keeping a list of URLs of images already on the web, put there by some one else.

There are some advanced techniques listed in the Files FAQ, but I have not used them myself.

So
we can't use firebase?