What is qDebug() and 'bb.action.START '.

1. I see this code in the sample of BB

application of BB::System:InvokeRequest;

request.setTarget ("com.example.HeadlessApp");
request.setAction ("bb.action.START");
m_notify-> setInvokeRequest (request);

I understand the code. But when I try to study more, I don't see any official/unofficial document on action 'bb.action.START '.

The problem is that if BB doesn't provide good technical document, and if the developers never try this sample, how can developers know and use 'bb.action.START' in their application.

And there is no guarantee that this is the only stuff without papers.

Any idea on this?

2. generate an app by Momentics 2.1.2 headless and the latest version of the SDK. After that, I tried to undertand qDebug() executes the flow of it. While qDebug() works welll most on-site, but in main() and HeadlessAppService Builder, (part headless), qDebug never show anything.

Any help on this will be appreciated!

Thank you very much.

You're right, that I point you to the documentation for bb.action.system.STARTED.  bb.action.START is not a predefined system value, it's just what has been used in this sample.  Applications that receive requests for appeal can define actions they want.  This example uses bb.action.START, which he composed.  Think of it like a MIME type.  You can use a common MIME type or make up your own.

There are some more frequent applications BlackBerry use as:

bb.action.SHARE

bb.action.OPEN

bb.action.VIEW

Third-party applications can use these where it makes sense, but are not required to use actions that match those that we used.

qDebug will work in debug and run mode.  But note that a headless application starts differently than a user interface application.  When you debug an application user interface, the application is loaded, started by blocks and Momentics immediately until the debugger attaches.  Running a headless application that uses bb.action.system.STARTED will be launched by the operating system as soon as it is installed.  The debugger attaches quickly after but generally not soon enough for the start of the constructor because it does not block waiting for the debugger start attaches.

Tags: BlackBerry Developers

