R
R
Roman2019-01-31 18:15:33
JavaScript
Roman, 2019-01-31 18:15:33

Input form in a browser with local data saving in an Android tablet - how to do it better, what technologies?

Hello.
There is the most common form of input in the browser (HTML + jQuery) which sends data to the server and saves it via PHP to the database.
Now you need to make this whole design work even without the Internet on an Android tablet.
Offhand, the following came to mind: write from a JavaScript form to a file, and then upload the file, parse the content, and so on. But I have never written this for Android, hence the questions:
- Will Android let JavaScript scripts be written from the browser to a file? What are the restrictions on this?
- Maybe look in some other direction? I understand that it can be a good solution to make an Android application in Java, but in this case, for a number of reasons, this is not an option. What else can be done? Maybe instead of a file - what kind of database to raise on the tablet? What? How?
Thank you.

Answer the question

In order to leave comments, you need to log in

1 answer(s)
D
DanKud, 2019-01-31
@procode

No platform will give you access to the file system from JS. LocalStorage is used to store data on the client side .

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question