当在Android4.4上进行图片的扫描功能开发时一般会使用:sendBroadcast(new Intent(Intent.ACTION_MEDIA_MOUNTED, Uri.parse("file://"+ Environment.getExternalStorageDirectory()+ picPath)));的广播
因为Android4.4中限制了系统应用才有权限使用广播通知系统扫描S...
分类:
移动开发 时间:
2015-02-28 16:28:06
阅读次数:
531
在导大容量数据特别是CLOB数据时,可能会出现异常:“Packets larger than max_allowed_packet are not allowed”。这是由于MySQL数据库有一个系统参数max_allowed_packet,其默认值为1048576(1M)可以通过如下语句在数据库中...
分类:
数据库 时间:
2015-02-27 15:08:01
阅读次数:
302
sqlnet.ora 添加NAMES.DIRECTORY_PATH= (TNSNAMES, EZCONNECT)SQLNET.ALLOWED_LOGON_VERSION=8
分类:
数据库 时间:
2015-02-27 11:40:30
阅读次数:
125
Follow up for "Remove Duplicates":What if duplicates are allowed at mosttwice?For example,Given sorted array A =[1,1,1,2,2,3],Your function should ret...
分类:
其他好文 时间:
2015-02-22 15:46:43
阅读次数:
121
如果你想连接你的mysql的时候发生这个错误:以下是引用内容:ERROR 1130: Host '192.168.1.100' is not allowed to connect to this MySQL server解决方法:1。 改表法。可能是你的帐号不允许从远程登陆,只能在localhost...
分类:
数据库 时间:
2015-02-20 18:36:12
阅读次数:
149
本机是mysql的数据库,想用另一台ip为192.168.1.9的连接是用这个mysql数据库,可是报了这个错误。
查询得到2个方法
第一个是在user表把localhost改为%, 我这么做后不仅没有解决,本地连接都要root@%这么做了(现在想想好像是我操作失误把所有localhost都给改了)。
第二个方法就生效了。
终端登陆mysql,执行一句sql:
GRANT ALL PRI...
分类:
数据库 时间:
2015-02-19 15:09:03
阅读次数:
221
解释是可用内存已耗尽,这关系到PHP的memory_limit的设置问题。我在网上看到,有两种方法解决1、修改php.inimemory_limit = 128这种方法需要重启服务器,很显然,此方法对虚拟机有限制。2、通过ini_set函数修改配置选项值ini_set('memory_limit',...
分类:
其他好文 时间:
2015-02-16 15:31:10
阅读次数:
150
本文是在学习中的总结,欢迎转载但请注明出处:http://blog.csdn.net/pistolove/article/details/43835055
Follow up for "Remove Duplicates":
What if duplicates are allowed at most twice?
For example,
Given sorted array...
分类:
其他好文 时间:
2015-02-15 15:11:07
阅读次数:
178
Atitit.软件GUIbutton与仪表盘--db数据库区--导入mysqlsql错误的解决之道Keyword::截取文本文件后部分查看提示max_allowed_packet限制TargetServerVersion:505243、mysql的max_allowed_packet限制【phpmy...
分类:
数据库 时间:
2015-02-15 13:23:51
阅读次数:
177
标题:Find Minimum in Rotated Sorted Array II通过率:31.1%难度:难Follow upfor "Find Minimum in Rotated Sorted Array":What ifduplicatesare allowed?Would this aff...
分类:
其他好文 时间:
2015-02-15 12:07:22
阅读次数:
133