Prabakar MP wrote:

Hi,


Can anyone tell me.,
What are all the possibilities in coding,
1. To not allow anyone to Delete my Database On Device. [ That means no body 
can delete the Database manually or using any tool On Device. ]
Deleting a database is an easy task, so I think that you are NOT going to be able to prevent this without taking full control of the device. By 'taking full control' I mean that you must not allow the user to switch to any other application of their choice (like FileZ), and you must not allow them to hotsync or beam, so that they cannot load an application that will facilitate the deletion the database. It is possible to do this stuff (lock down a running device) but it's somewhat tricky.

2. To always run my application in the Background.
There are not that many options here. 1. Use the soundstream techniques to run a process (instead of playing a sound) in the background at the same time. 2. Create periodic alarms that will wake up your process and allow you do do things once in a while, so that it is running often, though not all the time. 3. Try to figure out which system notifications you might respond to, so that you could do your processing in response to a user or system action.

I'm not sure if there is much else you could do.

Bob

--
For information on using the PalmSource Developer Forums, or to unsubscribe, 
please see http://www.palmos.com/dev/support/forums/

Reply via email to