-
-
16
-
1require "import" import "dalvik.system.DexClassLoader" import"android.content.Context" function loadex(path) l
-
322.0 更新Lua5.3.1, 更新luajava3.0, 增加打包apk功能, 增加布局表, 增加线程, 增加更多回调方法, 更新支持高亮,自动缩进,自动补全编辑器, 2.0.1 布局表增加自绘制背景, 修复自动缩进算法错误, 增加百度广告,仅在打包时出现,不影响使用,希望大家支持, 2.0.2 增加getter与setter快速调用,用于简化控件属性设置, 修复Java方法返回null没有返回值的bug, 更新布局表算法,支持布局间距, 优化Java方法缓存机制,效率提高一倍,布局表效率提高8倍
-
5require "import" require "http" import "android.widget.*" import "android.view.*" import "android.app.*" import "android.view.View_*" import "android.content.*" local kd={ ['AAE快递']='aae', ['安捷快递']='anjie', ['安信达快递']='anxinda', ['Aramex国际快递']='aramex', ['CCES快递']='cces', ['长通物流']='changtong', ['程光快递']='chengguang', ['传喜快递']='chuanxi', ['传志快递']='chuanzhi', ['CityLinkExpress']='citylink', ['东方快递']='coe', ['城市之星']='cszx', ['大田物流']='datian'
-
6
-
16require "import" import "android.widget.*" import "android.view.*" import "android.content.*" import "android.graphics.*" layout={ TextView, id="tv", textSize=20, text="AndroLua+", background="#88888888", onClick="click" } function click(v) wm.removeView(v) print("已移除悬浮窗") end wm=activity.getApplicationContext().getSystemService(Context.WINDOW_SERVICE); lp=WindowManager.LayoutParams() lp.format = PixelFormat.RGBA_8888 lp.flags = WindowManager.LayoutParams.FLAG_NOT_FOCUSABLE lp.type=W
-
1require "import" import "android.widget.*" import "android.view.*" import "android.graphics.*" layout={ LinearLayout, orientation="vertical", { EditText, id="edit", layout_width="fill", background="draw" }, { Button, text="按钮", layout_width="fill", onClick="click" } } function click() Toast.makeText(activity, edit.getText().toString(), Toast.LENGTH_SHORT ).show() end function draw(canvas,paint) local l=0 paint.setTextSize(20) for n=edit.getPaddingTop(),1000,edit.getLineHeight() do
-
0require "import" import "android.app.*" import "android.os.*" import "android.widget.*" import "
-
18
-
5网盘 http://pan.baidu.com/share/link?shareid=2905524716&uk=115769