大约有 300 项符合查询结果(耗时:0.0053秒) [XML]
Advances social tools app with cool UI - Koded Apps - Kodular Community
...2000;
const POLLING_INTERVAL = 50;
const splashSvgTemplate = document.querySelector(".splash-svg-template");
const splashTemplateClone = splashSvgTemplate.content.cloneNode(true);
const svgElement = splashTemplateClone.querySelector("svg");
const svgString = new XMLSerializer().serializeToString(svg...
加密签名使用指导 · App Inventor 2 中文网
...eriv('aes-128-cbc', key, iv); // 默认 PKCS7 填充
const cipher = Buffer.concat([encrypt.update('hello 世界', 'utf8'), encrypt.final()]).toString('base64');
console.log(cipher); // YL28tnUQb4uWoJRf3jGP5g==
const decrypt = createDecipheriv('aes-128-cbc', key, iv);
console.log(Buffer.concat([decry...
手机蓝牙控制台灯:HC-05 开关、无级调光、定时关灯(附 .aia 源码与单片机...
...备.AfterPicking() {
if 蓝牙客户端1.Connect(列表选择器_设备.Selection) {
微数据库1.StoreValue("lastDevice", 列表选择器_设备.Selection)
标签_连接状态.Text = "已连接"
} else {
标签_连接状态.Text = "连接失败:确认台灯已上电并且已经...
Phase • Animations made easy! - Extensions - Kodular Community
...age");
if (splashImage) {
splashImage.src = "data:image/svg+xml;base64,".concat(encodedSvg);
const connectStart = performance.timing.connectStart || 0;
const targetTime = connectStart + DELAY_TARGET;
let splashInterval;
let discourseReady;
const swapSplash = () => {
splashWrapper && ...
App Inventor 2 JDY-34双模蓝牙模块配置与通信教程 · App Inventor 2 中文网
...功耗蓝牙)
使用 BluetoothLE 扩展
通过Service/Characteristic读写
适合低功耗场景
AT指令配置
通过串口发送AT指令配置模块(需要在未连接状态发送):
指令
功能
示例
...
App Inventor 2 串口通信教程 - USB串口与蓝牙串口 · App Inventor 2 中文网
...选择器1.AfterPicking() {
if 蓝牙客户端1.Connect(列表选择器1.Selection) {
标签_状态.Text = "已连接:" + 列表选择器1.Selection
} else {
标签_状态.Text = "连接失败!"
}
}
断开连接积木
when 按钮_断开.Click() {
蓝牙...
App Inventor 2 蓝牙遥控教程 - 经典蓝牙与BLE控制智能硬件 · App Inventor 2 中文网
...选择器1.AfterPicking() {
if 蓝牙客户端1.Connect(列表选择器1.Selection) {
标签_状态.Text = "已连接:" + 列表选择器1.Selection
蓝牙客户端1.Secure = true
} else {
标签_状态.Text = "连接失败,请重试"
}
}
说明:
蓝牙客户端1.Addres...
App Inventor 2 SQLite数据库教程 - 本地数据存储与查询 · App Inventor 2 中文网
...数据
when 按钮_查询全部.Click {
SQLite1.QuerySQL("SELECT * FROM users ORDER BY created_at DESC")
}
when SQLite1.OnResult(结果) {
// 结果是列表,每项是一个字典
var 显示 = ""
var i = 1
while i 0 {
var item = 列表第1项(结果)
var 学生ID ...
App Inventor 2 TableView与SQLite数据展示教程 · App Inventor 2 中文网
...w.AppInventor.setWebViewString("ERROR:"+e.message); }
}
},100);
function selectRow(i){
window.AppInventor.setWebViewString("SELECT:"+i);
}
App Inventor积木块
when Screen1.Initialize() {
Web浏览器1.HomeUrl = "file:///android_asset/table_view.html"
SQLite1.Open...
声音库 · App Inventor 2 中文网
...声音
就点击播放按钮。
when 列表显示框_声音.AfterPicking(selection) {
当前标题 = selection
当前声音 = 微数据库1.GetValue(selection, "")
标签_状态.Text = join("已选:", selection)
}
when 按钮_播放.Click() {
if isempty(当前声音) {
标签_状态....
