上一页 1 2 3 4 5 6 7 8 ··· 18 下一页
摘要: Intent 消息传递 * 普通信息传递(基本数据类型)* 对象传递 * 实现Serializable接口对象//来自于JVM,适用于Java平台开发 * 实现Parcelable接口对象//来自于AVM,性能比Serializable高,因此android开发建议使用Parcelable 阅读全文
posted @ 2022-04-12 12:03 安妍 阅读(33) 评论(0) 推荐(0) 编辑
摘要: Room 注解:对sqlite数据库的封装 导入Room支持://build.gradle //roomdef room_version="2.2.0-alpha01"implementation "androidx.room:room-runtime:$room_version" //room A 阅读全文
posted @ 2022-04-11 19:27 安妍 阅读(215) 评论(0) 推荐(0) 编辑
摘要: android中添加Button默认为紫色,如需修改为灰色,对theme.xml做修改即可 修改前: 修改后: 代码:Theme.MaterialComponents.DayNight.Bridge 阅读全文
posted @ 2022-04-09 17:07 安妍 阅读(664) 评论(0) 推荐(0) 编辑
摘要: sqlite 指令:与mysql操作指令类似 创建/打开数据库:.open 【table_name】 查看当前数据库:.database 查看所有表名称: .table 创建表: create table 【table_name】(【表字段】); 删除表: drop table 【table_nam 阅读全文
posted @ 2022-04-06 16:22 安妍 阅读(43) 评论(0) 推荐(0) 编辑
摘要: 修改: <style name="Theme.Test" parent="Theme.MaterialComponents.DayNight.DarkActionBar">为: <style name="Theme.Test" parent="Theme.MaterialComponents.Day 阅读全文
posted @ 2022-04-02 16:27 安妍 阅读(60) 评论(0) 推荐(0) 编辑
摘要: system.img烧录过程 adb reboot-bootloader 【样机重启后进入fastboot mode】 fastboot flashing unlock power+Volumn UP fastboot reboot fastboot fastboot flash system 【s 阅读全文
posted @ 2022-03-26 15:55 安妍 阅读(324) 评论(0) 推荐(0) 编辑
摘要: 1、在xml文件中对控件可进行配置 2、在Java代码中进行设置 可见: android:visibility="visible"; Java代码:view.setVisibility(View.VISIBLE); 不可见: android:visibility="invisible"; Java代 阅读全文
posted @ 2022-03-24 17:40 安妍 阅读(222) 评论(0) 推荐(0) 编辑
摘要: 区别: 1.烧录img版本不同 CTS,GSI,GTS,VTS 烧录user版本img STS 烧录user-debug版本img 2.是否需要额外烧录谷歌img VTS 需额外推送 谷歌img 和 boot-debug.img GSI 需额外推送谷歌img 其它测试不需要 3.测试前是否需要推送媒 阅读全文
posted @ 2022-03-23 11:18 安妍 阅读(2667) 评论(0) 推荐(0) 编辑
摘要: 当a56爆大奖在线娱乐们在onConfigurationChanged方法中执行setContentView时,将重新创建ListView。您需要再次将数据加载到ListView中。如果将ListView绑定到适配器,则需要在onConfigurationChanged中执行此操作。 在清单文件下的活动中使用conf 阅读全文
posted @ 2022-03-20 11:06 安妍 阅读(89) 评论(0) 推荐(0) 编辑
摘要: vts/gsi测试前准备 打开OEM 打开userdebug模式 设备关机状态下,长按 电源键+音量加键 进入fastboot模式 音量+ —选择 ,电源键确认,选择reboot to bootloalder usb将设备接入电脑,进入adb 模式 输入指令解锁fastboot: fastboot 阅读全文
posted @ 2022-03-10 10:54 安妍 阅读(647) 评论(0) 推荐(0) 编辑
上一页 1 2 3 4 5 6 7 8 ··· 18 下一页