普通广播: 1.在AndroidManifest.xml中配置广播接收器: <receiver android:name="com.example.toast.MyBroadReceiver" > <intent-filter> <action android:name="MyBroad" /> < ...
分类:
移动开发 时间:
2018-03-15 20:17:33
阅读次数:
234
Array 常用属性和方法总结 1、Array对象构造函数 2、数组合并 concat 3、数组排序 排序 sort 从小到大, reverse 从大到小 4、数组截取 slice(start,end) 5、数组拼接成字符串 join(separator) 6、splice 7、去除数组中的重复项 ...
分类:
Web程序 时间:
2018-03-13 01:06:00
阅读次数:
262
1.请写出调用系统拨号界面? Intent intent=new Intent(Intent.ACTION_DIAL,Uri.pase("tel:12345678910")); startActivity(intent); 添加权限:<uses-permission android:name="an ...
分类:
移动开发 时间:
2018-03-12 18:37:16
阅读次数:
230
AndroidManifest.xml 整个安卓的配置文件 intent-filter 里的两行代码非常重要, <action android:name= "android.intent.action.MAIN" />和<category android:name="android.intent.c ...
分类:
移动开发 时间:
2018-03-11 17:15:24
阅读次数:
161
1、join() join(separator): 将数组的元素组起一个字符串,以separator为分隔符,省略的话则用默认用逗号为分隔符,该方法只接收一个参数:即分隔符。 1 2 3 4 var arr = [1,2,3]; console.log(arr.join()); // 1,2,3 c ...
分类:
Web程序 时间:
2018-03-09 22:51:44
阅读次数:
362
Real love is not just instinct, but intent. 真正的爱不是身体上的一见钟情,而是要用心去经营。 What is real love? Honestly, I have no idea, and I think most of the love relatio ...
分类:
其他好文 时间:
2018-03-09 01:38:27
阅读次数:
179
有时我们希望在表中多个字段检索是否有我们给出的关键字,我们可以使用 concat_ws 和 concat 连接需要检索的字段,如: 或者: CONCAT_WS() 代表 CONCAT With Separator ,是CONCAT()的特殊形式。但是要注意一点,如果连接的字段中有为空,那么conca ...
分类:
数据库 时间:
2018-03-05 18:14:02
阅读次数:
177
Android 5.0新特性 1)全新的Material Design设计风格 2)支持多种设备 3)全新的通知中心设计--按照优先级显示 4)支持64位ART虚拟机 5)多任务视窗Overview 6)设备识别解锁--比如附近信任设备 7)Ok Google语音指令 8)Face unlock面部 ...
分类:
移动开发 时间:
2018-03-03 19:31:48
阅读次数:
182
Android SDK > 7(Android2.1)之后,即Android2.2及以后版本彻底关闭应用的方法,目前试验只有一下方法有效: 参考 https://www.cnblogs.com/zhujiabin/p/5675005.html ...
分类:
移动开发 时间:
2018-03-01 21:49:03
阅读次数:
246
2018年2月初,SANS发布了一年一度的网络威胁情报调研报告。以下是本人的一些理解和内容摘录。报告给出了SANS对CTI的定义:收集、整理和探寻关于对手方的知识。collection, classification, and exploitation of knowledge about adversaries。以及“analyzed information about the intent,
分类:
其他好文 时间:
2018-02-28 11:16:52
阅读次数:
544