Listener for notification/clock without running the application

We wanted to implement application of traction which runs every hour or so to check the main server for new data and update a local SQLLite database.

Instead of background application that runs all the time, we were wondering if there a way to plan the such task such as our custom event listener/application launched / will periodically call a Blackberry? When the listener is started, all it has to do is check for data and output backend.

It is more or less similar to Windows at the special request or cron job.

Thank you

You don't have to call it recursively to all.

Here are the steps:

1. your application is launched with a specific argument of your choice.

2. in the main method you are looking for this argument and run your login code.

3. after the application is completed, schedule it to run again in an hour, or whatever time you want to.

4 complete the application.

This process is a recursive process.

And of course, it's better than running your application when it is not needed.

Tags: BlackBerry Developers

Similar Questions

  • I bought Illustrator for a month, but when you try to run the application, it asks me to 'renew subscription '. I have tried reloading illustrator twice and reloaded CreativeCloud but it still does not work. What else can I try? I immediately need to HAVE

    I bought Illustrator for a month, but when you try to run the application, it asks me to 'renew subscription '. I have tried reloading illustrator twice and reloaded CreativeCloud but it still does not work. What else can I try? I need immediately GOT to work

    Log, activation, or connection errors. CS5.5 and later versions

    Mylenium

  • Installation of El Capitan problem: "an error occurred during the preparation of the installation. Try running the application again. »

    I've been a fight 2 days now trying to improve my iMac 21.5 2009 end of Mavericks in El Capitan, but as the installation is about to be launched I get this message "an error occurred during the preparation of the installation. Try running the application again".

    Here is a list of all the things I've tried:

    Running the application again;

    Move the installation to another folder application;

    Control date & time and it was already correct;

    Do the installation in safe mode;

    Installation of the upgrade of another user I created only for that purpose;

    The computer restarts and I tried install the upgrade several times;

    And, to be sure that the installation application was not corrupted I made a copy of it on an external HD and tried to install it on my 2011 MacBook Air and it worked (I didn't install because I have El Capitan installed on my MacBook).

    Well, I don't know what else can be done, and I'd rather not have to completely restore my iMac.

    Please try installing again after taking each of these steps you have already taken it.

    Step 1

    Reset the PRAM from your computer.

    Step 2

    If possible, set the clock system as indicated here. If you can only boot into recovery mode, see below.

    In the OS X Utilities screen, select get online help. Safari will launch. While in recovery, you will have no access to your bookmarks or history. Load this web page.

    Triple-click anywhere in the line below to select:

    date 0801000014

    Copy the selected text in the Clipboard by pressing Control-C key combination.

    Quit Safari. You go back to the OS X Utilities screen.

    Select

    Utilities ▹ Terminal

    in the menu bar. It will open a Terminal window. Paste in the window by pressing the command-V key combination.

    Wait for a new line ending with a dollar sign ($) below what you entered. If it does not appear, press return.

    Quit the Terminal to return to the main screen.

    Step 3

    If your model has replaceable memory by the user and you have upgraded modules of memory, reinstall the original memory and see if there is any improvement. Make sure not to touch the Gold contacts. Clean them with a mild solvent such as rubbing alcohol. Spare memory must exactly match the technical specifications of the machine. Do not install more memory to the maximum value specified, even if a seller of RAM, or someone else, said you that it will work.

    Step 4

    Back up the data at least two different storage devices, if you haven't done so already. A backup is not enough to be sure. Backups are possible with Time Machine or disk utility. Preferably both.

    Erase and install OS X. This operation will destroy all the data on the boot volume, if you be better be sure backups.

  • Run the application with the admin rights

    Hello

    I am a network administrator and I have problems with an external application. While running the application does not require local administrator rights, the software does an automatic updates check when it is launched. There are updates once a week. If the application is launched without administrator rights, the software does not check. Our users do not have local administrator rights. The result is that the application gets overwhelmed and an administrator needs to log in order to to refresh.

    Here are the solutions I've tried so far:

    1. I ran the application using the command runas , which works, but is not practical as an administrator will have to provide the password every time.

    2. change the compatibility of the application to 'RUN as administrator'. I have disabled UAC to make this work, but the user must always supply a password. I could create a locked user who cannot log on to any machine, etc, etc, but this seems like a stupid solution. I might as well give all admin rights.

    3 to research more, I tried to use RunAsSpc (http://www.robotronic.de/runasspcEn.html). This seems to work well and did exactly what I'm looking for, but created two issues: no drives mapped and an access violation when printing that I won't have to worry about troubleshooting.

    I had to give all users local administrator rights until I have a solution. Is it possible to allow the application to do its updates without granting full administrator rights to the entire system? Any recommendations?

    Yes, let the program provider to build their program cleverly.  It is not going to be a solution to this.

    Otherwise, you will need to just have someone who has admin rights not login once a week and install the necessary updates.  A bit like Microsoft Office Update (requires an administrator to do so).

  • Close the last tab without closing the application firefox

    Greetings!

    1.i would like to close the last tab without closing the application. The behavior I expect is the application to open a new empty tab when I close the last tab currently I can't close the last tab which already has some open site in it.

    2. when I open a new tab, I have to enter a Web site address. I expect the app to just open a new empty tab and let him to enter an address or not for me.

    Thank you for your support. I love firefox for Android.

    It is being developed and will be changed to allow the closure of the last tab in Firefox 18 or 19.

  • BB10 sdk 10.0.9.1673 problem, run the application on the device

    I am facing problem by running the application on BB 10 alpha dev device after the installation of the SDK gold BB10
    question is attached to this post please suggest a possible solution for this problem

    updated the SDK, 1673 is not the last. You should be able to do it using the menu Momentics.

  • cannot save files to certain folders to D: drive unless I run the application as an administrator

    I log in as an administrator, and yet I need to run applications like office word, Notepad and other similar applications. I think it takes a lot of time especially when I'm in a hurry and forgot run the application as administrator... How can it be resolved?

    You must set the correct access permissions for these folders - see here:

    http://social.answers.Microsoft.com/forums/en-us/w7network/thread/24bdf172-2DBC-43b8-995d-a99b6a81413c/
  • Install the ear of Console - cannot run the application.

    JDeveloper 12 c 32bits.

    I'm checking my ear is produced correctly by deploying the console of weblogic (which is really just the integrated environment).

    The installation says it works great... but I can't launch the web page by using the same URL I used the deployment of Jdeveloper.

    I was capable of that test applications with little (with security). But the Application that I just spent a month of work on is a failure!

    Some features:

    The ADF security is on.  I have an application role, two users, and set up a same business role.

    users are granted to the role of the company.

    The role of the App is given to the role of the company

    Each workflow task and web pages are granted to the role of an application.

    WebLogic is configured with users and the role (which both correspond to users and the enterpise role in the security of the adf).

    The screen 'set up the Security deployment.

    Checked the weblogic application update. XML with the following parameters

    Application enabled policies

    Uncehcked credentials

    Groups and users not controlled

    Unchecked Auto generate and synchronize Weblogic JDBC descriptors during deployment

    Can I deploy on Jdeveloper to Weblogic Server the Integrated and it works.

    Connect the output: I get this when deploying Jdeveloper (it works) and when I install the ear to Weblogic (installation works, but I can not run the application).

    < 25 November 2015 14:54:52 this > < WARNING > < Application customer > < BEA-2162200 > < no hand-class defined in the Java Module manifest file: empty.jar. This module will be treated as a utility JAR and subsequent initialization steps will be skipped. >

    < 25 November 2015 14:54:55 this > < WARNING > < oracle.jps.credstore > < JPS-01033 > < cannot set credentials. The oracle.security.jps.service.credstore.CredentialAlreadyExistsException pattern: JPS-01007: identification with the card AISMainMenu-4131 and anonymous #ERPD key information already existing... >

    < 25 November 2015 14:54:55 this > < WARNING > < oracle.jps.upgrade > < JPS-06003 > < cannot migrate the information to key/identification of the AISMainMenu-4131/anonymous file #ERPD. The oracle.security.jps.service.credstore.CredentialAlreadyExistsException pattern: JPS-01007: identification with the card AISMainMenu-4131 and anonymous #ERPD key information already existing... >

    < 25 November 2015 14:54:57 this > < WARNING > < HTTP > < BEA-101384 > < WLServlet annotation is deprecated, use instead servlet 3.0 annotation. App:AISMainMenu@AISMenu, Class: oracle.adfinternal.view.faces.activedata.AdsServlet >

    I can deploy from Jdeveloper, but if I have a deployment on the built-in console (an ear file) of weblogic server, I can not run the application.

    I get the wrong URL?  It should be the same as the deployment of Jdeveloper on the integrated server.

    Thank you

    Stuart

    This is the error


    Error 404 - not found

    Of RFC 2068 Hypertext Transfer Protocol - HTTP/1.1:

    10.4.5 404 not found

    Server not found anything matching the request URI. No indication is given whether the condition is temporary or permanent.

    If the server does not wish to make this information available to the client, the status code 403 (refused) can be used instead. The 410 (Gone) status code SHOULD be used if the server knows, through a configurable mechanism, that an old resource is permanently unavailable and has no forwarding address

    Timo, Dario,

    I finally got to work.  I fiddled around so much with her, I don't know exactly what fixed - or a combination of two settings.

    Thank you very much for your help!

    Stuart

  • Whenever I run the application LR CC, it crashes. The spinning wheel of death appears and I have to force quit. What is going on?

    Whenever I run the application LR CC, it crashes. The spinning wheel of death appears and I have to force quit. What is going on?

    Kristina,

    I wonder if you can encounter the same problem I am. The same thing happens to me, however, rather than force quit Lightroom, I let stand for about 5 minutes and then everything seems to work. Are you using 2015.4? If so, you could try to roll back to 2015.3, which is what I've done Adobe sinus support could not solve my problem. You can also try to create another user account and open Lightroom. The problem is gone then, and this is the point at which Adobe support said it was an OS X problem and not a problem of Adobe.

  • When we try to install all applications on the Cloud Office it crashes at 90%. If we run the application it works. If we try to update the application from the desktop cloud it hangs at 50%. We have already reconfigured MAC and re-installed the

    When we try to install all applications on the Cloud Office it crashes at 90%. If we run the application it works. If we try to update the application from the desktop cloud it hangs at 50%. We have already reconfigured MAC and re-installed the application of desktop application and cloud several times. The OS is Yosemite.

    Hello

    Please, try the following steps:

    • Log out of the desktop Adobe CC application. (https://helpx.adobe.com/creative-cloud/help/sign-in-out-activate-apps.html)
    • Set the "Read and write" permissions on the files of Adobe for all users in the following locations:
      • / Library/Application Support /.
      • /Users/ [user name] / Library/Application Support /.
    • Restart the computer.
    • Connect to the desktop Adobe CC application.

    Kind regards

    Sheena

  • InDesign cs6 still not compatible with the iMac 5K, his frustration that adobe is not fixing this issue! Perhaps a strategy to move to Adobe CC? I have urgent need to know how can I run the application correctly.

    InDesign cs6 still not compatible with the iMac 5K, his frustration that adobe is not fixing this issue! Perhaps a strategy to move to Adobe CC? I have urgent need to know how can I run the application correctly.

    It will never be updated for InDesign CS6. This has been discussed to death. Adobe updated the CS6 applications that she could update. Illustrator and Photoshop come to mind, so your conspiracy theory is incorrect.

    InDesign should be re-written from scratch due to the difference in the way it was designed.

    Your choice is to live with it or move to creative cloud.

  • ORA-00942 when you run the application after import

    APEX 4.1.1

    Hello

    I transferred my request via import/export to our production database. I had no errors during installation, but when I run the application, I get the following error message.
    User not found
    ORA-00942: table or view does not exist
    
    Technical Info (only visible for developers)
    
        is_internal_error: true
        ora_sqlcode: -942
        ora_sqlerrm: ORA-00942: table or view does not exist
        component.type: APEX_APPLICATION_COMPUTATIONS
        component.id: 3102806535980644
        component.name: LANG
        error_backtrace:
    
        ORA-06512: at "SYS.DBMS_SYS_SQL", line 1325
        ORA-06512: at "SYS.WWV_DBMS_SQL", line 1287
        ORA-06512: at "SYS.WWV_DBMS_SQL", line 1358
        ORA-06512: at "SYS.WWV_DBMS_SQL", line 1375
        ORA-06512: at "APEX_040100.WWV_FLOW_DYNAMIC_EXEC", line 776
        ORA-06512: at "APEX_040100.WWV_FLOW", line 4155
    I don't know, where to look for the error. I do not have an application element with the name of LANG and there is a calculation application for LANG:
    SELECT  LANG_CODE
    FROM    GPS_WEB_USERS
    WHERE user_name = upper('&APP_USER.')
    All advice where to look?

    Published by: Anne-Marie Rosa on August 16, 2012 05:37

    Published by: Anne-Marie Rosa 16 August 2012 06:32

    Hello
    >
    I transferred my request via import/export to our production database. I had no errors during installation, but when I run the application, I get the following error message.

    User not found
    ORA-00942: table or view does not exist
    
    Technical Info (only visible for developers)
    
    is_internal_error: true
    ora_sqlcode: -942
    ora_sqlerrm: ORA-00942: table or view does not exist
    component.type: APEX_APPLICATION_COMPUTATIONS
    component.id: 3102806535980644
    component.name: LANG
    error_backtrace:
    
    ORA-06512: at "SYS.DBMS_SYS_SQL", line 1325
    ORA-06512: at "SYS.WWV_DBMS_SQL", line 1287
    ORA-06512: at "SYS.WWV_DBMS_SQL", line 1358
    ORA-06512: at "SYS.WWV_DBMS_SQL", line 1375
    ORA-06512: at "APEX_040100.WWV_FLOW_DYNAMIC_EXEC", line 776
    ORA-06512: at "APEX_040100.WWV_FLOW", line 4155
    

    I don't know, where to look for the error. I do not have an application element with the name of LANG and there is a calculation application for LANG:

    SELECT LANG_CODE
    FROM GPS_WEB_USERS
    WHERE user_name = upper('&APP_USER.')
    

    The source of the error is ora_sqlerrm: ORA-00942: table or view does not exist

    Search for the name of the calculation Application in APEX_APPLICATION_COMPUTATIONS APEX view using component.id: 3102806535980644 to find his name.

    Once you have the name, you can change this App mockup and understand what Table/view is not available.

    See you soon,.

    PS: {code} is the tag, which is tiny.

    Published by: Dominique 16 August 2012 18:01

  • Modify business rules without redeploying the application

    Hi all

    When you use a 'Business Rules' with a BPMN process, we can change the rules of trade without redoploying the application using composer of BPM. I would like to know if it is possible to do the same thing when we use a business with a BPEL process rules.

    Thanks in advance for your answer

    Use soa composer http://docs.oracle.com/cd/E15523_01/integration.1111/e10228/rtdt.htm

  • Cannot run the application, appdata not available

    I can't run the applications that I install. He tells me %APPDATA%\microsoft\windows\sendto cannot be accesed

    Hello

    1. Since when are you facing this problem?
    2. You did any recent changes?
    3. Have you been able to run the same applications before?

    I you suggest trying to run the program as administrator and check if this can help, right-click on the program and click Run as administrator.

    You can also try to perform the clean boot and check if it helps:
    http://support.Microsoft.com/kb/929135

    NOTE: When you are finished troubleshooting, make sure that restore you the computer mode normal startup such as suggested in step 7 of the above article.

    It will be useful.

  • Can any can give Live or online app Development on QNX IDE support and setting the goal as device Bb10. run the application etc?

    Can any can give Live or online app Development on QNX IDE support and setting the goal as device Bb10. run the application etc?

    The best way is to start basic: https://developer.blackberry.com/cascades/documentation/getting_started/index.html

Maybe you are looking for

  • Satellite Pro A210 - error recovery after a new installation of HARD drive

    Hello I have a satellite pro 210 (bios v1.6) has died the HARD drive. I bought a new WD Scorpio Blue 250 GB HARD drive and ran the reinstall drive (I've done exactly this for a friends Equium a month or so back and all worked flawlessy!) Everything w

  • Opening 3.6 will not install on the App Store

    I have Aperture 3.4.5 installed on my iMac.  I recently updated my OS from the Lion to El Capitan.  Now opening will not run and the App Store says a 3.6 update is available.  When I try to update for the opening of the App Store, it prompt you first

  • Webcam Chicony USB 2.0 & Satellite L300D-11V

    Hello I just installed Windows 7 Professional in my laptop Toshiba Satellite L300D-11V.Everything is reported as working in the Device Manager, but the driver of the webcam Chicony does not start. Windows automatically installs the drivers, v.6.1.760

  • Difficulty with webDAV to transfer files to RT

    Hello, I'm following the article "use of WebDAV to transfer files to your target in real time.  I traced the target (sbRIO9637) as a network drive and I can explore the files in WIndows.  I put a non-empty password on the target.  However when I run

  • Cannot restore my gamer tag

    I used my email former members of the family, now I can't recover my gamer tag, I don't have the answer to my secret question, my first car, need help, I have been a member for four years gold and had account 8 years