I have a question about the data exchange between SQLite and IndexedDB.

Asked 2 years ago, Updated 2 years ago, 99 views

Currently, Android has created and stored schedule-related data through SQLite. Gear 2 is going to use IndexedDB because it wants to be linked with Samsung Gear S2.

When I send a request from the gear to the smartphone terminal using SAP, I want to send data from the smartphone terminal on a monthly basis and put it in the gear. IndexedDB is unfamiliar, so I looked it up, and it was an object-type database, not a relational database.

The beginning was a little long. What I'm curious about is what features should SQLite use to compress data and send it to IndexedDB? Gear 2 plans to dismantle and store data using JSON.

android sqlite indexeddb database

2022-09-22 20:38

1 Answers

Android does not offer the ability to make data stored in the database a JSON object. Therefore, you need to implement the relevant direct functionality. If you refer to the code in the link below, it seems difficult to make the function.


2022-09-22 20:38

If you have any answers or tips


© 2024 OneMinuteCode. All rights reserved.