Headless service no longer works

Hi all!

I'm stuck with a problem since a few days, the part without head of my application is unbootable after the creation and execution of Momentics. I already have 3 versions of BlackBerry World works, so I know that the code was working previously. I have made small changes (a few lines) since the last release and now only the part of the user interface is running. I didn't mess with the bar - descriptor.xml lately, and everything seems ok to me.

My debugging token includes "sys_headless_nostop" and "sys_run_headless".

My application will not either above the limit of 3 MB.

I use the SDK 10.2.

I already check these threads, but they are not helping me so far:

http://supportforums.BlackBerry.com/T5/native-development/headless-app-won-t-start-on-reset/m-p/2720...

http://supportforums.BlackBerry.com/T5/native-development/recommended-way-to-check-if-headless-Modul...

http://supportforums.BlackBerry.com/T5/native-development/headless-sample-app-not-working/m-p/265291...

http://supportforums.BlackBerry.com/T5/native-development/headless-nostop-auto-start/m-p/2812640/HIG...

http://supportforums.BlackBerry.com/T5/native-development/unable-to-get-headless-apps-working/m-p/26...

Any help is appreciated.

Thank you!

Roger

bar - descriptor.xml



http://www.qnx.com/schemas/application/1.0">

    

    
    com.Alarm2Watch

    
    Alarm2Watch

    
    1.0.0

    
    5

    
    

    
    The Alarm2Watch application

    
    

    
    RogerLeblanc
 
    background.png
    splash720720.png
    splash7201280.png
    splash1280_768.png
    splash1280_720.png
 
    
        armle-v7
        Qnx/Elf

        Alarm2Watch
        Alarm2WatchService
    

    
        armle-v7
        Qnx/Cascades

        Alarm2Watch.so
        Alarm2WatchService
    

    
        armle-v7
        Qnx/Elf

        Alarm2Watch
        Alarm2WatchService
    

    
        x86
        Qnx/Elf

        Alarm2Watch
        Alarm2WatchService
    

    
        Alarm2Watch
    

    
        Alarm2Watch Service
        Qnx/Elf
    

    
        application.headless
        Alarm2Watch Service
        Alarm2WatchService
        
            bb.action.system.STARTED
            application/vnd.blackberry.system.event.STARTED
            
        
        
            com.Alarm2WatchService.RESET
            *
            
        
    

    
        application
        Alarm2Watch
        
            icon.png
        
        Alarm2Watch
    

    
    

    
        true
        none
        false
    

    
    
  a2wlogo.png
  a2wlogo94_94.png
    

    icon.png
    assets

    
    
        
    
 a2wlogo.png
 a2wlogo94_94.png
 appCover.png
 background.png
 ic_bbm.png
 ic_email.png
 ic_info.png
 ic_play.png
 ic_stop.png
 ic_twitter.png
 splash1280_720.png
 splash1280_768.png
 splash720720.png
 splash7201280.png

    
    _sys_run_headless
    _sys_headless_nostop
    post_notification
 run_when_backgrounded
    
    

file Pro

APP_NAME = Alarm2Watch

LIBS += -lbb -lbbsystem
CONFIG += qt warn_on cascades10

include(config.pri)

applicationui.cpp

    bb::system::InvokeRequest request;
    request.setTarget("com.Alarm2WatchService");
    request.setAction("bb.action.system.STARTED");
    request.setMimeType("application/vnd.blackberry.system.event.STARTED");
    m_invokeManager->invoke(request);

Found the solution was in my code:

I deleted by mistake the constructor for a QFileSystemWatcher in part without a head, then the headless crashed as soon as I called addPath();

It is the line that has been deleted.

   m_settingsWatcher = new QFileSystemWatcher(this);

Thank you all!

Tags: BlackBerry Developers

Similar Questions

  • iPad Mini location Service no longer works

    Last month, I've updated my Mini iPad for iOS 7.1 to 9.3.2 just to play PokeGO (the first time after 2 1/2 years of use without updating my iPad). After the update, the location of Services/GPS works fine on Apple and Google Maps maps with no signs of problems, I could even enter the game PokeGO (even if the game is buggy mess from the start).

    But one day when 9.3.3 update went live, he always ask me to update my iPad, but when I tried to open all cards, the location of GPS and Services no longer works. I tried to reset the router, turning the deactivation/activation of location Services, and then reset network settings and location on my iPad, but still not solved.

    And just recently I've updated my iPad to 9.3.4 because my theory is that the location/GPS will not work without having to install the last update, but I gave up that my iPad is already bricked because the location Services and applications required GPS are now rendered useless.

    Your iPad mini is a cell with GPS model if it is not the case, your location is only estimated from IP addresses and WiFi. That said, you should check the settings for applications, in order to ensure that access to the site is enabled. And if this is the case, turn it and turn it back on for each of them. You did such a big jump in versions of iOS it is difficult to know what security changes have been made. You should probably reconsider all your settings, as if it were a new configuration. Also, make sure that your applications are all updated.

  • Location (GPS) service no longer works after update of Os 9.3.2

    My GPS service does not work after update os on IPHONE 6 64 GB. Deleted, hard reboot as well os re - load os, I did, but still unresolved question and google Mao or Apple card does not. It seems that many Iphone user have the same problem after the Os update to 9.3.2.

    My wife also have the same model and updated to Os, but its Google map works perfectly. have online search of dome on the solution, but no luck.

    How to solve this problem?

    Hello, jayantg,

    Thank you for using communities of Apple Support.

    I see that your GPS service stopped working after the update to iOS 9.3.2. I use location Services on my iPhone, so I know how much it is important that we get this problem is solved. I have something I want you to try.

    Job to the subject of privacy and location Servicesand ensure that the location service is enabled and learn how the precision of GPS to improve, in particular, these two sections:

    Enable or disable location Services

    You can enable or disable location Services in settings > privacy > location Services. You can enable location-based Services during the wizard process of installation or later through the creation of location-based Services. You can individually control applications and system services have access to the data of location Services. When location Services are disabled, the apps can't use your position in the foreground or background. You will thus limit the performance of various Apple and third-party applications.

    Settings > privacy > location Services.

    Settings > privacy > location Services > System Services.

    Improve the accuracy of GPS

    GPS accuracy varies according to the number of visible GPS satellites. Location of all visible satellites can take several minutes, with accuracy gradually increasing over time. Follow these tips to improve the accuracy of the GPS:

    • Make sure that you set the date, time and timezone correctly on the device in settings > general > Date & time. If possible, use the value automatically.
      Important: Incorrect settings on your computer can sync to your device. Check the date, time and time zone on a computer that syncs with your device.
    • Restart your device.
    • Make sure you have a cell phone or Wi - Fi network connection. This allows assisted GPS (A - GPS) on the device to locate the fastest visible GPS satellites, in addition to providing information about the initial location using Wi - Fi or cellular networks.
      Microcells (sometimes called Femtocells) are not supported with location Services.
    • Keep a clear view of the horizon in several directions. Please keep in mind that walls, vehicle roofs, tall buildings, mountains and other obstacles can block the line of sight to GPS satellites. When this occurs, your device will automatically use a Wi - Fi or cellular networks to determine your position until the GPS satellites are still visible.

    All the best.

  • Cannot find missing plugin, online banking services no longer works

    As of May 29, 2013, can no longer use Barclays banking by Internet on Firefox. I visit http://www.barclayscorporate.com/bit/ , then click on Login (Business Internet banking), to get to
    https://ibank1.bib.Barclays.com/logon/
    If I then click to connect, I get a message "additional Plugins are required to run all the media on this page.
    By clicking on "Install missing plugins" find no lack.,.
    I have updated Windows, checked manually in Firefox missing plugin, restarted, cleared cache and cookies, verified that Cookies are enabled, etc..
    I use a card reader to access the Internet banking services.
    Currently, the result is that I have to use IE for Internet banking

    Hello, in case the plugin disappeared after you have updated firefox to version 21 please try this: enter Subject: config in the bar firefox address (confirm the message information where it appears) & search for the preference named plugins.load_appdir_plugins. Double-click it and change its value to true (a restart of the browser may be needed later for the change to take effect).

    some information on the issue are explained in http://www.ghacks.net/2013/05/15/why-you-may-have-lost-access-to-plugins-or-extensions-in-firefox-21/

  • I bought a few years ago a Creative Suite Design Premium and when I want to record my serial number, your services say that the number is not valid. I am surprised because I have used it before on a PC computer that no longer works. I change my computer

    I bought a few years ago a Creative Suite Design Premium and when I want to record my serial number, your services say that the number is not valid. I am surprised because I have used it before on a PC computer that no longer works. I change my computer with a Mac.  You can check the number you customer service gave me, L. Fernandes: < num series kglad deleted >. I give you my phone number in Paris: < phone number deleted - kglad >. Best account. Chantal

    http://helpx.Adobe.com/Creative-Suite/KB/error-serial-number-valid-product.html

    p.s. This is a public forum.  the display of your phone number is a bad idea and display your serial number will get it banned (or used by someone else and will not you).

  • Toshiba Service Station no longer works

    If someone could help would be appreciated.

    Did an update to windows 7 with no problems it a few months ago. Now when I start to get error message: Toshiba Service Station to working order.

    I uninstalled and reinstalled the file several times and re-uploaded the file but the same error after installation. Is there a patch somewhere for this, or a new version?

    All that you have done is just and of course, there is a problem with Win7.
    Toshiba release new version soon.

    What model of laptop do you have?

  • After the FireFox 16.0.1 in Windows Update, the address bar no longer works, as well as the search bar, but not immediately. Reinstalling does not fix it.

    Initially, I downloaded an AOL optimized version, but when the problem came I reinstalled the regular version and it was fine. Two days ago, it restarts randomly. Address bar won't go anywhere with entry or press the arrow and the search bar does any search engine. Try adding a search engine by clicking on "manage search engines" doesn't help; the 'Add a search engine' button is unresponsive and there is not in the list of your choice. I uninstalled everything, including my customizations and settings personal and reinstalled, which did not always help. I tried to disable all plugins and that no longer works. I even tried the search by looking for FireFox homepage, since at this time there, it was the only page I could do and even who would not find. The most recent that I downloaded add-on was the Evernote Web Clipper I think, but it does not seem to coincide with the beginning of the problems.

    Update: I ran a malware (MalWareBytes) program and it came with nothing. I also found in FireFox to get troubleshooting information and added in. In addition, here is my list of plugin/extension:

    Plugins:
    Foxit Reader Plugin for Mozilla 2.2.1.530
    Google Earth Plugin 6.2.0.5788
    Google 1.3.21.123 update
    Java Deployment Toolkit 7.0.90.5 10.9.2.5
    Java (TM) platform SE 7 U9 10.9.2.5
    Microsoft Office 2010 14.0.4761.1000
    Microsoft Office 2010 14.0.4730.1010
    Microsoft Windows Media Services 4.1.0.3917
    Shockwave Flash 11.4.402.287
    Silverlight Plugin 4.1.10329.0
    Windows Live Photo Gallery 14.0.8081.709

    Extensions:
    Avast! WebRep 7.0.1473

    Glad it worked. Thanks for posting back.

    You previously installed another version of Firefox and if it did not seem possible that one would contribute to a clean reinstall, but it is not a general solution that all users should be considered without first try simpler and safer alternatives.

  • Satellite S50t-B touch screen no longer works

    Hello

    My partner bought a S50t-B Satellite probably 5-6 months and everything worked perfectly, until she had a few updates to windows that has happened, and now the touch HID compatible drivers are apparently disabled in Device Manager?

    The touch screen no longer works, and I've pretty much exhausted all the options I could think.

    I tried to reinstall windows, apply all updates via the service center, I can't find the drivers for the touch screen on the support Web site downloads section and the bios etc is all to date.

    I was hoping someone could shed some light on how to proceed with this issue, since the main reason, she bought there the touch screen function.

    Thanks, Keegan

    Post edited by: keegz

    I don't have any idea what system you have installed, but if the laptop was equipped with touch screen, additional drivers for touchscreen are not necessary.
    If touch screen is working properly, the Windows (Win 8.1) should detect it automatically.

    What Satellite S50t-B-ooo do you excatly?
    From my point of few, the laptop must be set to settings factory just to check if its really a software related issue... so I wonder why you do not use HARD drive recovery or recovery media to restore the laptop to factory settings?

  • Equium L20-197 no longer works

    Can I invite you for a little help on this one.

    I received an Equium L20-197 that no longer works. Not having is not the chance to see never work I'm not sure on a number of things.

    It is totally dead, with the power supply connected there is no sign of life, no power, light nothing.

    I know there are a lot of things it could be.

    This is should it lights up while there is no battery connected, only the power supply plugged in?

    If she will be so at least I can pass a battery problem, yes the battery is perhaps still defective, but this would mean that the motherboard is probably us. If she must have a battery equipped, even a plate, then it could be the battery.

    Just try to work through step-by-step.

    Any help much appreciated.

    Hi mate,

    hehe, looks like a technician is here. :) It s a very good idea to do it step by step because every good techno acts like you. So I do, and it has helped me several times.

    Regarding your question: the battery must not be connected to start the machine, so if the machine start-up even won´t just with connected AC then you can be sure that there is a serious hardware problem.

    In this case, you can remove all (disk, CDROM, etc.) and try again. You can also share the adapter of the ca and the RAM. Thus, if the won´t still machine starts, then contact an ASP (Authorized Service Partner) and ask for a review of health/repair of equipment. It would be the last resort.

    Here´s a link to find the nearest ASP in your country:

    http://EU.computers.Toshiba-Europe.com/cgi-bin/ToshibaCSG/generic_content.jsp?service=EU&ID=ASP_SUPPORT

    Greetings and good luck

  • Satellite A350-212 - touchpad no longer works

    Hi all, I have some problems with my FN keys, my touchpad no longer works, in addition to this, when I press the FN key, I don't see any icon on the top of the screen... Two days ago, all this did not work properly... An error is given by the program called Tossiba assist, its written exactly this way: this system cannot use accessibility... Could you please help on this issue?
    My operating system is Windows vista 32-bit (service pack 1)

    Finally, sorry for my English if I make mistakes, it is not my mother tongue...

    Thanks in advance

    Try to restart flash cards.
    Start > all programs > Toshiba > utilities > restart Flash Cards

    After doing this press FN button several times to see if Flash Cards are still on the top of the screen.
    If you see Flash cards again use the FN + F9 key combination to activate the touch pad again.

  • Satellite M - PgUp PgDn, home and end keys no longer work

    All of a sudden these keys no longer work on the computer when I'm on the internet. They sometimes work in PDF files in Word, but otherwise, they do not work...

    Hello

    I agree with the user above. I think the keyboard needs to be replaced if certain keys n t work. The fact is that individual keys can t be bought, you can only buy the whole keyboard but it isn't so expensive.

    You can get a new keyboard to an authorized service provider. On the Toshiba page you can find a list where you can find an ASP.

  • Satellite A100-649: battery no longer works

    Hello

    I bought a Toshiba Satellite A100-649 in June 2006.
    Now, 3 months later, the battery no longer works.
    Toshiba Powersaver says it's 94% of the power,
    the LED shows that it is loading but it hangs just to 94%.

    Well, I don't care if he could not load 100%, but this is
    What makes me angry:

    If I don't have my power adapter plugged in, it does not work
    more. It does not start up or anything. Nothing works.
    No LEDs + flashing, nothing.

    Now what is that? I mean, this laptop is like 3 months
    and the battery is already broken. A laptop without battery work
    It's like a computer desktop-computer without a monitor or something.

    So, maybe somebody has experiences like that or any ideas what I could do
    (except the assistance of Toshiba or bring it back to the shop where)
    I bought it, that's what I've done - nothing so far, nor in the store
    (or Toshiba).

    Welcome,

    Codec

    Hello

    It seems that your battery has a malfunction.
    Generally, the warranty covers the battery for about a year. So in your case all repairs and replacement will be free.
    In your case, I recommend to contact Toshiba service partner in your country and explain the guys the situation.
    I m 100% sure they will help you.

    I don't know if service point will have the entire notebook or only the battery broken m.
    But these details you could discuss with the technician.

    Good luck

  • Satellite M70: Battery no longer works

    My brand-new satellite M70 battery no longer works. I haven't used the phone for about a week and when I tried to start it (on drums), he did nothing. The battery was still charged (63%) I need to connect the power adapter to make it work.

    During this time the battery LED is still orange. Battery is not charging, the battery remains at 63%. I tried to remove the battery for a while and put it in, but that does not change...

    How can I solve this problem?

    Hello

    Maybe the battery has a malfunction. It would be very interesting to know if this problem occurs after the replacement of the battery.
    According to your assignment the guarantee must be valid, that the battery replacement should be done for free.
    I recommend to contact Toshiba service partner in your country and seek help guys.

  • Satellite M30 - two keys no longer work

    I have a very frustrating problem with my keyboard M30-106. Two of the keys no longer work IE, the Enter key and the button 'to '. I lifted the Board to see if it needs cleaning, but apparently not. Can someone tell me what I need to do to fix this problem?

    Hello

    If these two buttons are certainly defective there is nothing to see. As you know the essential mechanism is very small and very delicate. As much as I know it's not possible to order the buttons separately, but in my opinion, you should contact the Service of your country partner and explain the problem. Maybe they have a solution outside keyboard replacement.

    Good bye

  • Sharing service does not work in Pages, Keynote, Numbers, Photos and calendar

    Among the interesting features that I used for a while is the ability for a large number of Apple applications, such as Pages, Numbers, Keynote, and Photos to share content using the "Send a copy" feature (Pages, Numbers, Keynote) or 'Share' (Photos). Unfortunately, these sharing services are no longer works for me in any application, and they have not been for several weeks.

    So what happens is, for example, when I'm in Pages and I select 'Share' icon in the menu bar and then "send a copy" and I select "Mail" (or all the options on the list besides), it gives me a dialogue window asking me the format I would like to share (Pages PDF file, Word Doc etc.). When I choose an option, a process that happens in the background that is supposed to send the file to Mail, open a new message, and then add the file as an attachment. However, in my case, the process seems to get stuck somewhere because the Mail opens not with a new message, but Pages continues to think that he is trying to send the file via mail because all options of sharing are grayed out. So that I can continue to work on the document, the sharing feature is no longer available and that I must leave the Pages and then relaunch the application. This same behavior happens in Numbers and Keynote trying to share a document, and this regardless of the application that I'm trying to share it with.

    This type of thing happens in the pictures when I select a photo and try and hand using Mail, except in the case of Photos, I can't continue to use the application and I need to force quit and raise in order to work again the application.

    Another note, which I think is related, is that when I get an email in Mail that has a calendar attachment (file here) and I double-click the attachment file, it will open the calendar but the new event may not be listed or available to add. I enter the information manually.

    In troubleshooting, I rebooted the computer several times and I have also checked my preferences, extensions and to my knowledge, I don't have any installed third-party extensions (there is no third party extension that appear under the option 'All' on the left side). Short to wipe my hard drive, and then reinstall the operating system and all my applications, I don't know where to look to try to solve this problem. Also, I can't identify any specific event (installation of the software, updated software, etc.) that causes this problem to occur. I also tried to connect to a guest on my computer user account, but the same issues were present in the user account guest that I described above, leading me to believe that it is not a question of corruption within my user account, but rather an entire system.

    Mac Pro 6.1

    3.5 GHz 6-core intel CPU Xenon E5

    OS X v 10.11.2

    64 GB OF RAM

    Pages v5.6.1

    Keynote v6.6.1

    3.6.1 Numbers

    Photos v1.3

    Digital camera RAW 6.18

    Digital Camera Support RAW 6180

    Quit all applications. Check system preferences: Extension Panel: Menu share the missing part: send a copy the submenu items. If they are present, in order to check them, and then re - they will appear in the submenu of the previous. You may need to restart after selecting them.  If they are missing completely, then it is very likely that your launch Services database is corrupted. There is a difficulty.

    Others have encountered this problem, and what follows has helped many to restore the sharing: send a copy the submenu items. In the Dock, click on Launchpad: other: Terminal. Triple-click to select and then copy and paste the following in your open Terminal window. It will probably just run and finish, but if not, press return. There is no way out of this activity. When you get a new Terminal prompt, just left Terminal. Reset.

    /System/Library/Frameworks/CoreServices.framework/Versions/A/Frameworks/LaunchServices.framework/Versions/A/Support/lsregister -kill -r -seed -domain local -domain system -domain user
    

Maybe you are looking for

  • Satellite M300 - left USB port does not work

    Hey,. I have a M300 Satellite, with a USB port on the right and the other on the left side. The one on the left has never worked with anything. Its never bothered me until now - I bought a portable HD and I need to connect it and a mouse at the same

  • Opening without recognizing camera

    When I connect my camera to the Mac through a USB cable, opening used to open automatically and recognize the images on the camera, she stopped now, and when I opened opening it still does not recognize the existence of the camera, it is impossible t

  • Tired of fighting on Macbook Pro bluetooth connectivity

    Why is that to connect one of my bluetooth speakers that first of all, I have to restart my Macbook?  It will simply not acquire a bluetooth speaker without this annoying step.

  • Bluetooth definition for win8.1

    Hello I need definition bluetooth for my hp laptop PC 15 g020se win8.1 portable best wishes When I install it It is not a job > > why Thank you

  • How can I change the language of my ideapad Black 10

    Hello. When I was installing my ideapad Black 10 to select a region and language, I typed by mistake and he was put to the Japanese. How can I change the language from Japanese to English.