Kal
Kal

Reputation: 17

Can a Samsung Gear s3 Tizen web app push data to a remote SQL database?

I know this is possible on Tizen mobile web apps using the Web SQL database API, but can it also be done from a wearable? I haven't been able to find anything.

Upvotes: 1

Views: 400

Answers (2)

Joel
Joel

Reputation: 2361

There is a bit of incongruity between the subject of your post and what you are asking in it. In the subject you are asking about saving data to a remote (external) source but in the body you are asking about the availability of Web SQL on the watch.

To address the question in your subject line, if you want to save data to an external source that source is going to need to expose a web service of some type or another. This also means that the web service will need to be exposed to the internet; it will need to run on a machine that allows incoming traffic from the Internet unless you only intend for this database to be accessible to others that are on the same network.

Without knowing exactly what you are doing it is difficult to give you advice on what direction to go in. There's a number of potential solutions from deploying a MySQL database with the REST plugin to making use of AWS or Azure. There are also security considerations. If you can give more detail about your intended outcome then more direction can be shared.

Upvotes: 0

Iqbal hossain
Iqbal hossain

Reputation: 1816

Web SQL is supported in mobile applications only till now. You can find Web SQL related document from here.

For wearables (Gear), you can use Localstorage to store data.

Upvotes: 1

Related Questions