Skip to first unread message

Abraham Getzler

unread,
Sep 6, 2016, 2:56:29 PM9/6/16
to MIT App Inventor Forum
I've just posted a sample app in the Gallery showing how to export and re-import the contents of TinyDB as a csv table text string, suitable for file input/output.  It can handle tag/values of 0,1,2 dimensions.

blocks.png
TinyDB_export_import.png
TinyDB_export_import.aia

Diego Marino

unread,
Sep 6, 2016, 7:34:03 PM9/6/16
to MIT App Inventor Forum
you have the power of divination.
i was asking for this

really thanks

Diego Marino

unread,
Sep 7, 2016, 5:30:08 PM9/7/16
to MIT App Inventor Forum
just two questions...before i understand all this stuff

1) may i use this as a part of my app?

2) this is good for every kind of db? i have to set the field of csv like the db, right?

sorry for noob questions, i'm studying (arrived at chapter 17 of tutorial)

Abraham Getzler

unread,
Sep 7, 2016, 5:42:31 PM9/7/16
to MIT App Inventor Forum

1) may i use this as a part of my app?


Yes, even better if you read the blocks and understand what they do and why, so you can adapt your copy to your needs.

 
2) this is good for every kind of db? i have to set the field of csv like the db, right?

CSV format is widely used as a standard format for importing and exporting from spreadsheets and different brands of data base.  However, the arrangement of columns may differ in your app from my example.  It's like plumbing, replacing a sink.  You end up having to cut and fit pipes (columns of data) and get everything lined up right, or data will squirt everywhere.

ABG


Diego Marino

unread,
Sep 8, 2016, 12:47:00 PM9/8/16
to MIT App Inventor Forum
thanks, i'll study it.
just vital for my app
Reply all
Reply to author
Forward
0 new messages