@Channe

 

2013年11月21日

java.lang.IllegalStateException: Couldn't read row 1, col 0 from CursorWindow. Make sure the Cursor is initialized correctly before accessing data fr

摘要: Android中操作Sqlite遇到的错误:java.lang.IllegalStateException: Couldn't read row 1, col 0 from CursorWindow. Make sure the Cursor is initialized correctly before accessing data from it.常见的错误原因解决:错误1:请求的字段在数据库的表中不存在,一般是大小写没写对。错误2:编程的中途改变表的字段,实际字段并没有改变,解决方法是卸载当前版本,再安装调试。错误3:查询语句中并没有查询该字段,使用的时候却要得到该字段的值。下边 阅读全文

posted @ 2013-11-21 16:34 @Channe 阅读(7586) 评论(0) 推荐(0) 编辑

2013年10月22日

IOS--UIAlertView造成屏幕闪烁

摘要: 在异步操作中,如果直接Show一个UIAlertView可能会造成屏幕闪烁(目前在iPhone5上发现),解决办法如下:UIAlertView *alert = [[UIAlertView alloc] initWithTitle:@"提示" message:msg delegate:self cancelButt... 阅读全文

posted @ 2013-10-22 15:20 @Channe 阅读(357) 评论(0) 推荐(0) 编辑

导航