网站首页  手机软件  手机游戏  翻译软件  电影下载  电视剧下载  资讯攻略

请输入您要查询的手机软件:

 

游戏 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.

OnJavaScript更新内容

此版本中的新功能:

support 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

随便看

 

电脑知识库分享最好的手机软件app下载栏目,提供最新的生活软件、手机直播应用等手机app下载,每日更新优秀的手机应用给大家。

 

Copyright © 2002-2024 pc699.com All Rights Reserved
更新时间:2026/1/10 10:42:25