6.0以上会因为SYSTEM_ALERT_WINDOW权限的问题,无法在最上层显示。 用户打开软件设置页手动打开,才能授权。路径是:Settings->Apps->App Setting->Draw over other apps . 然后手动打开应用的此权限 通过Google Play Store ...
通常我们使用Docker的时候都是使用的root,官方说法如下: The docker daemon binds to a Unix socket instead of a TCP port. By default that Unix socket is owned by the user root ...
分类:
其他好文 时间:
2017-11-22 10:58:41
阅读次数:
143
题目链接:http://poj.org/problem?id=2955 Time Limit: 1000MS Memory Limit: 65536K Description We give the following inductive definition of a “regular brack ...
分类:
其他好文 时间:
2017-11-21 22:07:25
阅读次数:
169
图形用户界面 今天老师布置了一个实验,用Java实现图形用户界面,按照习惯依旧贴出来了。 功能还可以后继添加,掌握各种组件的使用和布局管理器以及点击事件,实现界面如图所示: 实现代码如下: 最后,为了便于自己以后找到组件的拖拽的位置,写出创建类的步骤: 点击工程新建,点击其他<other>,然后输入 ...
分类:
其他好文 时间:
2017-11-21 20:52:09
阅读次数:
126
摘要:这是快的打车移动端架构师、Android 开源项目源码解析codeKK发起人 吴更新(@Trinea)在MDCC上分享的内容,从总体设计和原理上对几个图片缓存进行对比,没用到它们的朋友也可以了解它们在某些特性上的实现。 【CSDN现场报道】10月14日-16日,“ 2015移动开发者大会 · ...
分类:
移动开发 时间:
2017-11-21 14:41:58
阅读次数:
236
BC都被hack的人生,痛苦。 下面是题解的表演时间: A. QAQ "QAQ" is a word to denote an expression of crying. Imagine "Q" as eyes with tears and "A" as a mouth. Now Diamond h ...
分类:
其他好文 时间:
2017-11-20 21:48:51
阅读次数:
171
The math department has been having problems lately. Due to immense amount of unsolicited automated programs which were crawling across their pages, t ...
分类:
其他好文 时间:
2017-11-20 20:19:22
阅读次数:
160
Implement a MyCalendarTwo class to store your events. A new event can be added if adding the event will not cause a triple booking. Your class will ha ...
分类:
其他好文 时间:
2017-11-20 17:48:37
阅读次数:
161
在codeblocks的settings中选择 compiler and debugger,选择compile setting 在其中有other options,在里面写上-std=c99 这样就可以使用c99标准来编译程序了 ...
分类:
其他好文 时间:
2017-11-20 17:48:03
阅读次数:
125
背景 我在开发haoop时,IDEA自带的junit3不知道为什么不能用,所以改用junit4 步骤 添加插件:File->Settings->Plugins 设置生成模式:File->Settings->Other Settings 修改模板:File->Settings->Other Setti ...
分类:
其他好文 时间:
2017-11-19 23:41:53
阅读次数:
562