Hello Everybody,
I am writing an app and it has a simple database and I'm wondering if
for only intern access (no other applications will see this database) I
should use:
- ContentProvider
- I heard I should only use it if I want to share data with other
applications
- Singleton
- Create a singleton of the DataBaseAdapter in the main Application
- DataBaseAdapter itself
- Create a new DataBaseAdapter in every activity I need to use;
There are 3 differents activities using this database.
So what should I use?
--
Dayvid Victor R. de Oliveira
9º Periodo de Engenharia da Computação - UFPE
Monitor-Chefe de Lógica para Computação (EC)
Laboratório Itautec - CIn/UFPE
--
You received this message because you are subscribed to the Google
Groups "Android Developers" group.
To post to this group, send email to [email protected]
To unsubscribe from this group, send email to
[email protected]
For more options, visit this group at
http://groups.google.com/group/android-developers?hl=en