I am writing a large text file of 10000 lines in Sqlite Database when user first time runs application I am writing that large text file in SqliteDatabse for fututre use. It is working but application is unresponsive due to large processing i tried using AsyncTask and Thread but id did not helped me please anyone tell me what I should do. Which Class I should use for this purpose. I want that application writes a text file in background and how to check thread has completed so I can call another method.
Aucun commentaire:
Enregistrer un commentaire