View Keep-Alive in stunts

Hey all,.

Just finished my first approx. Cascades loves it!

The only thing I'm always looking for is a way to keep the view while some things are spend in my application (an animation playing). Is there a way to (temporarily) tell the device to not put the screen on standby in waterfalls?

Thank you!

Marco

QML complete:

import bb.cascades 1.0

Page {
    Container {
        Label {
            id: label
            text: "KeepAwake is " + (Application.mainWindow.screenIdleMode ? "ON" : "OFF")
        }

        ToggleButton {
            onCheckedChanged: Application.mainWindow.screenIdleMode = checked ? 1 : 0;
        }
    }
}

Tags: BlackBerry Developers

Similar Questions

  • What should I change to keep alive indefinitely without any Windows activity?

    Title of the Moose: kb2492386

    Installed kb2492386 update to XP Pro (version 2002) as well as several IE8, several .NET framework and central management framework.  Since the updates windows times out and require a re-login.  Power options are unchanged: never stop disks, never attend the eve and disabled hibernation.

    What should I change to keep alive indefinitely without any Windows activity?

    Hello

    Follow these steps and check if that helps:

    a. log on to a user administrator account in Windows XP.

    b. click the rectangular 'Start' button in the left corner and open the control panel.

    c. click on "Performance and Maintenance" and select "Power Options".

    d. choose 'Never' lists 'sleep' and 'Putting into hibernation'. Then click on 'OK '.

    Also, see this Microsoft KB article and check if that helps:

    How to solve the problems of hibernation and standby in Windows XP

    http://support.Microsoft.com/kb/907477

  • RV082 VPN to ASA5500 device crashes when the keep-alive enabled

    Hi all.

    We have several here RV082s which are intended to connect to a central ASA5510 firewall. VPNS are configured and essentially operate, however in our test environment the RV082s kept crashing after seemingly unpredictable time (sometimes after several days or even weeks). The RV082 have the new firmware (v4.1.0.02 - tm).

    Investigations further on the issue, I discovered that accidents can be reproduced upon activation of the keep-alive option on the RV082. Power on the RV082, they can get started, start the VPN, and then they crash a few seconds after the tunnel has been implemented (one or two pings go usually). When crashing, the RV082 becomes completely inaccessible, IE no ping, no interface Web etc.

    There is a note in the firmware release notes saying that the activation of the keep-alive option would not work the way that it should. However it seems that enabling this option allows the router completely crash after the next reboot. This makes the keep-alive option basically useless, however we need since the routers will be installed at remote sites with no staff there.

    Is it possible to activate the keep-alive option without the crash of routers immediately after start-up?

    Thanks & cheers

    The RV082 is configured to route all traffic to the ASA? If so, there is a special beta firmware that is trying to solve the problem. However, you will need to call the help desk to create a ticket first.

    http://www.Cisco.com/en/us/support/tsd_cisco_small_business_support_center_contacts.html

  • LAN-to-LAN VPN and ISAKMP Keep-alives

    Hello

    We have configured a VPN LAN-to-LAN between ASA 5505 and GNAT box. Looks like that GNat does not support persistent:

    January 16, 2007 14:50:22 713122 IP = 210.X.Y.Z, Keep-alives configured on, but the peer does not support persistent (type = None)

    Can I disable these KeepAlive on ASA as well?

    Thank you.

    Kind regards

    Alex

    Hi Alex,

    If the VPN is not affected hereby, you should not be disabled.

    Please rate if this helped.

    Kind regards

    Daniel

  • H323 Keep-alives

    I have a client with calls H323 falling at the 1 hour mark. classic symptom of H323 or H225 timeout issues.

    Problem is that the customer has a network refuses (big client with many geographically distributed teams) to adjust the firewall of the team time-out values.

    Is there a way to Setup persistent on endpoints or the VCS?  Endpoints are mainly MXP always, slowly being changed for C-series.

    Thank you.

    Hi Anthony,.

    Cisco/Tandberg endpoints use H245 messages to keep alive the call, they send H245 keep alive messages every 30 seconds. However, in some cases, the firewall does not consider the Dungeon H.245 living messages and then it disconnects the call if no H225 keep alive messages are received during a certain period of time (in your case, 1 hour).

    The problem is, most of the Cisco/Tandberg endpoints cannot send H225 keep alive messages, only H245 messages (they use the roundTripDelayRequest and roundTripDelayResponse messages). Of the endpoints of TC, TC6 and versions later, Cisco has provided a keep alive feature H225, but the default time is 2 hours and that cannot be changed, so endpoints keep alive session every 2 hours.

    For the MXP endpoints, as far as I know, we're not support H225 keep alive, only H245.

    Therefore, you should really fix the configuration of your firewall, once you can make any configuration change in the endpoints to solve the problem.

    Take a peek at this defect associated with H225 keep alive question of the endpoints TC, note that Cisco suggests customers to make adjustments in the typology where the H323 (H225/H245) sessions are sent via or on the device firewall to handle the video traffic correctly.

    https://Tools.Cisco.com/bugsearch/bug/CSCub20591

    Another people in the community here has had the same problem, see:

    https://supportforums.Cisco.com/message/4039690?referring_site=BSS&channel=BDP#4039690

    https://supportforums.Cisco.com/message/3952227?referring_site=BSS&channel=BDP#3952227

    I hope this helps.

    Paulo Souza

    My answer was helpful? Please note the useful answers and do not forget to mark questions resolved as "responded."

  • Keep alive does not work in sqldeveloper 4.0

    Hi friends,

    I use sqldeveloper 4.0 in it, keep alive option is not able to see in the tool. I have download the .jar to the https://sites.google.com/site/keepaliveext/ file and paste it in

    .. \sqldeveloper-x.x.x.x.x\sqldeveloper\sqldeveloper\extensions and restarted the tool developer sql.

    Even if I'm not able to see the option to keep living. Please is there any alternate to do this.

    Please help me in this.



    Thank you

    RAMU



    There is a similar extension of keepalive for SQL Developer 4 available at https://bitbucket.org/scristalli/sql-developer-4-keepalive.

  • Anyone know why the images using the viewer keep appearing behind the thumbnails?

    Anyone know why the images using the viewer keep appearing behind the thumbnails?

    Can you provide a link?

    Probably your best way to do it would be to create your first "lightbox" like a ToolTip by using the ToolTip Widget, and then that way you nest not viewers.

    But if you can provide a link maybe I can think of a better way to do it.

  • Is there a 'keep' alive function to prevent websites to automatically disconnect me?

    Y at - it a function, Add on, etc. which will regularly send activity to a web site to prevent it from automatically disconnect me for inactivity? There are several sites that I keep in my tabs for the purposes of monitoring, but they have periods of ridiculous timeout from 5 to 15 minutes. I'm tired of having to connect everything again whenever I want to check.

    You probably need an add-on for that. Do a quick search, he came. I have not tested myself.

    ReloadEvery: reloads webpages every so many seconds or minutes. The service is accessible via the context menu (menu you get when you right-click on a web page) or via the tab context menu (right click on the tab).

  • Defying death, keeping alive via USB

    I have a thread going in the forum of the EU, but I might as well check-in here as well:

    I bought my Defy in November. has worked perfectly until yesterday. Two nights ago, I used the phone for surfing the web, and I used the LED flashlight to find my way through the apartment when I went to bed. I plugged the charger as I always do and I got the tone "charge" and it dispalyed "60% load...". "etc, all normal

    When I woke, I unplugged the phone, but instead of "disconnected" tone, he was quite dead. Screen wouldn't turn on or anything like that. so I reinstalled the battery, but nothing happened. connected to the PC, etc., nothing.

    then I left it for about 9-10 hours (via the wall socket), the battery got hot, but the phone has refused to start.

    This morning I plugged it in the PC, nothing happened. I left him there and after about 20 minutes or more, the white LED on and the computer gave this "USB connected" sound and some drivers 'OMAP3630' (or something like that) installed, but nothing more.

    now a few minutes, I hear the "USB connected", but he never goes away. and if I press the power button on the phone I can't also 'USB connected' and then sounds instantly "USB disconnected".

    White LED keep shining, as I understand it means 'load, but not enough juice to turn on again. I ordered a new battery on Ebay ($40!), but it can take up to two weeks for it to ship to the Sweden

    any ideas?

    I thought that I would update this post, so if someone gets the same problem in the future, they know what are the components.

    I got on the phone to a repair and service center seem to have changed the entire Board internally, as they put a new tile with new identification numbers and other things on the original one (so new IMEI etc.)

    seems the charger or battery funked out and shorted the system or something

    Since I've returned, it took about three weeks to get it back (this includes the delivery volume of Sweden to Germany, processing, repair, sending back from Germany to the Sweden.) Three weeks is a favourable time for that

  • Windows 8 Photo Viewer keep crashing?

    As a hobby, I take lots of photos and download them to my PC, where I discovered all the and choose the best. The problem is that I have more pictures of 13,000 on my PC and I do not have pictures of Windows 8 viewing program can support. While going through my images, the program freezes or crashes a lot. After uploading new photos and viewing, it blocks always, at least once. In addition, I use my arrow keys of the keyboard mouse to see my photos, and it happens a lot, although I press 'back' to see the last photo, it goes a few more "before" photos Is there a way to prevent this? Do I need to install something more? I always update my computer and applications, so everything should be updated. I don't think that my PC is the problem, since it is a good laptop. (Sony Vaio sve1512z1eb)

    Yes, the problem is solved. I bought an external hard drive and store currently most of my photos out there. This allows the photos app to run much smoother. Thanks for the support!

  • How can I keep alive the word in IndesignCS5 notes/memos

    Hello, I am at a loss regarding the loss of the notes to end 'live' who are alive in my word file, but after placing them in indesign cs5, they become dead, by that I mean that the endnote reference does not relate to his endnote or another. I was wondering have I missed an area of formatting or something. What I did is checked in the 'Microsoft Word Import Options' box my "preserve Styles and formatting from text and tables", and yet, they show always just as if it were numbers in exponent form, which is not what I want. I want to be able to do is when I go in my reference options in Indesign, I want to be able to restart page numbering in each section, modify the style etc., thanks if anyone can help.

    Eugene, are both your links in the last post on the same page... Was - this intentional?

    Peter Kahrel has a few scripts to deal with notes, including a reference to the script of end-notes, to http://www.kahrel.plus.com/indesign/footnotes.html. The OP can convert notes in the notes in Word, and then do the numbering restarts and so on in the IDS and finally convert back to endnotes. I don't know if it is more or less work than using references cross.

  • VPC of Nexus 5 k Keep-Alives - Portchannel necessary?

    I'll set up 2 5548UP for layer 3 connectivity and I was wondering about the configuration of the VPC. What is the best practice? Do I have to configure a port-channel of layer 3 to do this with different interfaces (for example, e1/e1/1-2), or can I only make the mgmt port 0 card layer 3 girl (via copper)?

    And also, the ports that are L1 and L2 on the layer 3 daughter card for? I know that at some point there were not usable...

    Thank you

    Bobby Grewal

    Hi Bobby,.

    You can use the for the persistent mgmt0 port.  The main reason for them to determine what kind of failure has occurred if the VPC peer-link goes down.  If persistent are up, we know peer switch is in place, and the secondary switch must stop its ports until the pair link comes back online.  If persistent are also declining, we switch know peer is gone and the remaining switch must be responsible for the transfer of traffic.

    Hand, I'm not sure on the ports of L1 and L2.  I'll look into it, but mabey someone has the practical answer.

    Chad

  • Upgrade NAS - how can I increase iSCSI keep alives or time dead-then it reboots internally

    I'm running an EMC Celerra NAS.  Virtual machines are running on iSCSI.  While the storage is upgraded front-end server are switched on the NAS, i.e. disk is not accessible for about 4-5 minutes.

    Where to increase the values ISCSI to enable pause extended for upgrades?

    Yes. I meant double SP, sorry for the confusion that I worked on EMC, NetApp, HDS, etc. and different vendors use different terminology for the same thing.

  • How to keep the RS232 connection

    Hello everyone. I have a problem with the RS232 communication. To activate the connection, I need to send the string "RS232", then the keep alive I send every second CR, but in the meantime, I have to be able to send any other strings without delay on the same port (COM7). Can someone help me?

    Thank you

    RS232 standard does not impose itself to be kept alive in some way, so I guess that's your remote device that requires it.

    In any case, you could create a timer of 1 s and having his reminder send periodically the CR on the serial port.

    To avoid conflicts between this task and in the rest of the application, you can use a lock: basically, after you have created the lock, each function that wants to access the serial port must call CmtGetLock (), work on the port and call CmtReleaseLock () afterwards. If the lock belongs to another function, other functions when trying to get access are frozen waits for the lock, so you must be careful in the design of COM function so that they are quick. If you do not want to have a function be blocked waiting for the lock, you can use CmtTryToGetLock instead of CmtGetLock. You will find some information about locks in this tutorial as well as in this chapter program ' s reference.

  • Maintenance of the Socket connections alive

    Hello developers,

    Please, I have problems to perpetuate a socket connection in my application for a long time. It seems to disconnect after a short (2 minutes) while especially if he's inactive.

    It happens that I have write an application with a Chat feature and for that, that I keep a socket connection Alive for the life - tme of my application. I tried stuff like Ping Server every minute, but then this is a leak of resources (Blackberry). Push BlackBerry is not an option (as I have other clients other than BB devices).

    Please someone know how I can fix this or suggest a different way to go about this?

    I agree with previos answering machine. The problem you have is push RIM invented.  I'm not aware of a way around that. If you cannot use the pusher, then you will have to keep alive and if your app will suffer battery drain and possibly additional costs related to data traffic.

    Some people have used email instead of push as a wau to notify the application that there is something to it: this requires a listener e-mail in the application process and eliminate these notification emails.

    If you do not use a living message of keep, then I think this quesiton becomes useless:

    «How I even the difference between blackberry...» »

