Binder是Android系统的进程间通信机制,是了解Android运行机制必须要掌握的一个知识点,更是一线企业面试必问的知识点!比如:binder有什么优势?(字节)binder一次拷贝原理?(腾讯)Intent传递大数据限制?(阿里)AIDL原理?(字节)谈谈你对binder驱动的了解?(字节)你都能回答上来吗!?到底怎样才能彻底掌握binder机制、游刃有余的应对binder面试问题,让面
分类:
移动开发 时间:
2020-09-12 21:55:03
阅读次数:
72
mysql中group_concat(id SEPARATOR ",")过长造成截断
分类:
数据库 时间:
2020-09-12 21:34:35
阅读次数:
55
<foreach collection="array" open="(" separator="," close=")" index="index" item="item"> #{item} </foreach> item:集合中元素迭代时的别名,该参数为必选。 index:在list和数组中,in ...
分类:
其他好文 时间:
2020-08-11 15:54:12
阅读次数:
65
Intent i=new Intent(this,Activity1.class); i.addFlags(Intent.FLAG_ACTIVITY_REORDER_TO_FRONT); startActivity(i); 用这种方式调用Activity,如果Activity在堆栈中,将会运行它的o ...
分类:
其他好文 时间:
2020-08-11 09:27:25
阅读次数:
82
1.添加 REG ADD KeyName [/v ValueName | /ve] [/t Type] [/s Separator] [/d Data] [/f] KeyName [//Machine/]FullKey 远程机器的机器名 - 忽略默认到当前机器。 远程机器上只有 HKLM 和 HKU ...
分类:
其他好文 时间:
2020-08-03 18:37:13
阅读次数:
78
在创建Makefile文件后执行“make”命令出现错误: makefile:3: *** missing separator. Stop. 原因: gcc的前面需要用tab键来隔开,不能敲4个空格代替。 解决办法: 在~/.vimrc文件中添加: set tabstop=4 //设置tab键是4个 ...
分类:
其他好文 时间:
2020-08-02 23:35:38
阅读次数:
86
1.这部分是显示跳转到另一个Activity,这个被跳转的Activ叫做SecondActivity 写法一: Intent intent = new Intent(this,SecondActivity.class); intent.putExtra("account",accountText); ...
分类:
其他好文 时间:
2020-07-26 15:31:18
阅读次数:
105
一、隐士intent,紧接着上一次复习 得到第二个活动返回的数据之后,我们需要重写onActivityResult()来获取数据 protected void onActivityResult(int requestCode,int resultCode,Intent data){ switch(r ...
分类:
移动开发 时间:
2020-07-24 09:22:13
阅读次数:
88
PreferenceScreen和fragment结合 一、监听事件 1.1、onPreferenceChange public boolean onPreferenceChange(Preference preference, Object objValue) { return false; } ...
分类:
移动开发 时间:
2020-07-20 22:27:20
阅读次数:
102
// 文件分隔符 String separator = File.separator; /** 构造器的使用 */ // 使用相对路径创建文件 File file = new File("hello.txt"); // 使用绝对路径创建文件 File file1 = new File("C:\\Us ...
分类:
编程语言 时间:
2020-07-19 00:58:21
阅读次数:
108