我正在关注本教程http://www.reigndesign.com/blog/using-your-own-sqlite-database-in-android-applications/
所以我创造了
public DatabaseHelper (Context context) {
super(context, DB_NAME, null, 1);
//Log.d("LOGI JEM", "MRENDA CONTEXTIT: " + context.toString());
this.myContext = context;
}
我正在尝试从我的主类中执行它,如教程中所示:
DatabaseHelper myDbHelper = new DatabaseHelper();
//Log.d("LOGI JEM", "MENIHERE MBAS COPY DATABASE MRENDA IF(DBEXISTS): " );
myDbHelper = new DatabaseHelper(this);
但是eclipse告诉我“构造函数DatabaseHelper()未定义”并给了我三个修复,但没有一个对我有用。感谢您提供的任何支持...