Welcome!

Welcome to the official BlackBerry Support Community Forums.

This is your resource to discuss support topics with your peers, and learn from each other.

inside custom component

Web and WebWorks Development

Reply
Contributor
genration
Posts: 34
Registered: ‎05-28-2011
My Device: Blackberry Playbook
My Carrier: O2

SQLite UPDATE on exit

Hello all,

 

Just wondering if anyone has come up against the use case of saving data to SQLite when the application exits. Does anyone know if all queued SQL requests/transactions are executed before the application is allowed to close?

 

Thanks.

Please use plain text.
Contributor
ninedoors
Posts: 18
Registered: ‎08-03-2011
My Device: Torch & Playbook
My Carrier: Bell

Re: SQLite UPDATE on exit

I would like to know this too....anyone?  Tim?

Please use plain text.
BlackBerry Development Advisor (Retired)
jeffheifetz
Posts: 518
Registered: ‎07-18-2011
My Device: Bold
My Carrier: Rogers

Re: SQLite UPDATE on exit

I don't know the answer to your question, but  on a BB you can trap the close event and wait until the transaction is complete to close the app.



1.Please resolve your thread by clicking the "Accept as Solution" button below the post which solved your problem!
2. If any post helps you please click the button below the post(s)
Please use plain text.
Contributor
genration
Posts: 34
Registered: ‎05-28-2011
My Device: Blackberry Playbook
My Carrier: O2

Re: SQLite UPDATE on exit

Yes you can use the onExit event but this does not apply to playbook which currently does not support this event.
Please use plain text.