• After 15+ years, we've made a big change: Android Forums is now Early Bird Club. Learn more here.

Apps Creation SQLite Database and Insert Data

AlexeyS

Newbie
Hello. I have problem with SQLite connection. I get next error:
E/AmanattoDataUpdaterHelper: Failed to get contextual suggestions.
E/AmanattoDataUpdaterHelper: package name: com.example.name_app

I put some Logs, and found that SQLiteDatabase database = this.getWritableDatabase(); statement is not executed. I ca't see Log after this. I don't know what is really cause for this problem. Please help me.

public void insertName(Name m) throws Exception {
Log.i("data", "Before Opening DB");
SQLiteDatabase database = this.getWritableDatabase();
Log.i("data", "DataBase Open"); <- i don't see this message
....
}
 
Are you saying that the first Log message in this method is shown, but the second isn't?
Does your application crash? If so you will need to show the full stack trace from the Logcat output
 
Back
Top Bottom