【技术博客文章】火山安卓屏幕录制类
本帖最后由 1185907650 于 2020-9-28 08:13 编辑一、布局
①使用文本框、线性布局器、按钮,按下图布局
https://www.lkuaiy.com/image/editor/15952107077478.png
②添加"杂类设备支持1"和"多媒体功能支持"
https://www.lkuaiy.com/image/editor/15952107245942.png
二、创建
①创建"屏幕录制器","通知器","时钟1"等变量,各值按下图设置
https://www.lkuaiy.com/image/editor/15952107372935.png
②创建个常量标记(快捷键Ctrl B)
将各个参数初始化,为下一次使用准备
"按钮2.许可 = 真或假",作用是是禁止按钮
https://www.lkuaiy.com/image/editor/15952107543286.png
③添加启动类方法事件
https://www.lkuaiy.com/image/editor/15952107693814.png
https://www.lkuaiy.com/image/editor/15952107801389.png
④通知_获得返回数据
https://www.lkuaiy.com/image/editor/15952107967415.png
⑤通知_按键事件
https://www.lkuaiy.com/image/editor/15952108086669.png
⑥添加时钟事件
https://www.lkuaiy.com/image/editor/15952108225923.png
https://www.lkuaiy.com/image/editor/15952108328514.png
三、演示效果
https://www.lkuaiy.com/image/editor/15952108693161.gif
例子下载:下载屏幕录制
推广火山,义不容辞 推广火山,义不容辞 推广火山,义不容辞 推广火山,义不容辞 推广火山,义不容辞 推广火山,义不容辞 支持火山,义不容辞 推广火山,义不容辞 日常一顶