Similar Questions

  • What is the difference between Action Cam model HDR-AS10A and HDR-AS10B

    What is the difference between Action Cam model HDR-AS10A andB of the HDR-AS10

    Hello
    Welcome to the community of Sony.

    There is no Action Cam with HDR-AS10A model number available in the United States. Only the AS10-HDR and HDR-AS10/B are available. The only difference between the two is that the 'B' in the HDR-AS10/B model number matches the color of the camcorder, which is black.

    Thank you for your message.

  • Hello! I just bought an iphone 6 and I was starting the phone due to what he says, but right after the icloud copy was made the phone do not respond... He says decides to continue, but slice to reload button does not work... What can I do?

    Hello! I just bought an iphone 6 and I was starting the phone due to what he says, but right after the icloud copy was made the phone do not respond... He says decides to continue, but slice to reload button does not work... What can I do?

    See if the troubleshooting steps in this article to take help supported:

    If the slide on the upgrade screen does not disappear once you upgrade to iOS 9 - Apple Support

    See you soon,.

    GB

  • I have an old computer running windows 98 when I try to start until you get a date checking DMI Pool error message failure boot ATAPI CD-Rom 07,08 what this mean and how can I solve this problem?

    I have an old computer running windows 98 when I try to start until you get a date checking DMI Pool error message failure boot ATAPI CD-Rom 07,08 what this mean and how can I solve this problem?

    I want to erase the hard drive and use it to install windows xp.

    From what I've read, it could be a number of things that went on the wall. Issue of dead hard drive, BIOS, peripheral USB plugged when starting, etc.

    Does not help, but could help to point you in the right direction...

  • When I start my laptop script error on the screen.what that means and how it get rid you

    When I start my laptop SCRIPT ERROR comes on my screen. What it means and how to get rid

    You have assigned to a category of forum that is completely different to your question/problem. Your question has been moved to a forum category that matches it's better.

    If you don't already specify the product name, Windows version, version of the program and other necessary information on the product you have a problem with: do so immediately!
    And please explain the problem more in detail. Do not try to give an overall summary abstract with terms invention. Use natural language. Explain step by step what you do and what you see and why it is a problem.
    Provide accurate and complete data: exact error message of name, exact product of exact, exact file names, exact address... you get!

  • I installed G10-ebook but when open it and write down the username and password it starts and stops immediately and closes what should I do?

    I installed G10-ebook but when open it and write down the username and password it starts and stops immediately and closes what should I do?

    Hello

    Step 1: Check if the problem persists in the clean boot state.

    From your computer by using a minimal set of drivers and startup programs so that you can determine if a background program is interfering with your game or program. This type of boot is known as a "clean boot".

    Reference:
    How to configure Windows XP to start in a "clean boot" State
    http://support.Microsoft.com/kb/310353

    When you are finished troubleshooting, follow these steps to reset the computer to start as usual:
    1. click on start and then click Run.
    2. type msconfig and click OK.
    The System Configuration Utility dialog box appears.
    3. click on the tab general, click Normal Startup - load all services and device drivers and then click OK.
    4. When prompted, click on restart to restart the computer.

    Step 2: Also, look for error messages in the event viewer. If you find error messages after return the exact error message so that we can help you better.

    Reference:
    Using the event viewer
    http://www.Microsoft.com/resources/documentation/Windows/XP/all/proddocs/en-us/snap_event_viewer.mspx?mfr=true

    Understanding of event viewer
    http://www.Microsoft.com/resources/documentation/Windows/XP/all/proddocs/en-us/event_overview_01.mspx?mfr=true

    Procedure to view and manage event logs in Event Viewer in Windows XP
    http://support.Microsoft.com/kb/308427

  • How can I find out what programs I should have started and what are the programs I can start myself to my computer to run correctly when starting?

    * Original title: startup

    How can I find out what programs I should have started and what are the programs I can start myself to my computer to run correctly when starting?

    Hello

    I understand you want to learn about programs, you should start your Windows startup. I will certainly help you to question.

    When you start Windows by using a normal startup startup, several applications and services automatically, and then run in the background. These programs include the base system, antivirus software, utility applications processes system and other software that was previously installed. These applications and services may cause interference when you install or run a program.

    The system configuration is a tool that can help identify problems that might prevent Windows from starting correctly. You can start Windows with common services and startup programs turned off and then reactivate them, one at a time.

    I suggest you to refer to the links below and check if this is useful:

    Using the Configuration System (msconfig)

    Perform a clean boot to determine if background programs interfere with your game or program

    Hope this information helps.

    Please get back to us with an update on the issue, we will be happy to help you.

  • What is the difference between Windows 7 and Windows 7 Starter?

    Original title: "what is the difference between Windows 7 and Windows 7 Starter? I want to install Windows on a laptop... I noticed that some of them offer Windows 7 and others offer Windows 7 Starter.  What is the best, most complete? »

    What is the difference between Windows 7 and Windows 7 Starter?  I want to install Windows on a laptop... I noticed that some of them offer Windows 7 and others offer Windows 7 Starter.  What is the best, most complete?

    On Tuesday, November 9, 2010 22:52:15 + 0000, cvzimbaldi wrote:

    When it says that windows 7 Home premium is an upgrade to windows 7 starter edition, means that the home premiun cannot upgrade Vista?

    I do not understand the question above, but to answer your question in
    the subject line, "what's the difference between Windows 7 and.
    Windows 7 Starter? "the Windows 7 Starter Edition is not another
    operating system, it's just kind of Windows 7. And it is the lowest
    level editing, so you can pass her to another level such as
    Windows 7 Home Edition.

    Ken Blake (MS-MVP)

  • Hello, how can I choose what image the film will show before you press play and the movie starts?

    Hello, how can I choose what image the film will show before you press play and the movie starts?

    You can not.  At least not with Adobe tools.

  • What is a fast alternative to starting a business of DPS app if Apple Store rejects the App? We are in a long time and can't wait for Apple. We host the application elsewhere. How we host our DPS application on the website of our customers?

    What is a fast alternative to starting a business of DPS app if Apple Store rejects the App? We are in a long time and can't wait for Apple to approve. We host the application elsewhere. How we host our DPS application on the website of our customers? Thank you.

    Unless I misunderstood the question, you can do what you want to do. Apple does not allow to circumvent their public applications store and host on a Web site. The exception is an enterprise application, which requires a company to both Apple and Adobe account. This type of business application can be distributed only within the company. If that's what you want to do, you can learn more here:

    Digital Publishing Suite help | Creating the observer for private distribution applications

    Distribution of iOS Viewer with Digital Publishing Suite business applications | Adobe Developer Connection

    Another option is to add the development application to multiple devices and use them for your demo.

  • I just started to use a new version of Illustrator and the text I've created has a pink box behind, seems to be on the depth of the normal linespace, it is not visible in outline view, only in the preview. What is this and how do I get rid of him?

    I just started to use a new version of Illustrator and the text I've created has a pink box behind, seems to be on the depth of the normal linespace, it is not visible in outline view, only in the preview. What is this and how do I get rid of him?

    A pink box indicates that the font is not installed. This is a file that you have worked before, or is this a new file?

  • After update of 38.1 a few minutes ago a new Asterisk just started appearing after mailboxes mailbox. What is - this and why it was created?

    I've just updated to version 38.1 at a few minutes ago. As soon as I open the program after the update, two of my boxes have (* 1) and (* 2) after the name of the box. What is it and why is it done? How can I disable this if this is a new feature?

    A thought more...

    If you leave all your boxes to the extended letters (for example, you click on arrowheads you see all subfolders) and leave them like that, you won't see those * once again.

    Might be easier to go back to the previous version...

  • Tecra S3 Windows Explorer crashes on copying files and other actions

    Tecra S3 Windows Explorer crashes frequently on the copy of files and other actions. In the system event log, you find the event ID 26 Application Popup Explorer.exe Application error problem (in Dutch: Toepassingsfout) read write memory error.

    Start the Softex Omnipass Service service. Change the startup type to automatic. The problem will not happen again. You don't have to use this application after the service started.

    Post edited by: wboere

    Hello

    Unfortunately, this path is not easy to say anything because, who know what did you do with OS and how is your personal configuration. If this problem occurs because some time roll back OS to an earlier time using System Restore tool.

    Also check this page useful http://www.helpwithwindows.com/techfiles/explorer-crashes.html maybe you'll find some answers there.

  • I got a virus and my computer starts is no longer the error message was < root windows > system32\hal.dll

    I downloaded a virus on my computer that wouldn't let my computer startup message wasn't system32\hal.dll Windows didn't start because the following file is missing or damaged.  I went into the recovery console and tried to repair the files what happened was now I can start only on my storage drive and it will stay running only for a few minutes and then the computer shuts down. At startup in the bios it is that one illustrious disc which is my small storage disk not the large drive box and not CD drive. A few days ago everything worked well today can't get to run long enough to fix it.

    Paul_652

    What a mess!

    Are you saying that the PC does not see the CD drive? Or that Windows could not see it?
    What is the brand and model of your PC? Are you able to get into the BIOS to see if the CD drive is listed? If so, you can then change order of device for the start-up of the PC then it stops on the CD instead of the hard drive.
    Links for bootable CD:
    Software to burn a bootable CD from a .iso file:
    The drive being SATA Seagate, I wonder if you need to make a setting in the BIOS.
    I also wonder what will happen if you remove the Seagate and equip the Maxtor, then start with the disks to run RC. I still think that the Maxtor drive has an MBR on it!
    I think that your first course of action is to see if this CD player works or not (independent of WIndows).
  • Fatal error in WMI. What it means and how to fix it?

    I tried to do maintenance on my computer. However, I get the following message: cannot access the Windows Management Instrumentation software. Management of Windows files may missing or moved. I don't know what that means and I don't know how to fix it. I know that my computer is running like * now.

    If you see a message like this:

    Unable to access Windows Management Instrumentation software.  Management of Windows files may be displaced or missing.

    Either the Windows Management Instrumentation Service is not running or your information from WMI files are missing or damaged. It is easy to rebuild the WMI information files and replace all the files corrupted or suspicious.

    To solve your problem, stop the Windows Management Instrumentation service, rename the folder WMI suspicious or distressed, then restart your system.  When the system restarts, the WMI service will start automatically and rebuild the WMI folder and it's content automatically.

    Here's the process:

    Click Start, run and enter in the box:

    services.msc

    Click OK to launch the Services applet.

    Locate the Windows Management Instrumentation Service.  If the status column indicates that the WMI Service is started (ongoing), right-click on the WMI Service and choose to stop the WMI Service.

    Answered in the affirmative, if requested to stop Security Center and Windows Firewall Services (with stopped services, your system is vulnerable to attacks from the Internet, so do not receive is not on the Internet again until you reboot your system).

    Now would be a good time to check also the properties of the WMI Service to make sure the startup type is set to automatic for the Service WMI will start automatically the next time the system is restarted.

    The Explorer, navigate to the following folder (assuming that your boot drive is C):

    C:\Windows\System32\Wbem\
     
    Locate and then rename the folder "Repository" to something, as you remember, such as:

    Repository.Old

    Restart the computer, and then make sure that the WMI service is restarted automatically and that a new repository folder has been created to replace the one that has been renamed.  It may take a while to completely rebuild the file storage (several seconds or minutes) so expect it ends.
     
    After the reboot, you will notice the wmiprvse.exe Service running in the Task Manager and it will continue to run until it completes the reconstruction of the repository (this may take a little time).

    The rebuilding process could take several minutes depending on your system, but eventually the wmiprvse.exe Service ends and disappear from the Manager tasks.

    If you then look at the Event Viewer Application log, there may be some error messages like this:

    Event type: error
    Event source: WinMgmt
    Event category: no
    Event ID: 4
    Description:
    Failed to load C:\WINDOWS\MICROSOFT.NET\FRAMEWORK\V4.0.30319\MOF\SERVICEMODEL MOF. MOF by retrieving the file from the repository.

    This is normal because when the system restarts, the wmiprvse.exe process has to rebuild parts of the repository as well. It is a mistake to sequence as shown below. You should not see these mistakes again after the system has been rebooted and catches up and finishes rebuilding the WMI repository.

    Explanations for errors encountered in the case of the Application of visualization of the newspaper the WMI repository is rebuilt:

    Explanation
    Windows Management Instrumentation could have tried to compile the file (mofcomp) a .mof marked for ASR, but compilation failed. This is probably due to a sequencing problem.
       
    User action
    To correct the problem, try to compile the .mof again. If this does not resolve the problem, contact the provider of technical support for the program in question.

    You shouldn't need to do something about these error messages and do not see again them after that XP has finished rebuilding the WMI repository.

    I can't say how long this will take to rebuild, maybe 10 to 15 minutes until it settles completely.

Maybe you are looking for