S
S
SHAKIRA2020-12-11 21:12:56
Android
SHAKIRA, 2020-12-11 21:12:56

Are there libraries on Android that allow you to work with the device through WebView as native code?

That is, for example, on JS, get access to memory, Bluetooth, accelerometer and other sensors and modules. For writing a WebView application.

Answer the question

In order to leave comments, you need to log in

2 answer(s)
D
Denis Zagaevsky, 2020-12-12
@zagayevskiy

You can do all this by writing the appropriate JavaScriptInterface.

S
Sergey Vodakov, 2020-12-12
@WaterSmith

This cannot be, because otherwise, it would be a colossal security hole. It would be possible to write a JS script on any page, going to which ... well, then the options are limited only by the richness of imagination.

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question