M
M
muhasa2018-12-01 22:18:00
css
muhasa, 2018-12-01 22:18:00

Is it possible to write an android widget in js?

I am fluent in php, js, html, css.
Is it possible to write a simple widget for Android using js?
I heard about phonegap and cordova, but there are suspicions that the capabilities of these tools are severely curtailed in comparison with native software. Is not it?
The essence of the widget - there is a schedule in the Google calendar, I want to grab the next event from there and write on the widget - there are 5 minutes left, for example.
The second widget pulls from my site via json the current temperature outside the window from my thermometers.

Answer the question

In order to leave comments, you need to log in

1 answer(s)
V
Viktor Titov, 2018-12-01
@goldsphere48

Widgets are native interface elements and you can't do this with only cordova and phonegap (which is based on the same cordova). There's also React Native, but I'm not sure if they've added the ability to create widgets yet. But I came across such an interesting tool from microsoft microsoft.github.io/ace , there is an example with a widget on the main page

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question