I'm googeling aroud for hours now and can't find the info I'm looking for.
I'd like to build an app (phonebook like) and found lots of examples and tutorials but what I'm missing, in example, is the description of what a LIST or a DICTIONARY bloc can actually do. What are their differences?
In the App Inventor's help, one will find all parameters to works with these blocs but there is no information about what their are ment for.
Any info where this to me basic information is to be found please?
Lists collect similar things, indexed by number. Their indices collapse when you remove items.
Lists can be sorted, and can be imported and exported from/to Comma Separated Values (CSV) text for permanent storage in files.
A dictionary is a single thing (object) with named attributes accessed by a (usually text) tag.
Dictionaries be imported and exported from/to JSON text for permanent storage in files.
So I'm still confused on which one to choose to make my phonebook-loke app?
Should I go with a LIST or with a DICTIONARY? What is the right/best way to go please?
I was programming in DBASE3 (Ashton-Tate) 30 years ago and still have the terms "Records", "Fields" and "Indexes" in mind, terms I almost don't see anywhere now. Did it change completely?
are you familiar with SQL databases?
you could use the built in SQlite database, which is also used by Android itself...
to access it however you will need an extension, for example my sqlite extension App Inventor Extensions: SQlite | Pura Vida Apps, there are also other extensions...
the advantage of using a sql database is, you can easily search for a phone number to get the name or you can search for a name to get the phone number...