Race of library slow when Alchemy app disabled in the Release version
Hello
I'm working on an application that an operation running through a library of Alchemy (written in C and exposed as .as) long.
Here are the high-level logic to illustrate the idea:
QNXSystem.system.inactivePowerMode = QNXSystemPowerMode.NORMAL;
addEventListener (AlchemyLibraryEvent.PROGRESS, onProgress);
addEventListener (AlchemyLibraryEvent.COMPLETE, onComplete);
Call the library of Alchemy;
private void onProgress(event: AlchemyLibraryEvent) {}
update of the progress made in the user interface;
}
private void onComplete(event: AlchemyLibraryEvent) {}
QNXSystem.system.inactivePowerMode = QNXSystemPowerMode.STANDBY;
If app is in {disabled state
QNXSystem.system.powerMode = QNXSystemPowerMode.STANDBY;
}
}
In the bar-descriptor:
What happens is that the app works perfectly well (no matter the app is active, put off the power, the unit standby) in a debug build (by token of debugging). However, when it is exported as a signed bar and running on the same physical device BB10, it normally only works when the application is active. Whenever the application is disabled (when the screen is off, or app pushed back and another application is brought to the foreground), the application runs always, but at a very slow speed (about 1/15 of the original speed).
I did some debugging and confirmed that when the application is disabled, she was continuing with NORMAL power at the rate of 60 frames per second, which seems to be quite normal. What I don't understand is why the chemistry library runs a lot slower in the background in the Release version.
As a proof of concept, I added the following code just before inactivePowerMode to NORMAL:
NativeApplication.nativeApplication.systemIdleMode = SystemIdleMode.KEEP_AWAKE;
The build version will run at normal speed and the screen turn off. However, if I press the device power button, or push the app thoroughly (and make another application in the foreground), he repeats the same behavior running slowly.
Any ideas would be much appreciated!
No, there is no way to take more CPU power when in the background. The operating system applies this to the user, so they have no apps churning through their battery on them. I would recommend that you inform users of this, so they can decide what they want to do. BlackBerry 10 is expected for the multitasking well, so I expect that they will enjoy and put the application in the background.
Tags: BlackBerry Developers
Similar Questions
-
This is the message I get when I try to install the latest version of DPS App Builder "application could not be installed because the Installer file is damaged. Try to get a new setup of the author of the application file. On my Mac.
I tried to uninstall and reinstall
Help, please!
What version of Mac OS do you have? I guess it's 10.6.8 which is not supported by the App Builder. You need to update to a newer version of Mac OS.
Neil
-
iPhoto has stopped working. When I try to download the latest version, I massage "this update is not available for this Apple ID either because it was bought by another user or the item has been refunded or cancelled."... why?
Mac OS X 10.10.3 and newer include Photos, which is designed as a replacement for iPhoto. If you want to go on the use of iPhoto in addition to or instead of switch to Photos, click here and try following the instructions; you will only be able to do if you got before where associated with iPhoto on the Mac App store.
(138042) -
I receive an error when I try to download the trial version of After Effects an Adope ID I have already
Download and install the desktop application Adobe Creative cloud and then connect with the Adobe ID and then click the applications tab, and then click the Try button beside Affter Effects:
Windows version Adobe Creative Cloud Setup:
https://ccmdls.adobe.com/AdobeProducts/KCCC/1/Win32/CreativeCloudSet-up.exe
Reference:
-
effects of scrolling is disabled in the trial version?
The trial version of the give a go and have found that I can not set or play with the effects of scroll on some of the models available. Scrolling effects and function of type opacity disabled in the trial version or do I have a faulty installation.
Here, David
I don't think that it is disabled. When I first tried the trial, it worked.
-
I get the message when I opened the Muse CC, that the latest version is here and that I need to download... But when I click on "Download the latest Version" and need me to request manager it say that Muse is "up-to-date"... I also downloaded a model Muse and it says when I open it I also need the latest version... Can someone explain why Iam getting this message and why I can't update?... Very appreciated
Download the desktop app creative cloud using the link below: -.
Download Adobe Creative cloud apps | Free trial of Adobe CC
Then check if you install button for Muse CC 2014.3
Kind regards
Neha
-
I've updated to Windows 10. Now, when I open Photoshop Elements 10, I get the message that I need Internet Explore version 5 or higher for Photoshop work properly. When I try to download the latest version of Internet Explorer, I get a message that I already have the latest version. SO, what should I do?
Settle in the right forum.
-
Hi team,
I m error when i m to access the Manager version alb 3. "expired.the timeout period elapsed prior to obtaining a connection from the pool.this have bcz grouped all connection used and maximum pool size has been reached.
Please provide the solution.
Concerning
Ajay
Discussion moved from the Knowledge Base of VMware Lab Manager
-
When you try to install the trial version of Dreamweaver on my Windows desktop, I just see a white screen and nothing happens, except for the blue squares moving. I'll just wait? For how long?
It could be the browser problem because the site is up and running, could you please try another browser.
If same thing happening there so kindly go to Adobe CC 2014 Direct Download Links: Creative Cloud 2014 Release. ProDesignTools and download the desktop here CC application.
Note: Please follow the instructions very Important, otherwise the download does not start.
-Pierre
-
When I want to download the trial version of the CC, creative cloud does not find the file. Looking, what should I do?
Hi clemdef,
Change your browser and try again. Please see the Ko: http://helpx.adobe.com/creative-cloud/kb/troubleshoot-cc-installation-download.html for download issues.
You can even try the direct download: http://prodesigntools.com/adobe-cc-direct-download-links.html .
Please follow the very important instructions before downloading.
Kind regards
Romit Sinha
-
Get the 101 error when I try to download the trial version
Hello
Get the 101 error when I try to download the trial version
Thank you Kris
Adobe Download Troubleshooting Wizard
Direct download links for Adobe software
Mylenium
-
As soon as Firefox when through it's automatic 'upgrade' the scrolling action became very slow and lazy. I tried all this suggested (disable plug-ins, re-installing Firefox, restart the computer, etc.), but I still can't get back to the way it was. Is there a fix, or how can I re - install the older version that worked so well? I HATE THIS!
Hello mjg263, firefox 13 introduced a scroll smoothly by default - it might not work well on older hardware.
Please, try to update your video driver or if this does not improve the case you can disable scrolling smoothly in firefox/tools > options > advanced > general.
-
Using script - library locked when you try to add the file to it
Hello
I'm just a simple script that I can run with my engines of the action, so if I add new enum values I can create new wrappers quickly. I am able to create a new VI on disk, but when I try to add the the VI to the library, I get "error 1562: library, or the specified project is locked." Just before adding the article, I tried to adjust the State of the library "Not locked", but has not been the tower.
Directions to see the error:
Open attached zip file
Open 'Engine.lvlib Action '.
Run "Script - Create Wrapper.vi.
Please let me know how to get around this, I thank you,
Gregory
There are two reasons at least a library locks: 1) something he possesses is running, 2) is open in two or more instances of the application. (This applies to classes too.)
I started a project and took your scripts out of the library (to avoid the #1) and then open your Library Reference by path in your script, be sure to include the reference of the application (to avoid the #2).
Works now. (With the exception of the Init.vi but you mentioned earlier that you knew about it. But point 1 and 2 of article work fine.)
-
I have a suggested internet high speed through Comcast, and my wired computer is get 6 download MBS. My wireless laptop is close when I'm a few feet from the router, but decreases significantly when I move out of the room - up to 200-300 KPS.
I can't even watch a movie from netflix on the floor without stopping and buffering several times in a 1/2 hour show.
Long-story-short: I expect too much on this Wireless N technology, or is there something wrong with my router, connection, configuration, etc. ?
The strenth of signal on my laptop shows excellent quality for good, but the speed is terrible.
Any suggestions / advice?
JL
It could be due to the wireless settings are on your router has its default value, which is the reason why you might be faced with the problem. I think you need to change some settings in your router...
Connection to the router configuration page and then click on the tab below the Strip Radio Standard - 20 MHz and the Standard 11 - 2, 462 GHz channel change and wireless... Wireless SSID broadcast should be enabled and then click on save settings...
Then click on the "Advance wireless settings" sub-tab and below change the tag to 75 interval, change the Fragmentation threshold to 2304, change the RTS threshold to 2304 and click on save settings...
Now let's see if you can locate your wireless network and try to connect...
-
I activated my subscription and paid for it as well, but the creative application cloud shows only the trial versions of the programs? What does that mean? Cause I followed the installation steps, and when I try again it says my installation code has already been activated?...
Kindly Contact customer and details of payment verified. [Make sure that you are connected to the Web site with the valid Adobe ID under which the product is licensed].
Maybe you are looking for
-
With the help of Mac Maverick X.9.2 Thunderbird 24.4,0 report to Apple, but not sure that he is gone because there was no sentence of answer.
-
can I have multiple e-mail accounts or at least notification of emails in one place
I have a hotmail, gmail, e-mail accounts yahoo and want to do the courses run all at the same time or at least configuration ducted email notification to any accounts.
-
Problem of keys FN Satellite M70 - 164 came after warranty repair
HY, recently my laptop had a few dead pixels and I send warranty before replacing the lcd screen, despite the fact that the new lcd screen came up with a pixel dead now I can't use the fn keys do until a descent the brilliant and turn on or off the w
-
How to crean etiquetas direcciones desde numbers?
How to crean etiquetas direcciones desde numbers?
-
Hello My hp probook 6570b automatic stop after 1 hour. other functions work perfectly. Please help me.