Maybe you are looking for

  • How can I sync 2 different libraries

    We have 1 account on 2 computers, my husband has a charge if music it has loaded disc, how can I sync his ipod. He wants only to reset her ipod and sync with my library?

  • Laptop HP 15: your PC encountered a problem and needs to restart

    DESPERATELY NEED HELPReceived a HP Notebook 15 Pc in February 2016.Search birthday gifts for husband last night, and when I return from additional research, I get a screen showing."Restart your PC on a problem and needs. We will provide for you."" If

  • Acer Switch 10 startet nicht mehr

    Hallo, ICH habe mich im Juli mit der Windows 10 Technical Preview auf meinem Switch SW5-012 10, herumgespielt und auch done're zu installieren. Leider kam nach Installation von updates und einem Neustart andauernd eine message "Ihr PC wird uberpruft

  • Try to remove the Apple of Program folder files, message-authorization required

    I am trying to remove the back of Apple's Program files common files for I hope you install iTunes.  I got the message: the authorization is required.  I am registered as an administrator so don't know why I can't delete the folder.

  • 'undefined' is not an object ("new blackberry.pim.contacts" evaluation)

    Hi, I'm working on the PIM contact. I did the CPO. That works well, but when I put implement this code in my project, I am getting following error TypeError: 'undefined' is not an object ("new blackberry.pim.contacts" evaluation) He comes tofindOptio