02-16-2009 11:42 AM
I have a question about Persistence Store. How long does the data is stored? It is stored until neext boot or turn off the device?
Does exists an alternative that Persists only when the device is on?
If this alternative does not exists, how can I know if the device has restarted? I´ve checked the API Docs and found anything like that.
Thanks for advance!
Solved! Go to Solution.
02-16-2009 12:45 PM - edited 02-16-2009 12:46 PM
to know when device is going to powerOff() and powerOn() consider SystemEventListener interface.
there are relevant methods to process such events.
implement this interface in your application and use addSystemListener() method of Application class.
02-16-2009 01:06 PM
Just what I needed, I use it to clean the login information persisted, my customer wants for security reasons to ask for login every time is turned on-off the BB.