Hi, that really depends on the nature of the application and how would you like to use the database. All those options are possibilities under some circumstances.
Best regards, Filip Havlicek 2011/7/16 Dayvid Victor <[email protected]> > 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 -- 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

