OnJavaScript

3.95 (73)

교육 | 59.8KB

기술

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.

Show More Less

정보

업데이트 날짜:

현재 버전: 2.3

필요한 Android 버전: Android 2.1 or later

Rate

Share by

당신은 또한 좋아할 수 있습니다