who can explain how I can understand the component thing in the blocks at the anythinglist? For example, if I have a tinydb and there is a block with .getvalue/for component/tag. What is meant with this component?
--
--
the advanced blocks for TInyDB do not really make sense, because there is only one TinyDB in your app, see also http://ai2.appinventor.mit.edu/reference/components/storage.html#TinyDB
Each app has its own data store. There is only one data store per app. Even if you have multiple TinyDB components, they will use the same data store. To get the effect of separate stores, use different keys. You cannot use the TinyDB to pass data between two different apps on the phone, although you can use the TinyDB to share data between the different screens of a multi-screen app.
generally
--
Thanks for you post but that was not the answer I am searching for. You have a component not only with db. You have this in everything in the anything list and I want to understand what I have to put in the component freespace and what consequences it has.
--
--
I want to understand what I have to put in the component freespace
it seems to be, you forgot to take a look at the provided links
Short answer -
--
The component blocks are always the last blocks in the Blocks Palette for each component you use.
You use them mostly for when you want to treat a bunch of similar components alike.
Thank you. So if I understood right, this is just used, if I had more components for example buttons, whom I wanted to get a feedback. I have asked because I want to create an storing app. I will have a list with as many list as the user wanted. Further the user should scan for example a product and the user enters 4 facts. And everytime, when I am thinking or hoping, that my thoughts should be right, the program is not my opinion :(
May be this example will help you understand better:
--
Here we have 4 buttons that acts as switches. If one of those buttons is touched, it should change its color depending on the actual color (if it's red, turn green, if it's green, turn red).
Also there's two "master" switches. One turns all the other buttons green. The other turns all the buttons red.
Start from the beginning, and go step by step to understand how the "Any" blocks works. It's easier than it looks, really.
I want to create an storing app. I will have a list with as many list as the user wanted. Further the user should scan for example a product and the user enters 4 facts.
When some one asks for a variable number of buttons for selecting data,
they need to learn lists and TinyDB.
and look for the AI2 tutorials that cover lists, Fusion Tables, and TinyDB.