please help me.
I need get a string data in my class, when i use a Resources.getSystem().getString(R.string.test), but get a error: Resources$NotFoundException (id=830139056248)
my code:
// manage DB
private class DBHelper extends SQLiteOpenHelper{
public DBHelper(Context context, String name, CursorFactory factory,
int version) {
super(context, name, factory, version);
}
// Create DB and insert data
@Override
public void onCreate(SQLiteDatabase db) {
db.execSQL(DB_CREATE);
ContentValues cv = new ContentValues();
cv.put(COLUMN_EX_NAME, "TITLE NAME");
cv.put(COLUMN_EX_IMG, R.drawable.ex_pic3);
cv.put(COLUMN_EX_TYPE, 0);
cv.put(COLUMN_EX_DESCRIPTION, Resources.getSystem().getString(R.string.test));
}
}