今天遇到一个奇怪的bug,PendingIntent.getActivity()在小米手机上面不起作用,在别的手机没有问题,估计是小米侵犯了rom的原因。源代码这个方法介绍如下:
/**
* Retrieve a PendingIntent that will start a new activity, like calling
* {@link Context#sta...
分类:
其他好文 时间:
2015-01-14 23:01:17
阅读次数:
1669
Webapi主要功能:支持基于Httpverb(GET,POST,PUT,DELETE)的CRUD(create,retrieve,update,delete)操作请求的回复格式支持JSON,XML,并且可以扩展添加其他格式。.请求的回复通过HttpStatusCode表达不同含义,并且客户端可以通...
http://www.sharejs.com/codes/javascript/8178HTML文件代码如下Retrieve data from XML fileStatus:Status text:Response:Get XML data//该代码片段来自于: http://www.sharej...
分类:
Web程序 时间:
2015-01-09 00:12:02
阅读次数:
250
早上检查数据库的备份邮件时,发现一台Microsoft SQL Server 2008 R2 (SP2)数据库的Maintenance Report有错误 在SSMS里面执行Exec YourSQLDba.Maint.ShowHistoryErrors 729脚本后,发现如下错误信息(数据库名用XX...
分类:
其他好文 时间:
2015-01-07 10:57:02
阅读次数:
286
The trick to be able to read the default values for instance parameters is to get to the FamilyManager.The family manager is a whole separate area of ...
分类:
其他好文 时间:
2014-12-18 21:55:08
阅读次数:
176
problem making ssl connection Error: Cannot retrieve repository metadata (repomd.xml) for repository: openstac k-icehouse. Please verify its path and ...
分类:
其他好文 时间:
2014-12-17 01:28:22
阅读次数:
329
1. 听说游戏开发都用Surfaceview,上网搜了下,说是SurfaceView在更新视图时,采用了双缓存机制,可以提高更新效率,加强用户体验。下面两段粘贴自别人的博客,说的还挺清楚的。Note: On each pass you retrieve the Canvas from the Sur...
分类:
其他好文 时间:
2014-12-16 19:01:16
阅读次数:
272
The way to solve this problem have two methods:1.Through command lineRunning this command will update the repo to use HTTP rather than HTTPS:sudo sed ...
分类:
Web程序 时间:
2014-12-16 13:04:44
阅读次数:
214
环境描述 Windows 2012 R2,SharePoint 2013(没有sp1补丁),sql server 2012错误描述 搜索服务正常,但是爬网一直在Crawling Full,但是爬不到任何东西,而且不会停止,爬了一宿什么都没有爬到: 爬网不止,爬了一宿什么都没有爬到,错误如下: ...
分类:
其他好文 时间:
2014-12-12 22:03:58
阅读次数:
253
环境描述 Windows 2012 R2,SharePoint 2013(没有sp1补丁),sql server 2012错误描述 搜索服务正常,但是爬网一直在Crawling Full,但是爬不到任何东西,而且不会停止,爬了一宿什么都没有爬到: 爬网不止,爬了一宿什么都没有爬到,错误如下: 去15/logs里面找日志;Non-OAuth request. IsAuthenticated...
分类:
其他好文 时间:
2014-12-12 19:15:10
阅读次数:
218