blackberry-webworks / BB10-Webworks-API

An api repository for webworks
6 stars 1 forks source link

As a WebWorks developer, I can listen for an event that will be fired when the device enters a low memory state so I can attempt to clean up #38

Open kwallis opened 11 years ago

kwallis commented 11 years ago

Acceptance Criteria

nukulb commented 11 years ago

We have the event but we have no idea how to test it. @kwallis @adrianlee

kwallis commented 11 years ago

Can we find out who tests it on the native side?

Ken Wallis

Product Manager – BlackBerry WebWorks

Research In Motion

(905) 629-4746 x14369


From: Nukul Bhasin [reply@reply.github.com] Sent: Wednesday, July 25, 2012 6:03 AM To: Ken Wallis Subject: Re: [BB10-Webworks-API] As a WebWorks developer, I can listen for an event that will be fired when the device enters a low memory state so I can attempt to clean up (#38)

We have the event but we have no idea how to test it. @kwallis @adrianlee


Reply to this email directly or view it on GitHub: https://github.com/blackberry-webworks/BB10-Webworks-API/issues/38#issuecomment-7245307


This transmission (including any attachments) may contain confidential information, privileged material (including material protected by the solicitor-client or other applicable privileges), or constitute non-public information. Any use of this information by anyone other than the intended recipient is prohibited. If you have received this transmission in error, please immediately reply to the sender and delete this information from your system. Use, dissemination, distribution, or reproduction of this transmission by unintended recipients is not authorized and may be unlawful.

RonMen commented 11 years ago

For a test, perhaps you could try to continuously set and get a growing amount of data to the localStorage or the openDatabase? We tried such a procedure on iPad in the past and at the end the system freezed.

nukulb commented 11 years ago

This is being developed as an example native extension right now.

------Original Message------ From: RonMen To: Nukul Bhasin Subject: Re: [BB10-Webworks-API] As a WebWorks developer, I can listen for an event that will be fired when the device enters a low memory state so I can attempt to clean up (#38) Sent: Aug 3, 2012 1:05 AM

For a test, perhaps you could try to continuously set and get a growing amount of data to the localStorage or the openDatabase? We tried such a procedure on iPad in the past and at the end the system freezed.


Reply to this email directly or view it on GitHub: https://github.com/blackberry-webworks/BB10-Webworks-API/issues/38#issuecomment-7475866

Sent from my BlackBerry device on the Rogers Wireless Network

RonMen commented 11 years ago

Oh, native extension sounds good to me for other use cases too! Can't wait to see an example.

nukulb commented 11 years ago

the team is actually working on it right now so if you want to give feedback here is the branch that is being worked on right now.

https://github.com/blackberry-webworks/BB10-WebWorks-Framework/tree/next-native-template/ext_sample

RonMen commented 11 years ago

THX for linking to the branch.