Load content in TinyDB when install and run.

757 views
Skip to first unread message

Juan Antonio

unread,
Aug 2, 2017, 12:05:18 PM8/2/17
to MIT App Inventor Forum

Hi friends,

let me please, explain this extension in this area.

I published KIO4_GetTinyDB.aix extension in this post:


- Sometimes an App Inventor programmer creates an app with TinyDB and writes initials data.

- When Build app and others users install, TinyDB is empty.

- With this extention, programmer can create a file with inicials data and when an user install his app, TinyDB is loaded with those datas.






Regards.

Juan A. Villalpando

KIO4_Load_TinyDB_installation.aia
com.KIO4_GetTinyDB.aix

Taifun

unread,
Aug 2, 2017, 1:12:08 PM8/2/17
to MIT App Inventor Forum
good idea!

btw. the TinyDB.GetTags method provides a list, there is no need to use the list from csv row block...
what about using this instead?



Taifun

Abraham Getzler

unread,
Aug 2, 2017, 2:27:53 PM8/2/17
to MIT App Inventor Forum

Juan Antonio

unread,
Aug 2, 2017, 5:33:41 PM8/2/17
to MIT App Inventor Forum
- Thanks Taifun, with "is list empty?" is better.

- Thank you Abraham.
Reply all
Reply to author
Forward
0 new messages