80,349
社区成员
发帖
与我相关
我的任务
分享
cursor.moveToFirst();
while(cursor!=null){
cursor.moveToFirst();
//这句可以看到底查找到没有,count可以看到共查找到几条数据。
if(cursor.getCount!=0){
}
else{
}
}
int number22=cur4.getColumnIndex(KEY_AREA);
byte bytes[]=cur4.getBlob(number22);
try {
//将其转化为gb2312编码方式
str6= new String (bytes,"gb2312").trim();
}
catch (UnsupportedEncodingException e) {
// TODO Auto-generated catch block
e.printStackTrace();
}