samedi 28 mars 2015

Writing to database within a Service

In my Android app, the user can receive notifications than contain a serial number that I want to store in my SQLite database. However, I saw that it may be unsafe to write in the database within the Service, as it can compete with others instances of it in the current Activity.


Is it really unsafe to write in the database within a Service? Is there any workaround for that?


Aucun commentaire:

Enregistrer un commentaire