Just remember that the singleton may not always be around... It can be destroyed at any time by the OS.
Thanks, Justin Anderson MagouyaWare Developer http://sites.google.com/site/magouyaware On Mon, Jul 11, 2011 at 12:44 PM, Kumar Bibek <[email protected]> wrote: > Well, Singletons are fine in Android. But, it really depends on how you > intend to use it. > > *Thanks and Regards, > Kumar Bibek* > * > http://techdroid.kbeanie.com > http://www.kbeanie.com* > > > > > On Tue, Jul 12, 2011 at 12:11 AM, Dayvid Victor <[email protected]>wrote: > >> Hello Everybody, >> >> I have a project that I'm organizing and it is using a Singleton >> to store information about a object X in database. >> >> It is used by other activities ... >> >> is it ok to use singletons in android? >> or I should just use intent to save infos. >> >> tks. >> -- >> 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 > -- 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

