Toast API
app.toast is the instance of Toast API, which provide functions to show native toast.
A working example of Toast API
app.toast.show("Hello Android JS", 1);
Methods
app.toast.show(text, duration)
textStringdurationInt0for short1for long
An example of above code:
app.toast.show("Hello Android JS", 0);