1. DatabaseHelper 클래스를 만듭니다. 2. DatabaseHelper 클래스 코딩하기 package com.example.sqlite_sample; import android.content.ContentValues; import android.content.Context; import android.database.Cursor; import android.database.sqlite.SQLiteDatabase; import android.database.sqlite.SQLiteOpenHelper; import androidx.annotation.Nullable; public class DatabaseHelper extends SQLiteOpenHelper { public static fin..
1. DatabaseHelper 클래스를 추가한다. 2. DatabaseHelper 코딩 (추가하기, 보여주기) package com.example.sqlite_sample; import android.content.ContentValues; import android.content.Context; import android.database.Cursor; import android.database.sqlite.SQLiteDatabase; import android.database.sqlite.SQLiteOpenHelper; import androidx.annotation.Nullable; public class DatabaseHelper extends SQLiteOpenHelper { public sta..