M
M
My joy2016-05-04 20:12:34
JavaScript
My joy, 2016-05-04 20:12:34

API bridge to communicate android and javascript?

Comrade friends, I salute you!
I remember once I made a micro-application for android working mainly on the side of the site, in android 90% showed through webview, periodically sending simple commands through javascriptInterface to javascript. A kind of elementary API, only I remember suffering with it, because. did not fully understand the android runtime. Now I want to resume working with android, hence the question - perhaps now there are such tools for communicating android + javascript (I'm not talking about phonegap or appcelerator), so that from javascript you can call an android function, for example, to request coordinates, and get an answer, and at the same time so that android can send requests to javascript once in a while.

Answer the question

In order to leave comments, you need to log in

1 answer(s)
P
Prowebic, 2016-05-05
@Prowebic

Why don't you like webview? The documentation and API from the android website is quite enough to implement simple tasks. There is also a new react native technology from FB that may be of interest https://facebook.github.io/react-native/ Your application will work natively using HTML, CSS and JS technologies

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question