大约有 4,000 项符合查询结果(耗时:0.0112秒) [XML]

https://www.fun123.cn/referenc... 

App Inventor 2 MenuSlide 拓展:滑动菜单效果 · App Inventor 2 中文网

...距;用户点击菜单项时,根据 index 切换页面内容: when Screen1.Initialize() { MenuSlide1.Count = 3 MenuSlide1.TextSize = 14 MenuSlide1.FontScale = 1 MenuSlide1.Gap = 16 MenuSlide1.Create(水平布局_菜单) } when MenuSlide1.OnClickCircleText(index, text) { 标签_...
https://www.fun123.cn/referenc... 

App Inventor 2 项目合并工具:合并屏幕、合并素材、合并拓展 · App Inventor 2 中文网

...合并的屏幕、资源、拓展等。 注意:两边如果同时选中Screen1,会提醒将右边的屏幕改名后合并到最终的项目。 合并完成,保存 merged.aia 文件到本地。 合并完成验证 上面合并后的 merged.aia 导入到App Inventor 2...
https://www.fun123.cn/referenc... 

Error 908: The permission RECORD_AUDIO has been denied · App Inventor 2 中文网

... been denied 报错截图 原因:Screen中请求”声音”权限后,弹出权限请求对话框,选择了拒绝导致的。 此时的麦克风权限是禁止的: 解决方法 打开App的设置,重新赋予麦克风的...
https://www.fun123.cn/referenc... 

App Inventor 2 地图与电子围栏教程 - LocationSensor与地图组件 · App Inventor 2 中文网

... 显示地图并定位到指定位置 when Screen1.Initialize() { Map1.CenterFromString = "39.9042,116.4074" // 北京天安门 Map1.ZoomLevel = 15 Map1.ShowUser = True } 关联LocationSensor自动定位 when Screen1.Initialize() { M...
https://www.fun123.cn/referenc... 

Arduino101 按钮 · App Inventor 2 中文网

...回true,则调用TurnOn和TurnOff应该能正常工作。否则会通过Screen的ErrorOccurred事件报告错误。 ReadButtonState - 读取Arduino报告的按钮当前状态。成功时,将触发ButtonStateReceived事件。如果按钮状态发生变化,还会触发Pressed或Released...
https://stackoverflow.com/ques... 

Difference between SurfaceView and View?

... VSYNC is to consider it is as a timer that fire up every 16ms for a 60fps screen. In Android, all the normal view update (and display actually but I won't talk it today), is synchronized with VSYNC to achieve better smoothness. Now,back to the surfaceView, you can render it anytime as you wish. How...
https://www.fun123.cn/referenc... 

App Inventor 2 SliderVertical 扩展:垂直的滑动条 · App Inventor 2 中文网

...扩展添加到项目后,把垂直滑块放在控制面板中: when Screen1.Initialize() { SliderVertical1.SliderVertical(垂直布局_滑块) SliderVertical1.MinValue = 0 SliderVertical1.MaxValue = 100 SliderVertical1.ThumbPosition = 50 } when SliderVertical1.PositionChanged(thumbPosi...
https://stackoverflow.com/ques... 

How to programmatically get iOS status bar height

...work connection) at the top of the iPhone/iPad is 20 pixels for non-retina screens and 40 pixels for retina screens, but to future proof my app I would like to be able to determine this without hard coding values. Is it possible to figure out the height of the status bar programmatically? ...
https://www.fun123.cn/referenc... 

手机当上位机:用二进制协议和设备收发数据 · App Inventor 2 中文网

...p 就连接,点按钮把「读温湿度」命令拼好发出去。 when Screen1.Initialize() { Socket客户端1.Connect() } when 按钮_读取.Click() { var 帧 = 二进制1.AppendChecksum(二进制1.Build([165, 90, 1, 1]), "SUM8") Socket客户端1.SendBytes(帧) 标签_发送.Text = joi...
https://stackoverflow.com/ques... 

Formula px to dp, dp to px android

...owever, the docs explain that this value is a rounded value, used with the screen 'buckets'. Eg. on my Nexus 10 it returns 2, where the real value would be 298dpi (real) / 160dpi (default) = 1.8625. Depending on your requirements, you might need the exact transformation, which can be achieved like...