- Главная
- Приложения
- Образование
- OnJavaScript
О OnJavaScript
Let's write JavaScript on your device!
This app is like JavaScript interpreter. You can write JavaScript and run!
from Ver 2.0, you can write JavaScript for Android!
You can use following object on your JavaScript.
widget object:
Button widget.createButton(id, text)
TextView widget.createTextView(id, text)
LinearLayout widget.createLinearLayout(id)
-->create android widget
void widget.setOnClick(view, callback)
--> add OnClickEvent to view. in event, callback is called.
void widget.setText(TextView, text)
--> call TextView.setText(text)(you can pass Button, too)
void widget.addView(ViewGroup, view)
--> call ViewGroup.addView(view)
fwindow object:
void fwindow.addView(view)
--> add view to top layout, then view is shown on the screen.
This app is like JavaScript interpreter. You can write JavaScript and run!
from Ver 2.0, you can write JavaScript for Android!
You can use following object on your JavaScript.
widget object:
Button widget.createButton(id, text)
TextView widget.createTextView(id, text)
LinearLayout widget.createLinearLayout(id)
-->create android widget
void widget.setOnClick(view, callback)
--> add OnClickEvent to view. in event, callback is called.
void widget.setText(TextView, text)
--> call TextView.setText(text)(you can pass Button, too)
void widget.addView(ViewGroup, view)
--> call ViewGroup.addView(view)
fwindow object:
void fwindow.addView(view)
--> add view to top layout, then view is shown on the screen.
Обновление OnJavaScript 2.3
support Android mode.
You can use "widget" object and "fwindow" object when mode is "Android mode"
You can use "widget" object and "fwindow" object when mode is "Android mode"
if you want to look over the methods, see Description
Читать далее
Предыдущие Версии Больше
OnJavaScript
2.3
APK
March 1, 2016
59.77 KB
Requires Android: Android 2.1+
Screen DPI: 120-240dpi
SHA1: 759e7be9204dad6e0a8aa3119a3f2de59463eee8
Size: 59.77 KB
What's New:
support Android mode.
You can use "widget" object and "fwindow" object when mode is "Android mode"
You can use "widget" object and "fwindow" object when mode is "Android mode"
if you want to look over the methods, see Description
Больше Информации
Имя пакета:
Категория:
Дата обновления:
2012-09-20
Последняя Версия:
2.3
Требуется обновление:
Требования:
Android 2.1+
Пожаловаться: