Application does not error.

Hi, I use an Application class to:

1) begin to setlotationlistener and a thread.

first listener to read information given and send GPS via Web Service location

and second thread to connect to the server via WS too, to get some information.

(2) recording mainApp in sleep do:.

While ((t1! = null & t1.isAlive ()) |) ((t2! = null & t2.isAlive ())) {

Thread.Sleep(30*60000);

}

(t1 is always null in this scenario)

and then (3)

If (! mainApp.isHandlingEvents ())

mainApp.enterEventDispatcher ();

(Threads some write log to a file)

 

After awhile the app breaks with "the application is not responding... process is completed."

I don't know where to find the lock or where app is unresponsive...

Help!

Thank you.

The StartGPSTracking() function is called on the thread of the event. After starting tSettings, enter a loop where you wait 30 minutes. This blocks the event thread, which is causing your problem.

I did not work in your logic to see why you need to sleep here, but you will need to remove it.

Tags: BlackBerry Developers

Similar Questions

  • Get error "this application does not work without Google play services"...!

    Hello

    I use google maps in my application and be able to install the apk from file in the BB device. But after installation when launching the application, I get an error "this application does not work without Google play services.

    How can I get google game services to the BlackBerry device.

    Kind regards

    NGO.

    The BlackBerry Runtime for Android applications does not support Google Maps (or Google Services play). If your application uses Google Maps, there are two ways that you can support mapping in your application. One option is to replace the library card theGoogle with a WebView that integrates the web version of Google Maps.

    For more information on this process, see using a WebView to view Google Maps.

    Another option is to replace Google Maps with OpenStreetMap, which is a free card all over the world.

    For more information on this process, see Replace Google Maps with OpenStreetMap.

  • To run all the applications of the laptop or install download applications works does not error message indicating that the application is not valid "win32.exe or win32.application.

    To run all the applications of the laptop or install download applications works does not error message indicating that the application is not valid "win32.exe or win32.application.

    Hello m.velentino,

    Not sure if you are still having the error message isn't valid win32.applicaiton.

    Get the error: not a valid 32-bit application can have several origins:
    I have listed some of them below.

    The file is corrupted, bad or missing.
    -If the hard disk is damaged or hurt it cause work programs to fail, either because not all data can be read from the hard drive the program is damaged on the drive. Run scandisk and defrag on the hard disk to check for potential errors.
    -If you run the program from a shortcut on the computer, verify that the program is still on the computer. In some cases if the program is no longer installed on the computer, you can get this error.

    File is not designed for your version of Windows:
    -If you try to run a program that is not designed for your version of Windows, you can get this error.
    -Although many old programs designed to work in older versions of Windows will work with new versions of Windows, unfortunately, not all programs will not work.
    -If the program is an MS-DOS program more former start program or Windows, you can get this error.
    -If the program is designed for a 64-bit version of Windows and you are running in a 32-bit version of Windows, it will not work and generate this error.

    File is a virus, worm or other malicious program file.
    -
    This error can be generated by a file that is a virus, worm, Trojan horse or other type of malware file. Often, this will result because the antivirus installed on the computer will not allow the file to install or run. Try to analyze the file to check, it is not a virus or infected.
    -If the file has been checked and is clean, it is always possible that the virus protection program or a another program installed on the computer is at the origin of questions during installation or execution of the program. Start the computer in Mode safe and try to run the program. start the computer in Mode safe will be that nothing is running in the background that could cause this problem.

    Hardware incompatibility.

    -If you get this error during the installation of a program, it is also possible that the CD-ROM drive or the drive that you are installing the program from is not compatible with Windows or has drivers that are not compatible with Windows.
    -Download the latest drivers for your CD player or other of the manufacturer of the computer or the manufacturer of the equipment. (Microsoft does not pilot for other materials)

    Let us know if these suggestions help you.

    Marilyn

  • I get this error every time I open LR, "Lightroom encountered and error during playback of sound preview cache and need to stop smoking" and the application does not open. He said LR would try and correct this error the next time I opened it, but the erro

    I get this error every time I open LR, "Lightroom encountered and error during playback of sound preview cache and need to stop smoking" and the application does not open. He said LR would try and correct this error the next time I opened it, but the error remains. I tried uninstalled and installed the application and the error remains. I use Windows 8.

    Manually delete the cache of the preview of your user folder.

    Mylenium

  • Could not open install Assistant.  I get this error message: cannot install the application due to a certificate problem.  The certificate does not match the certificate of the installed application, does not support upgrades of the application or is not

    How do I download a trial of 12 items, Adobe?

    I followed the instructions to download assistant... but get this message: the application cannot be installed because of a certificate problem.  The certificate does not match the certificate of the installed application, does not support upgrades of the application or is not valid.  Please contact the author of the application.

    Hi alposer,

    Please delete the copy of Adobe Download Assistant you have installed, and then reinstall Adobe Download Assistant.

    Kind regards

    Rave

  • Oracle.adfmf.application does not exist

    Hello

    I installed the 5.1.1 Android and the API level 22.    on my 32-bit Windows 7 platform.

    I have installed and configured the JDeveloper12.1.3 and developed the Appplication of base according to the Oracle JDeveloper 12 c (12.1.3) tutorials - Setting Up Mobile Application Framework

    Now when I try to compile the project, I get the error below.


    I use the JAVA8.  and I put this JDK paths at the project level in libraries and Classpath

    Error (43): error: cannot find symbolLifeCycleListenerImpl.javaC:\JDeveloper\mywork\MyMobileApp\ApplicationController\src\applicationApplicationController.jpr
    Error (3): error: package oracle.adfmf.application does not existLifeCycleListenerImpl.javaC:\JDeveloper\mywork\MyMobileApp\ApplicationController\src\applicationApplicationController.jpr

    Its clear that the import oracle.adfmf.application.LifeCycleListener;    is a failure. 

    I've added all the mobile libraries to classpath in the JDeveloper, yet the compilation is put down.

    Which library, I need to add to the classpath to resolve this problem?

    Quick help is appreciated.

    -Khaleel

    Hi Shay,

    Thanks for the details. He has solved after I replaced my JDK 1.8.0 with 1.8.0_45 and remove the JDK1.7 from my system.  Now, the project has got compiled successfully without any errors.

    However

    Concerning

    Khaleel

  • The application cannot be installed because of a certificate problem.  The certificate does not match the certificate of the installed application, does not support upgrades of the application or is not valid.  Please contact the application author.

    The application cannot be installed because of a certificate problem.  The certificate does not match the certificate of the installed application, does not support upgrades of the application or is not valid.  Please contact the application author.

    That's what I have I am trying to download adobe programs

    which is not a download error unless you use some sort of download manager/assistant that is also trying to install.  do you have a download manager/assistant?

    or is it an error of installation and, if so, what type of program (name and version) are you trying to install?

  • Rejected... We found that your application does not follow guidelines iOS of data storage,

    Where and how can I fix it?

    We found that your application does not follow the guidelines data storage iOS , which is required by the App Store Review Guidelines .


    In particular, we found that of the launch or download content, your application stores 3.54 MB. To check the amount of data is to store your application:


    -Install and run your application

    -Go to settings > iCloud > storage and backup > storage management

    -If necessary, press "view all applications.

    -Control the storage of your application


    The iOS data storage guidelines that only content that the user creates using your application, for example, documents, new files, changes, etc., must be backed up by iCloud.


    Temporary files used by your application must only be stored in the directory/tmp. don't forget to delete the files stored in this location when the user quits the application.

    Data that can be re-created, but must persist for proper functioning of your app - or because customers expect it to be available for offline use - must be marked with the "do not back upward" attribute. For NSURL objects, add the NSURLIsExcludedFromBackupKey attribute to prevent the backup of the file. For CFURLRef objects, use the kCFURLIsExcludedFromBackupKey attribute.

    You submit an application kiosk, right? This error is still under investigation, but the current solution is to create SD (1024 x 768/768 x 1024) coverage of the images for your renderings folio HD (2048 x 1536) and try again.

    More info here:

    http://forums.Adobe.com/message/4730637#4730637

  • ADF application does not work.

    Hello

    I create an application of ADF using Jdeveloper 11 g. It works very well if it is running on the default server.
    I have create a weblogic domain in weblogic 11g. Then I deploy this application in this area. The deployment is successful.
    However, the application does not work. After the login page, it shows a blank page and stop there.

    I paste the error in the log.

    avax.faces.FacesException: oracle.adf.controller.ControllerException: ADFC-10001
    oracle.jbo.DMLException: Houston-26061
    java.sql.SQLException: ORA-01005: password null; connection refused

    Check step 23 here:
    http://radalcove.com/blog/?p=34

  • Some applications does not respond after sleep (El Capitan)

    Product: 13 '' Macbook Pro retina (12.1) (base model sheet)

    El Capitan Version: 10.11.6

    The problem:

    When I connect after that my Macbook went down, I often have problems with some of the stock apps. In particular, I had this problem with the Mail Messages, reminders and calendar. This seems to be a problem when they are open before putting the macbook to sleep. This same problem happened with non-apple-stock applications.

    Once logged in, if I click on the application icon, the application window will come into focus. After that, I'm unable to use the application (as if frozen) and I often just see the spinning Rainbow mouse icon.

    Can I force quit the app and then open it again, but now the application does not load.

    To solve the problem, I can restart the macbook and all is well.

    Some others probably associated with funny things I saw (only attracted to this once... but did not look at one time or another):

    I open the calendar application after the macbook was sleeping and my full general calendar was empty (which would be nice if it were true!). In any case, I checked the 'accounts' and also found that there was no accounts! (I have 3 goes). So I wonder if there is a problem with the accounts after sleep since these apps I've had problems with all iCloud account and mail also uses some other accounts.

    Big Question: Is there something I can do to make that happen?

    Thank you very much for your help! Sorry if this is a double post, it is difficult to find an answer via google search.

    Start Safe Mode removes the system caches that can help...

    Follow these steps to start in safe mode.

    1. Start or restart your Mac.
    2. As soon as you hear the startup tone, hold down the SHIFT key.
    3. Release the SHIFT key when you see the logo Apple appears on the screen.

    After the Apple logo appears, this may take longer than usual to reach the login screen or your office. This is because your Mac performs a check of directory of your drive to boot in safe mode.

    To leave safe mode, restart your computer without pressing any keys during startup.

    Then try to Message, Mail, etc.

    If you still have problems, check the startup disk.

    Launch the disk utility located in/Applications/Utilities

    Then select the disk to boot on the left and then select the first aid tab and then click run.

  • the iTunes Setup program finishes, but the application does not appear

    For starters, I'm on Windows, but it seems that the system is not the problem because it's happened before, with my Macbook Air.

    I download iTunes on Apple's site and Setup will run as usual and finishes. But iTunes never displayed in Program Files, the destination he was supposed to have downloaded. I opened the Task Manager and tried to manually run the program yourself by using 'itunes.exe', but he writes that the application does not exist.

    For general advice, see troubleshooting problems with iTunes for Windows updates.

    The steps described in the second case are a guide to remove everything related to iTunes and then rebuild what is often a good starting point, unless the symptoms indicate a more specific approach.

    Review the other boxes and other support documents list to the bottom of the page, in case one of them applies.

    The more information box has direct links with the current and recent if you have problems to download, must revert to an older version or want to try the version of iTunes for Windows (64-bit - for older video cards) as a workaround for problems with installation or operation, or compatibility with third-party software.

    Backups of your library and device should be affected by these measures but there are links to backup and recovery advice there.

    TT2

  • The FireFox 42.0.1 application does not start.

    The FireFox 42.0.1 application does not start. I can uninstall and reload FireFox 37.0.2 and that worked, but now when I load 37.0.1 it installs really 42.0.1 that no longer works.
    I had to use IE 10 to contact Mozilla.
    Year annual should be ashamed of this...
    Can you tell me why Mozilla FireFox 42.0.1 installs but won't work?
    In addition, why FireFox 42.0.1 install when I try to install 37.0.2?

    It is possible that your firewall or other security software blocks or limit Firefox or plugin-container process without informing you, possibly after the detection of changes (update) for the Firefox program.

    Delete all rules for Firefox and the plugin-container in the permissions list in the firewall and allow your firewall to ask permission to get access full and unrestricted, again to install for Firefox and the plugin-container and the update process.

    See:

  • How can I cancel a subscription and get a refund? An application does not work, the "assistance of the developer page" link provided by itunes is broken.

    How can I cancel a subscription and get a refund?

    An application does not work, the "assistance of the developer page" link provided by itunes is broken, and email provided by the application developer's sole means of support, but no response in 3 weeks to multiple addresses.

    The page you posted has since how to stop an auto-renewal subscription to renew again (see, change, or cancel your subscription - Apple Support).

    To contact iTunes support try http://reportaproblem.apple.co or https://www.apple.com/emea/support/itunes/contact.html

  • On my old iPod Touch (4th generation), the music application does not open

    On my old iPod Touch (4th generation), the music application does not open. Everything will work as before. I suspect it has something to do with the position that the app was (in podcast lists) before the last sync. How can I get the app to open again?

    If you have not already, restart the iPod touch

    Restart your iPhone, iPad or iPod touch - Apple Support

  • mail application does not load

    The e-mail application does not load!

    I have iOS 9.2.1 iPad 2

    I deleted and reinstall my mailaccount but still no e-mail program loading

    I've done a re-boot and no luck

    Any suggestions?

    Thank you

    Hi AnitaCas

    It opens then close immediately?
    Try to leave all the apps: Double click on the Home button and the sliding of the application for each open application preview page

    then

    Force reboot: press and hold the sleep/wake and Home buttons and do not let go until the screen darkens and the Apple logo appears (no data is lost)

Maybe you are looking for