Questionsforum
Can we call getWritableDatabase() from the main UI thread ?

Can we call getWritableDatabase() from the main UI thread ?



On 2014-06-13 01:47:23.0
Abakasha


No because if it takes too much time to create all tables , then it may interrupt main thread and user experience will get disturbed , and ANR (Application Not Responding )may occur .



On 2014-06-13 01:49:52.0
Abakasha

copyright@questionsforum.net