Without head and SQL

Constraints tight memory for applications without a head is difficult to confront. My sql queries seem to fail without errors memory whenever there is a "WHERE x = y" in the query.

Something like that

SELECT date, description, stuff from calendar

Use of memory and beautiful work seems reasonable, although non-deterministic.

But this:

SELECT date, description from calendar WHERE date = x

Often fails with "out of memory" errors. I also see from the perspective of information system QNX in the IDE that memory is suddenly reaching nearly 3 MB in the subsequent query.  My table contains not more than 10,000 files in there.

The question is: why a query more than refining consumes more memory? My goal was to limit the use of memory and I inadverdantly blew the deadline to do so. How can I make a very specific request but keep the low memory use?

In addition, Blackberry will review the memory limits? The two main tools I was counting on aid (QNetwork and QTSql) and highly not deterministic in their memory consumption and would cause too much instability be useful in an application without a head.

Thank you.

The ultimate solution was simply to ask the team to blackberry for more memory heap headless headless. In my case QtSql and QtNetwork always seemed to end up consuming a variable amount of memory that often leads to hit the ceiling of the memory. The solution to the problems of consumer memory QtNetwork supposed to libcurl that ended up being an effective solution overall, it consumes less memory in a more predictable manner. I can't find any way to get around using QtSql however, it would be nice to hear if anyone knows a light weight for bb10 sqlite library. Or at least a way to limit the use of bunch of QtSql.

Tags: BlackBerry Developers

