06-08-2011 11:18 AM
I am testing my upload app and have found that when the playbook goes to sleep the transfer actually pauses until the backlight is enabled again.
Is this by design and is there a way around this so i can have my app continue to transfer data whilst the playbook is in sleep mode?
Solved! Go to Solution.
06-08-2011 11:24 AM
It's by design, and apps that should really work differently need to implement specific measures to do so. Look into the QNXSystemPowerMode stuff, and consider carefully whether you should be giving the user the option to control this, as some users may expect and want a transfer like that to be paused, depending on the nature of your app. For some it's appropriate to just use THROTTLED, for others something more complex.
Also note that you'll want to requestResource() with an argument of QNXSystemResource.NETWORKING, and be sure to release it properly when you're done with it too.
06-08-2011 11:34 AM
06-08-2011 11:45 AM