E-mail without head & BES12 events

Hello

I'm working on an application that must manage the incoming e-mails / outgoing. Point of entry without head added with bb.action.email.RECEIVED and bb.action.email.SENT filters. Everything works fine in userspace, but in work is not space.

1. is it possible to manage email triggers in the workspace? Are there special settings/permission to do this?

2 if not, is it possible to archive the same goal with the MessageService events in long app without a head?

Thank you

Anton

I was able to reproduce the same behavior you see, e-mail headless triggers do not shoot when a device is turned on in the mode single workspace.  They do not work in the scope of the work and personal perimeter when a device is turned on in BlackBerry Balance mode.

I have logged a bug for this with our in-house development team and reflected in the Issue Tracker here: Headless email triggers don't trigger mode single workspace

You will need to use the solution using the messaging APIs until this problem is corrected.

Tags: BlackBerry Developers

Similar Questions

  • App without head: how to check the status

    1. I read this on the BB site:

    Criticism

    Process that must be running at all times (for example, system processes)

    In the foreground

    Processes that are running in the foreground

    Background

    Processes that run in the background

    Stop

    Process involved in RAM without running

    The question is can we write the code to check the States of the app to trigger certain activities?

    I also want to know the other possible States of the life cycle such as: "application started", "closed app"...

    A problem critical of the app without head is memory management, and we can only until BB have a better explanation on the life cycle of the app without a head.

    2. for an application in the short-term, event after 20 years, the app is still listed on memory and CPU usage. That seems abnormal, because I guess that after 20 years, the application will be stopped and not be able to use the memory and CPU more.

    Can someone explain?

    Thank you very much!

    Would you like to take a look at this app, I wrote that has a component without head and uses QLocalSocket to communicate between the headless and the (https://github.com/blackberry/Cascades-Community-Samples/tree/master/wakemebybeacon) user interface process. There is also a blog explaining how it works here: http://devblog.blackberry.com/2014/07/wake-my-beacon/.

    You can detect changes in status of process on the part without head like this (https://github.com/blackberry/Cascades-Community-Samples/blob/master/wakemebybeacon/WakeMeByBeaconSe...) and manipulate them like this (https://github.com/blackberry/Cascades-Community-Samples/blob/master/wakemebybeacon/WakeMeByBeaconSe...).

    When a component without a head (process) is distributed will be passable for 20 seconds, after which it is moved to a queue where it receives no processor, but can be awakened (marked as executable) of certain classes of events. While stopped the headless process always retains a memory footprint, but is not available.

  • service tag and nfc without head

    Is it possible assigned to an application when a service without head bed tag nfc with specific information?

    Just to add to the response from Marc that I would be interested to know what use cases you have in mind that you think would require you to have access to an NFC tag from an application without a head.

    The nature of the NFC as a short-range radio link forced use cases to those where the end-user must take physical measures to "tap" of the handset in a NFC tag, an NFC reader, or even another NFC device. NFC use cases generally require an element of interaction with an application through the user interface - for example, it would be unacceptable and illegal to allow an application to approve a purchase of credit card contactless without verifiable consent from the user. For this reason, NFC apis and radio, are usually fully accessible only when the application is in the foreground. NFC is also tightly integrated with the framework of the call that allows the OS to launch the appropriate application in the detection of an NFC event plan so the need to use an application without a head is not necessary.

  • Send the PDF in an e-mail, without ever having saved the PDF on the server

    I know how to send files in emails in the CF.

    How I could modify the following code so that I could send the PDF in an e-mail, without ever having to have saved the file on the server?

    <!--- The compasstravel database is part of the Getting Started 
        tutorial application, found under the cfdocs directory. --->
    <cfquery datasource="compasstravel" name="compasstrips">
    SELECT tripName, tripDescription, tripLocation, price
    FROM trips
    ORDER BY price
    </cfquery>
    <cfdocument format="pdf"
            filename="#GetDirectoryFromPath(GetTemplatePath())#/compasstrips.pdf"
            overwrite="yes">
        <cfdocumentsection> 
            <h1 align="center">Compass Travel</h1>
            <h2 align="center">Destination Guide</h2>
            <p align="center"><img src="cfdocs/getting_started/photos/somewhere.jpg"></p>
        </cfdocumentsection> 
        <cfdocumentsection> 
            <cfdocumentitem type="header">
                <font size="-3"> <i>Compass Travel Trip Descriptions</i></font>
            </cfdocumentitem> 
            <cfdocumentitem type="footer"> 
                <font size="-3"> 
                    <cfoutput>Page #cfdocument.currentpagenumber#</cfoutput>
                </font> 
            </cfdocumentitem> 
            <cfoutput query="compasstrips"> 
                <hr>
                <h2>#tripName#</h2>
                <p><b>#tripLocation#</b></p>
                <p>Price: #DollarFormat(price)#</p>
                <p>#tripDescription#</p>
            </cfoutput> 
        </cfdocumentsection> 
    </cfdocument>

    I'm sure theres a way to create these files without saving it, I don't remember the tutorial

    Nice that you say this, Nikos101. I played with it a little more and found that you can indeed send the PDF as an attachment without saving it first. I did it like this:


    test the pdf content

    [email protected]"to ="[email protected]"subject ="test the pdf attachment">"

    content of the message: blah blah blah

  • How do I deleat an e-mail without opening it

    How can I delete an e-mail without opening it

    Right-click and select Delete.

  • Yahoo password email changed computer but the iPhone and iPad can always GET mails without updating the password

    Yahoo password email changed computer but the iPhone and iPad can always GET mails without updating the password...
    Normally, it should show as 'could not load the mail' or 'impossible to download the mail' or 'Please verify your password... "
    It's really wired.

    You are probably using IMAP

    Update contained in one place - it synchronizes across devices - all as is your email

    With POP accounts, you'd see what shows your question

    Instructions on how do to vs in IMAP POP3 - IMAP

  • How to print an e-mail without printing the side panels and the folder list?

    Original title: print an e-mail

    How to print an e-mail without printing the side panels and the folder list?  It also prints a part of the message that the sides take up much space

    IF you use Outlook.com you print this way...

    1. go to your Inbox
    2. Select the desired message you want to print
    3. in the top of the message itself, you can see options like New, Delete, Junk, response, etc..
    Please select the three dots (...) next to categories
    4. click on print
    5. a preview of the message is displayed and also printing options.
    (Don't forget to click on "all pages" for multi page emails.
    )
    6. click on print.

  • How can I get a full-page printed my e-mail without printing folder with her column.

    I want to get a full-page printed my e-mail without printing the file column.  Is this possible?

    And the e-mail program you are using is...?

  • I stop suddenly be able to send an email, but I get e-mails without problem; Error number: 0x800CCC0E

    Original title: ' account: 'pop.att.yahoo.com', server: 'smtp.att.yahoo.com', Protocol: SMTP, Port: 25, secure (SSL): no, Socket error: 10060, error number: 0x800CCC0E "

    I stop suddenly be able to send an email, but I get e-mails without problem.  No change of ISPS or anything else I know.

    I stop suddenly be able to send an email, but I get e-mails without problem.  No change of ISPS or anything else I know.

    Make the following changes.
    Changing port # 465 not 25.
    Checkmark on this server requires a secure connection (SSL).
    ..........................................................................................

    Open Windows mail (assuming that's what you are using) > tools > accounts > your AT & T/Yahoo account > properties >
    under the servers tab:
    Mail incoming (POP3)... pop.att.yahoo.com
    Outgoing (SMTP) e-mail... smtp.att.yahoo.com
    "My server requires authentication" should be checked.

    on the Advanced tab:
    Outgoing (SMTP) mail... 465 not 25
    Incoming (POP3) mail... 995
    BOTH "this server requires a secure connection (SSL)" should be checked.

    t-4-2

  • Why Outlook in Windows 7 keep ask my network password every time I open the program and repeatedly asking the password. I can receive and send mail without problems

    Why Outlook in Windows 7 keep ask my network password every time I open the program and repeatedly asking the password. I can receive and send mail without problems

    See this for help...

    http://support.Microsoft.com/default.aspx/KB/290684 MS - MVP Windows Desktop Experience, "when everything has failed, read the operating instructions.

  • Left without head does not start from the phone.

    Hello

    I have a problem with the part without a head.

    When I try to launch the app to Eclips, the app will be charged for phone and rotate the UI and parts without a head.

    Now if I restart the phone, headless part does not start even when I open the UI part,

    The headless part is to call the block function.

    Any idea will be very appreciated!

    Thank you!

    Your HL will start automatically in these two scenarios:
    (1) the application is installed on the device (there is no front)
    (2) the phone is restarted-> which is the magical part where your file bar - descriptor.xml is to record your target without head to call when the OS up bb.action.system.STARTED action.

    If you want your HL to be launched at the start of the user interface, you must manually call.

    Look here for an example of coding:
    https://github.com/RodgerLeblanc/HeadlessLight/BLOB/master/HeadlessLight/src/applicationui.cpp#L34-L...

  • Memory, databases and applications without head

    I've been struggling with this problem for some time now so let's go.

    As many of you know headless apps allowances of bunch of limit of 3 MB, which is fine, except when using Qt/Cascades objects that don't care much to consumption of memory, two examples are QNetwork and QtSql, who will blow easily your budget of memory in a single operation.

    I have simple ' SELECT * from Table' queries that consume more than 6MB, which then effectively disables the component without a head. More precise, I do the query the heap more than it consumes. So I tried libsqlite3, results were similar. It was however the promise to provide a chunck of mmap would or memory of static array for substitute of the bunch, but I can not:

    sqlite3_config(SQLITE_CONFIG_HEAP,...)

    to work correctly, it returns an error (1) every time.

    Unfortunately, I'm at the point where it seems that a component without head who uses SQL can be impossible with the current memory limit. Can anyone offer a solution to the use of SQL with headless while maintaining a service that runs reliably?

    -Are there when even to provide a static heap memory for QtSql use?

    -Are there a way to limit the memory used by QtSql?

    Thank you!

    EI

    The solution was to restructure my database, as awkward as this has been significantly reduced the memory required for the information necessary to satisfy the query of data in the buffer. In others, rather than have a huge database of the 8 column I broke it into several two databases colum - when the part without head wants just a little information is exactly what he will get so surprise elimination memory usage spikes.

    The problem still exists: as the database develops for a query memory requirements. Has no way to control the maximum limits memory use for QtSql complicating an app without elastic, even theoretically impossible to write head.

    EI

  • App without head

    Hello guys what changes do I need to change in the CPC or hpp files to convert my simple app in app without head
    I have already added

    LIBS += -lbbplatform
    

    in my .pro file and take a permission to Run in backround (_sys_run_headless) & (sys_headless_nonstop) also... bar - descriptor.xml

    I suggest that you either look at the example app without head or just start with that and add your own code.

  • Using C++ in QML classes in app without head: refers to 'bb::device:VibrationController:staticMetaObject' the undefined

    Hi, I've been weeks of work on the BB and had a lot of problems. Some of them have been resolved, some were not without the support of the forum.

    Now I have a great difficulty that I can't find answer by Googling.

    I am grateful to some body can help.

    Here's a simple case that make the big problem for me:

    1. create an app without head with Momentics. 2 project will be generated HeadlessApp and HeadlessAppService.

    Without modification, this code works well.

    2. I'm link below to use VibrationController in HeadlessAppService: https://developer.blackberry.com/native/documentation/dev/integrating_cpp_qml/index.html#usingcclass...

    below the code has been added:

    -Add codes below to main.cpp HeadlessAppService

    #include 
    using namespace bb::device;
    

    then add qmlRegisterType as below

    Q_DECL_EXPORT int main(int argc, char **argv)
    {
    
       Application app(argc, argv);
    
       qmlRegisterType("bb.vibrationController", 1, 0, "VibrationController");
       ApplicationUI appui;
       return Application::exec();
    }
    

    3. to confirm the new code, I just right click on the project and select build project.

    Bang! I got several error I don't understand. (red lines are errors)

    08:44:30 **** Incremental Build of configuration Device-Debug for project headlessTest ****
    make -j4 Device-Debug
    make -C .//translations -f Makefile update
    make[1]: Entering directory 'D:/BB-dev/momentics-workspace/headlessTest/translations'
    C:/bbndk/host_10_3_1_12/win32/x86/usr/bin/lupdate headlessTest.pro
    Updating 'headlessTest.ts'...
        Found 2 source text(s) (0 new and 2 already existing)
    make[1]: Leaving directory 'D:/BB-dev/momentics-workspace/headlessTest/translations'
    make -C .//translations -f Makefile release
    make[1]: Entering directory 'D:/BB-dev/momentics-workspace/headlessTest/translations'
    C:/bbndk/host_10_3_1_12/win32/x86/usr/bin/lrelease headlessTest.pro
    Updating 'D:/BB-dev/momentics-workspace/headlessTest/translations/headlessTest.qm'...
        Generated 0 translation(s) (0 finished and 0 unfinished)
        Ignored 2 untranslated source text(s)
    make[1]: Leaving directory 'D:/BB-dev/momentics-workspace/headlessTest/translations'
    make -C ./arm -f Makefile debug
    make[1]: Entering directory 'D:/BB-dev/momentics-workspace/headlessTest/arm'
    make -f Makefile.Debug
    make[2]: Entering directory 'D:/BB-dev/momentics-workspace/headlessTest/arm'
    qcc -Vgcc_ntoarmv7le -lang-c++ -Wl,-rpath-link,C:/bbndk/target_10_3_1_995/qnx6/armle-v7/lib -Wl,-rpath-link,C:/bbndk/target_10_3_1_995/qnx6/armle-v7/usr/lib -Wl,-rpath-link,C:/bbndk/target_10_3_1_995/qnx6/armle-v7/usr/lib/qt4/lib -Wl,-rpath-link,C:/bbndk/target_10_3_1_995/qnx6/armle-v7/usr/lib/qt4/lib -o o.le-v7-g/headlessTest o.le-v7-g/.obj/applicationui.o o.le-v7-g/.obj/main.o o.le-v7-g/.obj/moc_applicationui.o    -LC:/bbndk/target_10_3_1_995/qnx6/armle-v7/usr/lib/bb1 -LC:/bbndk/target_10_3_1_995/qnx6/armle-v7/lib -LC:/bbndk/target_10_3_1_995/qnx6/armle-v7/usr/lib -LC:/bbndk/target_10_3_1_995/qnx6/armle-v7/usr/lib/qt4/lib -LC:/bbndk/target_10_3_1_995/qnx6//usr/lib/qt4/lib -lbb -lbbsystem -lbbcascades -lQtDeclarative -lQtScript -lQtSvg -lQtSql -lsqlite3 -lz -lQtXmlPatterns -lQtGui -lQtNetwork -lsocket -lQtCore -lm -lbps
    o.le-v7-g/.obj/main.o: In function `int qmlRegisterType(char const*, int, int, char const*)':
    c:/bbndk/target_10_3_1_995/qnx6/usr/include/qt4/QtDeclarative/qdeclarative.h:191: undefined reference to `bb::device::VibrationController::staticMetaObject'
    o.le-v7-g/.obj/main.o: In function `QDeclarativeElement':
    c:/bbndk/target_10_3_1_995/qnx6/usr/include/qt4/QtDeclarative/qdeclarativeprivate.h:87: undefined reference to `bb::device::VibrationController::VibrationController(QObject*)'
    o.le-v7-g/.obj/main.o:(.data.rel.ro._ZTVN19QDeclarativePrivate19QDeclarativeElementIN2bb6device19VibrationControllerEEE[_ZTVN19QDeclarativePrivate19QDeclarativeElementIN2bb6device19VibrationControllerEEE]+0x8): undefined reference to `bb::device::VibrationController::metaObject() const'
    o.le-v7-g/.obj/main.o:(.data.rel.ro._ZTVN19QDeclarativePrivate19QDeclarativeElementIN2bb6device19VibrationControllerEEE[_ZTVN19QDeclarativePrivate19QDeclarativeElementIN2bb6device19VibrationControllerEEE]+0xc): undefined reference to `bb::device::VibrationController::qt_metacast(char const*)'
    o.le-v7-g/.obj/main.o:(.data.rel.ro._ZTVN19QDeclarativePrivate19QDeclarativeElementIN2bb6device19VibrationControllerEEE[_ZTVN19QDeclarativePrivate19QDeclarativeElementIN2bb6device19VibrationControllerEEE]+0x10): undefined reference to `bb::device::VibrationController::qt_metacall(QMetaObject::Call, int, void**)'
    o.le-v7-g/.obj/main.o:(.data.rel.ro._ZTIN19QDeclarativePrivate19QDeclarativeElementIN2bb6device19VibrationControllerEEE[_ZTIN19QDeclarativePrivate19QDeclarativeElementIN2bb6device19VibrationControllerEEE]+0x8): undefined reference to `typeinfo for bb::device::VibrationController'
    o.le-v7-g/.obj/main.o: In function `~QDeclarativeElement':
    c:/bbndk/target_10_3_1_995/qnx6/usr/include/qt4/QtDeclarative/qdeclarativeprivate.h:91: undefined reference to `bb::device::VibrationController::~VibrationController()'
    c:/bbndk/target_10_3_1_995/qnx6/usr/include/qt4/QtDeclarative/qdeclarativeprivate.h:91: undefined reference to `bb::device::VibrationController::~VibrationController()'cc: C:/bbndk/host_10_3_1_12/win32/x86/usr/bin/ntoarm-ld caught signal 1
    Makefile.Debug:103: recipe for target 'o.le-v7-g/headlessTest' failed
    make[2]: *** [o.le-v7-g/headlessTest] Error 1make[2]: Leaving directory 'D:/BB-dev/momentics-workspace/headlessTest/arm'
    make[1]: *** [debug] Error 2
    Makefile:50: recipe for target 'debug' failed
    make: *** [Device-Debug] Error 2make[1]: Leaving directory 'D:/BB-dev/momentics-workspace/headlessTest/arm'
    mk/cs-base.mk:31: recipe for target 'Device-Debug' failed
    08:44:31 Build Finished (took 1s.47ms)
    

    I give up!

    Why adding simple code can be a problem? Please help me!

    Thank you very much!

    You must add this code into main.cpp to your HeadlessApp, not HeadlessAppService. Your spare part cannot run any UI stuff, trying to save an object any for QML is part of the things in the user interface.

    But anyway, reading your newspaper from the console, you seem to put in the right place anyway. Did you add this to your headlessTest.pro file:
    LIBS +=-lbbdevice

  • WebWorks app with part without head

    I'm devolopping a webworks SDK-based application.

    I want to develop a plugin that communicate with a native service without a head.

    I used the sample of The Headless Service sample that shows how to create a long service life without a head.

    Also, I used the model of the creation of a plugin of cordova for communication between JavaScript and native part.

    2 samples of separately work fine, I have not found how to configure make them work together. I mean How to invoke the service without a head form Javascript side.

    As BlackBerry Webworks Extension Native and native headless service project have the same structure of project, I don't have how to configure my Webworks and my native project without head to communicate with each other.

    Help please?

    Hello

    WebWorks 2.1 has a «create headless» CLI command This operation generates a sample application in which the momentics project built directly in the project WebWorks. It illustrates invocation of WebWorks for headless.

    http://developer.BlackBerry.com/HTML5/documentation/v2_1/creating_a_ww_app_with_headless_app.html

Maybe you are looking for

  • EMac G4 Desktop disappearance!

    Firstly apologies to the Mods if wrongly placed wire box: don't know if the problem is OS X or the hardware itself. Please move as you wish. The computer is a very, very gently used g4 emac 1.42 ghz, 2 GB ram. HD has 25 GB 79 gb free space. OS X 10.4

  • Stuck at the screen of the POST - R500

    I have a R500 that one of my users has me just. It is stuck on the screen of the POST (ThinkPad splash) and does not respond to any keys pressed. I tried holding down the blue button "ThinkVantage" while turning on and still no response. I pulled the

  • D110A can't see home network router Linksys EA6400

    I have a HP Photosmart d110 who can't even see my home network. When I use the network printer wizard can see some of the other networks nearby, but not my home network.

  • How to set the clock on a CRIO you?

  • How to change IP address on layer 3 Mode on a SG300-28?

    Hi all I just bought a SG300-28, it is upgraded to the latest version of the firmware. And then I change it working on L3 Mode (Yes, I need a lot of work on the Mode of the L3) OK, but when I go to the Page for the IP Configuration on the VLAN 1 (see