Similar Questions

  • Get a Push notification on app without head and application

    Hello

    I have included an app without a head for my current application, because I am handling becomes class PushService when push comes this application without a head. But I pushservice in running my application also to get called when comes to push, and my request for traffic not called when the push... How can I get push notifications in both without head and noraml app.

    You can take a look at the documentation
    https://developer.BlackBerry.com/native/documentation/Cascades/device_platform/headless_apps/

  • 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.

  • 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

  • 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.

  • SQL * LOADER skip the header and the footer while loading

    Hi, how can I ignore the header and footer both a flat file during the loading of a table using sql * loader?
    Also, can I use the direct method if my target table has a primary key and not null constraints defined on it?

    Hello

    To ignore the header, you can use JUMP, for the footer there is no specific way to ignore it (maybe it would be rejected).

    For more information on the laoding modes, you can check [11 classics and Direct Path loads | http://download.oracle.com/docs/cd/B19306_01/server.102/b14215/ldr_modes.htm#g1023818].

    Kind regards

  • Problem with conversion of a normal app in app without head

    "I made an example of code where you respond to messages (email, PIN) without user intervention is possible." The application is started and when a new message is received it respond and delete the new message.

    I need the app to start as soon as the phone is started. This is why I want to convert an application without the app. But he is not able to link the API if I set them in the part without the app. The reason is that in the .pro file of the game without head cascades10 should be removed to make headless (it's just one of the requirements). I fully meet all other requirements too for example: no assets etc.

    CONFIG += qt warn_on (cascades10) deleted

    But I must add

    LIBS +=-lbbpim which gives following error.

    /usr/lib/libbbpim.so: reference to 'QSqlDatabase::rollback()' the undefined

    /usr/lib/libbbpim.so: reference to 'QDomDocument::~QDomDocument()' the undefined

    When I add cascades10 then it compiles, but now it does not entirely the requirements of the app without a head.

    If I set the code part user interface of the application without a head, then it can compile and I can run the application. But in this case when I re - turn the phone on or off the UI of the application does not work.

    I do not understand how to convert a normal app in app without a head. I have read the example and followed all the instructions.  http://developer.BlackBerry.com/native/documentation/Cascades/device_platform/headless_apps/

    But I need for email, PIM messages. "How can you do it?

    LIBS +=-lbb - lbbsystem - lbbplatform - lbbdata - lbbpim
    QT += declarative sql
    QT += xml

    He then satisfied and I can run too

  • I received an email from my address in my junkbox subsequently, I deleted without opening and tried to block without result. Is what kind of scam or virus?

    An email from my address!

    I received an email from my address in my junkbox subsequently, I deleted without opening and tried to block without result. Is what kind of scam or virus? How is it hotmail allows this weird deliveries?

    Hello

    Answers is a peer group supported and unfortunately has no real influence on Hotmail.

    HotMail has its own Forums, so you can ask your questions there.

    Windows Live Solution Center - HotMail - HotMail Forums Solutions
    http://windowslivehelp.com/

    Hotmail - Forums
    http://windowslivehelp.com/forums.aspx?ProductID=1

    Hotmail - Solutions
    http://windowslivehelp.com/solutions.aspx?ProductID=1

    How to contact Windows Live Hotmail Support
    http://email.about.com/od/hotmailtips/Qt/et_hotmail_supp.htm

    Windows Live Hotmail Top issues and Support information
    http://support.Microsoft.com/kb/316659/en-us

    Error message "your account has been locked" when trying to connect
    http://windowslivehelp.com/thread.aspx?ThreadId=77be7d82-a0e9-49c7-b46d-040ec654a9e2

    Compromised account - access unauthorized account - how to recover your account
    http://windowslivehelp.com/solution.aspx?SolutionID=6ea0c7b3-1473-4176-b03f-145b951dcb41

    Hotmail hacked? Take these steps
    http://blogs.msdn.com/b/securitytipstalk/archive/2010/07/07/Hotmail-hacked-take-these-steps.aspx

    ============================================================

    Proceed to a very thorough check for malware and then change your password by e-mail.

    It is possible for a person to send the email that 'seems' to be of your
    account but that is not really - called "Spoofing." That means its 'Possible' emails
    were not really you, although they may have your contact list. Have someone
    who receives the e-mails to check the header to see where he is actually sent by and
    NOT only the answer to the address.

    How to read the message headers
    http://www.emailaddressmanager.com/tips/header.html

    What Email Headers can tell you about the origin of Spam
    http://email.about.com/cs/spamgeneral/a/spam_headers.htm

    E-mail spoofing
    http://en.Wikipedia.org/wiki/E-mail_spoofing

    E-mail spoofing and Phishing
    http://www.mailsbroadcast.com/email.broadcast.FAQ/46.email.spoofing.htm

    Understanding E-mail Spoofing
    http://www.windowsecurity.com/articles/email-spoofing.html

    Fraudulent emails (false)
    http://pages.eBay.com/education/spooftutorial/

    Google search - email Spoofing
    http://www.Google.com/search?hl=en&EI=FB1nS9DiNo7CsQPNhKGdAw&SA=X&Oi=spell&resnum=0&CT=result&CD=1&ved=0CAgQBSgA&q=email+spoofing&spell=1

    =============================================

    If you need search malware here's my recommendations - they will allow you to
    scrutiny and the withdrawal without ending up with a load of spyware programs running
    resident who can cause as many questions as the malware and may be more difficult to detect as the
    cause.

    No one program cannot be used to detect and remove any malware. Added that often easy
    to detect malicious software often comes with a much harder to detect and remove the payload. Then
    its best to be thorough than paying the high price later now too. Check with them to one
    extreme overkill point and then run the cleaning only when you are sure that the system is clean.

    It can be made repeatedly in Mode safe - F8 tap that you start, however, you must also run
    the regular windows when you can.

    Download malwarebytes and scan with it, run MRT and add Prevx to be sure that he is gone.
    (If Rootkits run UnHackMe)

    Download - SAVE - go to where you put it-right on - click RUN AS ADMIN

    Malwarebytes - free
    http://www.Malwarebytes.org/products/malwarebytes_free

    Run the malware removal tool from Microsoft

    Start - type in the search box-> find MRT top - right on - click RUN AS ADMIN.

    You should get this tool and its updates via Windows updates - if necessary, you can
    Download it here.

    Download - SAVE - go to where you put it-right on - click RUN AS ADMIN
    (Then run MRT as shown above.)

    Microsoft Malicious - 32-bit removal tool
    http://www.Microsoft.com/downloads/details.aspx?FamilyId=AD724AE0-E72D-4F54-9AB3-75B8EB148356&displaylang=en

    Microsoft Malicious removal tool - 64 bit
    http://www.Microsoft.com/downloads/details.aspx?FamilyId=585D2BDE-367F-495e-94E7-6349F4EFFC74&displaylang=en

    also install Prevx to be sure that it is all gone.

    Download - SAVE - go to where you put it-right on - click RUN AS ADMIN

    Prevx - Home - free - small, fast, exceptional CLOUD protection, working with others
    security programs. It is a single scanner, VERY EFFICIENT, if it finds something to come back
    here or use Google to see how to remove.
    http://www.prevx.com/   <-->
    http://info.prevx.com/downloadcsi.asp  <-->

    Choice of PCmag editor - Prevx-
    http://www.PCMag.com/Article2/0, 2817,2346862,00.asp

    Try the demo version of Hitman Pro:

    Hitman Pro is a second scanner reviews, designed to save your computer from malicious software
    (viruses, Trojans, rootkits, etc.). who infected your computer despite safe
    what you have done (such as antivirus, firewall, etc.).
    http://www.SurfRight.nl/en/hitmanpro

    --------------------------------------------------------

    If necessary here are some free online scanners to help the

    http://www.eset.com/onlinescan/

    -----------------------------------

    Original version is now replaced by the Microsoft Safety Scanner
    http://OneCare.live.com/site/en-us/default.htm

    Microsoft safety scanner
    http://www.Microsoft.com/security/scanner/en-us/default.aspx

    ----------------------------------

    http://www.Kaspersky.com/virusscanner

    Other tests free online
    http://www.Google.com/search?hl=en&source=HP&q=antivirus+free+online+scan&AQ=f&OQ=&AQI=G1

    --------------------------------------------------------

    Also follow these steps for the General corruption of cleaning and repair/replace damaged/missing
    system files.

    Run DiskCleanup - start - all programs - Accessories - System Tools - Disk Cleanup

    Start - type this into the search-> find COMMAND to top box and RIGHT CLICK-
    RUN AS ADMIN

    Enter this at the command prompt - sfc/scannow

    How to analyze the log file entries that the Microsoft Windows Resource Checker
    (SFC.exe) program generates in Windows Vista cbs.log
    http://support.Microsoft.com/kb/928228

    Run checkdisk - schedule it to run at the next startup, then apply OK then restart your way.

    How to run the check disk at startup in Vista
    http://www.Vistax64.com/tutorials/67612-check-disk-Chkdsk.html

    -----------------------------------------------------------------------

    If we find Rootkits use this thread and other suggestions. (Run UnHackMe)

    http://social.answers.Microsoft.com/forums/en-us/InternetExplorer/thread/a8f665f0-C793-441A-a5b9-54b7e1e7a5a4/

    I hope this helps.

    Rob Brown - Microsoft MVP<- profile="" -="" windows="" expert="" -="" consumer="" :="" bicycle="" -="" mark="" twain="" said="" it="">

  • 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...

  • E-mail without head &amp; 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.

  • 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

  • Application crash without head

    I have a headless application that consists of a user interface that displays information and a background process that manages the communication networks and raise important data notifications should be retrieved as the user needs to know.

    Looks like what they describe the background process has ended, although I'm waiting to hear if this is indeed the case, and it is not just a bug in my code.

    As I need this service running at all times to manage the network connection is a way to define the process restarts on release without requiring the user interface to get involved or restart the phone?

    You can send a message to hub or NotificationDialog in your app without head destructive code, but chances are that if the app without head has stopped working, it is due to a failure and your Shredder could never be called.

    I know a dev that used a second application without head who would conduct sporadic inspections to see if headless app 1 is running and he would invoke if it no longer exists. This solution is not for everyone, the user will install 2 apps.

    Best solution is to check your code, try to catch the dump if possible user's telephone logs, there is probably an error somewhere that gives the crash without head or your application gets terminated by the operating system when it exceeds the limit of 3 MB heap (check for memory use).

  • How to set the header and footer on Officejet Pro 8600 more

    The header and footer are halfway out of the page and difficult to read.

    I got my printer configured to print without margins.  When I changed that now I can see the header and footer.  Looks like I solved my problem

Maybe you are looking for