In my android app. How to access context in onCreate method for SQLiteOpenHelper?
You extend SQLiteOpenHelper and save it in a field in your own constructor. Then, later in onCreate() you have access to the context.
SQLiteOpenHelper
onCreate()
You can extend this class and pass the context to the constructor, which stores it inside the variable. Then you can access it from the onCreate method.