android - How is OnCreate() called SQLiteOpenHelper -
i have been searching on internet ı have found these informations: oncreate() method called when database opened or created... okey how method called ?by whom? activity class has oncreate method also, these 2 oncreate methods similar ?if makes them similar? activities oncreate method called os? how? papers should ı read? know when these methods called ı want know how. thank you.
okey how method called ?by whom?
it called sqliteopenhelper
itself, in response call getreadabledatabase()
and/or getwriteabledatabase()
. can see in the source code sqliteopenhelper
.
activity class has oncreate method also, these 2 oncreate methods similar ?
not really.
activities oncreate method called os? how?
it called activity
itself, part of startup process. starting activity
rather complicated, welcome review the ~6000 lines of activity
source code if like.
Comments
Post a Comment