我无法显示SQLite表的记录
我的MySQLiteHelper类
Redirect 301 /1.html site.com/folder/1
Redirect 301 /2.html site.com/2
Redirect 301 /3 site.com/vw-vans/another-folder/2
Redirect 301 /3.html site.com/3
RewriteCond %{REQUEST_URI} .*\.(html)
RewriteRule ^(.+\.html)$ site.com/folder? [R=301]
我将选择查询称为
boolean checked = checkbox.getState();
logcat显示
public Cursor showImageRecords()
{
Cursor cursor=db.query(TABLE_Name, new String[]{COLUMN1, COLUMN2}, null, null, null, null, null, null);
return cursor;
}
欢迎任何意见和建议
答案 0 :(得分:2)
替换
MySQLiteHelper mySQLiteHelper=new MySQLiteHelper(context, null, null, 1);
到
MySQLiteHelper mySQLiteHelper=new MySQLiteHelper();
还显示日志cat错误
检查此tutorial