2017년 1월 12일 목요일

URGENT USE THE SAME TINYDB FROM 2 DIFFERENT APPS


the tinydb database isn't common for all applications? I mean that if i store values at the database with one application is it possible to see them with another one? 

--
see the documentation: Storage - App Inventor for Android

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.

When you are developing apps using the AI Companion, all the apps using that Companion will share the same TinyDB. That sharing will disappear once the apps are packaged and installed on the phone. During development you should be careful to clear the Companion app's data each time you start working on a new app.

-- 

댓글 없음:

댓글 쓰기