Could you please specify a bit more explicit about what you want and what you tried? Do you want to store the contents of a CSV file in a TinyDB? Or maybe a Fusion table, or a TinyWebDB?
Did you do the tutorials about reading files, working with lists and storing data into various types of databases?
If yes, come back and post some blocks of where you are stuck.
use the file component, see also the documentation http://ai2. appinventor.mit.edu/reference/ components/storage.html#File
then use the list from csv table block to convert the csv into a list of lists and store it in TinyDB
ReadFrom(text fileName)
Reads text from a file in storage. Prefix the filename with / to read from a specific file on the SD card. for instance /myFile.txt will read the file /sdcard/myFile.txt. To read assets packaged with an application (also works for the Companion) start the filename with // (two slashes). If a filename does not start with a slash, it will be read from the applications private storage (for packaged apps) and from /sdcard/AppInventor/data for the Companion.
It would really help if you provided a screenshot of your relevant blocks, so we can see what you are trying to do, and where the problem may be.
댓글 없음:
댓글 쓰기