Minimalist app is ends after 30 years... why?

What are the minimum actions that an application needs to be able to stay running?

As a learning exercise and to help test something, I tried to write an application almost without function (as in, has no function...) "don't call the functions").

It starts with a nice white screen (provided by the operating system, I guess, since I don't return anything) and sits there for 30 seconds, it blocks a lower-level event any (not even the things BPS event... just thought posix).

After 30 years, the operating system kills the process.

No idea why?  What should do to live longer to an application?  Call bps_initialize() is not enough... try this.

Should we create a context of screen?  Ask for any kind of events and start to receive them with a call to get_event()?  Or something else?

(I vaguely remember Elena comment on AIR apps that need to do something in a timeout or they would be killed, but I don't remember what it was and can't find the thread).

All applications (AIR, native, whatever) must create and present a window within 30 seconds.  Otherwise, the system assumes that the app is not started correctly and will kill him.

The basic assumption is that applications exist to introduce interactive behavior to the users. :-)

Tags: BlackBerry Developers

Similar Questions

  • end of the year - cannot see the end of the year to close this window - is there a script to correct if I'm running an end of year after batches were posted for the new year?

    Hello to someone there is shiny armor!

    My name is Lynne and I have a few questions that I am struggling to solve

    I am running Dynamics GP 10.00.1368 that seems to be sp4

    When I try to open the sales year end closing screen (Tools > Routines > sales > year end close) nothing happens, even through I the end window of the year closing checked ADMIN_SALES_015 slot (period of the end of Sales Routines) for POWERUSER which is how I'm connected (his).

    I assumed (wrongly) that I would be able to address this issue at a later date after the end of June (end of the year our) so I allowed everyone back on the system and displays were held as usual. However, in reading several messages from various sources I have unfortunately starting to recognize I have a made a mistake here & missed the two boats at the end of year!

    I would really appreciate it if someone could: -.

    (a) advise on how I can get to see the end of year sales closing screen &

    (b) run a successful year for end of December 2011 end, then a end of year to end June 2012

    or to offer advice on the best way to address this issue. for example is there there a script that fills all the fields of LYR & CDA and LTD with correct figures once I "tell him" what the 'Calendar' and 'Financial' end of year dates were?

    I understand that buying and year-end sales routines are optional, but nevertheless I am pretty cross with myself for letting these routines lapse.

    If there is no cure here, it will take until the end of December and just close the calendar year then as normal and live with the fact that "Last year" will be two years ' worth of data?

    Should I seek to apply a new service pack / hotfix - I can't even my mind upward that, if all I should download and apply?

    Nothing is ever simple, unless maybe it's typing here!

    I know I asked a lot of questions and I thank you for taking the time to read this.

    Your impotent!

    Lynne

    Hi Lynne999,

    Thanks for posting your question in the Microsoft answers Forum. For questions about Microsoft Dynamics GP, visit the Forum Microsoft Dynamics GP here.

  • Why my phone was telling me my copy of windows and not authentic after two years? I tried a system restore but it did not help

    Why my phone was telling me my copy of windows and not authentic after two years?

    I tried a system restore but it did not help

    Hello

    1. Windows you receive not genuine error?
    2. Did you do any software or hardware changes on your computer before the show?
     
    Follow the below mentioned article:
    Genuine Windows: Frequently asked questions:
    http://Windows.Microsoft.com/en-us/Windows/help/genuine/FAQ
  • Why after a year Adobe CC that I pay for every month says that I have a trial even when I signed repeatedly in a day?

    Why after a year Adobe CC that I pay for every month says that I have a trial even when I signed repeatedly in a day?

    Hello

    Please check this Creative Cloud applications unexpectedly back in the test mode. CCM, CS6

    Let us know if this helps!

    Kind regards

    Sandrine

  • I'm new to the Adobe software. I want to buy Adobe after effects CC. I want to keep it for always after compensation for her. If I pay $20 each month at the end of the year I will still be able to keep the software without paying for it again (not to ment

    I'm new to the Adobe software. I want to buy Adobe after effects CC. I want to keep it forever after that I pay for it. If I pay $20 monthly for 1 year as he says, at the end of the year I will always be able to keep the software without paying for it again (not to mention the upgrade) and use it. If this is not how to pay for it and keep it forever, and how much it will cost me?

    sirnih4l wrote:

    I'm new to the Adobe software. I want to buy Adobe after effects CC. I want to keep it forever after that I pay for it.

    Is not possible. After effects CC is the only software to subscription. You pay each month and download all the updates that are included. But you never admit it.

    If I pay $20 monthly for 1 year as he says, at the end of the year I will always be able to keep the software without paying for it again (not to mention the upgrade) and use it.

    N ° after 12 months, you either renew your subscription or you cancel your plan.

    If you choose to renew then you keep paying your monthly fees. If you choose to cancel then the software will stop working until you choose to renew.

    If this is not how to pay for it and keep it forever, and how much it will cost me?

    There is no way to buy CC pure and simple and keep it forever.

    The only version you can afford and keep it forever is CS6 (the version before CC) available here

    Creative Suite 6

  • After several years of functioning, my Time Capsule shows a yellow flashing light instead of solid green light.  He always seems to be working, but watch the blinking light.  An update is necessary?

    Time Capsule.   After six years of good operation, my Time Capsule shows a yellow light flashing instead of green light solid.  It seems to work fine, and I tried l ' switch off and restart, nothing helps.  An update is necessary?

    The Capsule of time... and other Apple routers... flashing orange when they have a message for you. To see what it is...

    Open AirPort Utility on your Mac... (Finder > Applications > utilities > AirPort Utility)

    Click on the image of the Time Capsuleand a small window will appear

    If you see an Update button, then new firmware is available for the Capsule of time if you want to install this package. To do this, click on the Update button

    Otherwise, find the Status parameter and then click on the little orange dot it for more information on why the status light flashes, with a suggestion to fix whatever may be the cause

  • 2709W, found 1 sub-pixel dead red after 5 years. :-(

    Dear readers,

    As the perfectionist I am later that yesterday, I found 1 dead subpixel red somewhere at the bottom right of the screen. I checked the entire screen when I bought it new on the Dell site. Happy I was and I'm still with the monitor is it still possible to solve this problem? Guaranteed after 5 years should have disappeared, of course, but I'm just not used to happen with screens LCD after years. Usually the pixels continue to work after 24 hours of testing. I remember myself even check my monitor after 2 years of purchase and everything was always very well then.

    But yesterday, I really found a dead red sub-pixel, which annoys me because now I continue to watch (it's a habit that most share hehe). Is it possible to solve it yet or should I just live with it?

    It's a Dell Ultrasharp 2709W with 1920x1200dpi btw. I think that he is not a serial number, but I buy it through this site 5 years ago. Also in my account that order went as I can check only up to 2 years back...

    Thanks if anyone can help me. I use the monitor often nowadays and if there is still a change for me to make me happy again then I gladly hear then! Thanks in advance!

    So, essentially, you are implying that there is no guarantee even after 4 years of use, and when all the pixels were infact during this period, that it will not happen again?

    I've always heard after a good week of use when it is new, and all the pixels work at this time, that it is an indication, it will stay like this forever? Without no doubt... but it is quite low and sad and then because I'm always extremely careful with my stuff. The screen has not yet moved in the same place since the new condition immaculate so I wonder why this tiny red subpixel little says goodbye... for the rest, that this screen is in a State that it can be sold like new again. No difference to see. Not a scratch or anything else. Too bad because I was hoping it would be good so I can use it for many years without the dead pixels.

    So what can we do about it? I expect Dell to fix somehow, even after 5 years only (for evidence they take care care of other people and their good intentions.) I want to always use this screen without any pixel...

  • Backgound App should start after the device to start

    Currently, I made soft to work by clicking on it, now I want to do as a background

    Problem:

    (1) I want my app to start after starting the device is finished.

    Personally, I don't like the method of 'sleep' suggests BBDeveloper, and which is also in a KB article.

    Search the knowledge base for this and the reason why you may need to use alternatives.

    I'd rather have a listener and use the method of power if the unit is start-up.

    If this issue is related to a Thread of yours that I have already commented on, there is no need for you to worry if you are inStartUp or not - your background code will run OK.

  • Browser blackBerry Smartphones not working anymore after 2 years

    Hello

    I hope someone can help me with the following: after 2 years my internet browser no longer works on my BB curve 9300 (not via 3G, no WiFi). FB and Whatsapp still work.

    Now my smartphone is only half of a smartphone, so I hope that your team of professionals will be albe to help me in no time.

    Thanks a lot from the outset.

    From what you describe, I can only deduct that the Service books never happened to your BB... and if you waited the hour and then restarted. And even then your services were not working.

    Given this scenario, you next fall at what stage followed 3 in what I provided above... in touch with your mobile provider for formal support. Something went wrong turned into the connection between your device and your network of carriers... only they can watch their network to understand why this has happened and remedy.

    It is true that, in many markets service BB/BIS costs indeed data plans more 'generic'... it's because there's infrastructure that the carriers and the BB must provide/support so that the exclusive services of BB to function. Non - BB devices don't use this infrastructure, and so in many markets the carriers can get away with paying more for it. But this price is set by carriers (not all markets have a surcharge for BB services... services of BB to sell at the same price as non - BB... it varies).

    Good luck!

  • After 4 years, my InDesign CS 5.5 decided it was a 'trial' and denied me access!

    I'll try to be brief.  I am the first buyer and user of Adobe InDesign CS5.5 software.  I have the CD and the box, in that he came as the original packaging of Adobe PageMaker 6.5 that I originally bought it years before, but Adobe smoking review PageMaker, so I've upgraded to InDesign CS5.5.  Then return in March 2012, I chatted with Samantha at Adobe, and she helped get into market and recorded.  Today my Adobe account currently shows it as being registered for me on March 26, 2012.

    Here's my problem:

    Back on March 22, 2012, when I chatted with Samantha it was because I had been using PageMaker 6.5 without no trouble until I've upgraded Windows XP to Windows 7.  After the upgrade to Windows 7, PageMaker 6.5 work well.  PageMaker no longer be revised, I bought an upgrade Version of Adobe InDesign CS5.5.  I asked Samantha "until I have OPEN THE PACKAGE UPGRADE" if I installed it, it would work, and she told me that since I had bought PageMaker 6.5 as a stand-alone product, he would.

    Now quick before 4 YEARS and a half today and all of a sudden, I get a message that my "Trial Version" has expired.  After 4 years, he decides that it is a TRIAL VERSION AND DECIDE to expire?  Which makes no sense at all.  Since the upgrade to Windows 10 months ago, I've not had problems with my InDesign C5.5 software so far.

    After following the instructions gave me my last Chat session, I uninstalled version of InDesign C5.5 I used so I could upload another version, however, whenever I did it (at least five times now) I have to enter the serial number of my prior software.  Although software is a Version upgrade, so, apparently, that software is looking for another serial number that he never locates because of so of uninstalls and reinstalls.  The original serial number for PageMaker 6.5: [deleted by Moderator].  I tried to enter, but it does not recognize it or the software and there is no option to enter a serial number of PageMaker, a different number of InDesign.

    During my last Chat Session I even let Rohit M. take control away from my computer to see what he could do and still nothing has changed!  So after using this program for 4 years, the software I bought abruptly changed to a trial and the trial ended?  How ridiculous!

    It's especially aggravating being I am a retired senior of 72 year and only use it occasionally for some volunteer work I do, I am very familiar with how it works and it does everything I need to do I have no need, or desire, to subscribe and pay $240 per year for some fancy programs complex, confused I would hardly use.  I not had problems with my InDesign CS5.5 never same software after upgrade my PC to Windows 10 until this annoying message popped up.

    HELP Please: the simplest solution would be to get a serial number I can enter which will be recognized by my InDesign CS5.5 software when it starts, because it does not recognize the serial number of PageMaker 6.5 that worked when I loaded it originally more than 4 years ago.  Unfortunately I can't find any source where I can buy an older version of InDesign CS5.0

    If anyone has any idea how I can solve this dilemma it please let me know... Thank you!

    (Display of personal e-mail addresses is discouraged in public forums. Your questions will be answered here)

    Thank you for the update Richard.  I asked a member of our support team to contact you directly via phone number, that we placed on the record.

    I have check the InDesign CS5.5 upgrade serial number, ending with 5489, and it is still valid and available additional activations.  Once you are caught by the process of unlocking you must face no difficulty activation InDesign.

    If for any reason any that you do not receive an activation error then please see Advanced solutions to errors in connection with Adobe Creative Cloud and Creative Suite applications for more details on how to resolve the error of connection that can prevent activation.

    Please feel free to update this discussion if you have any questions or to face additional challenges.

  • How to cancel the LR renewal after 1 year plan?

    Hello

    I'll buy the cc of LR, but I intend to use it only for 1 year. I have read the term and the State said that Adobe will renew the subscription automatically. So, how can I cancel the LR renewal after 1 year?

    Thank you

    You can go to your account and click on the option to manage your plan. There is an option to cancel. Why is it you are wanting to cancel after a year?

  • High price after a year

    Hello

    I'm subscribing the cloud in terms of education, unfortunately after one year that my price is increased to 30 euros for 19 euro. Why?

    Promotion of the price for the first year

    See first point point https://creative.adobe.com/en/plans?plan=edu

    Click on the link 'view details '.

  • I am a student and I noticed that the amount of my renewal is about £30 more than it should, however, on the Adobe site, the packaging is the same price as it was last year, why am I being charged more?

    I am a student and I noticed that the amount of my renewal is about £30 more than it should, however, on the Adobe site, the packaging is the same price as it was last year, why am I being charged more?

    I really have enough because it's my budget next term as my deposit is taken.

    The first year of purchase still has the promotional prices, price changes when annual contracts ends.

    Concerning

    Stéphane

  • Student CC after 1 year membership

    I'm just finishing my student member CC, and I was wondering, if I continue to pay monthly fees of $30-ish, that come with subscription or can I it cancel after one month, for example?

    As far as I know, education subscriptions are for one year at a time... and you must cancel your membership before the end of your year so do not automatically renew according to the 2nd prize of the year

    When you purchase a subscription to education, the terms you "click to accept" should be clear about the first/last years

    -Intro price http://forums.adobe.com/thread/1448933?tstart=0 one can help

  • Options of evolution after 1 year of cloud CS6

    Hello

    I currently have CS5.5 Web Premium.

    My understanding is that I can get

    (option 1) CS6 Web Premium for $375

    or

    (option 2) Adobe Creative cloud for one year for $359,88.

    Let me state at the outset that I have not need, or want the rest of the CS apps, nor the cloud storage.

    After one year with option 1, I'm in a stable situation. If CS6.5 comes out, I can choose whether or not to upgrade. And if the past is any indication, this upgrade would probably be about $375.

    After a year, with option 2, the next year would be $599,88.

    So here's my question, if I have to cancel Adobe Creative cloud after the first year, which would be my upgrade for CS6.5 price?

    Or rather, here's the question: is there a way to upgrade subscription for the free subscription?

    Thank you.

    Hi TigerKR,

    Sorry for the delay. Currently, I am unaware of any upgrade of the reduction at the subscription long-term in perpetual change. This does not mean that the option will not be available, rather than the info on this are currently not available. Although a little more expensive, my recommendation if you're on the fence, maybe just try the monthly option of the creative cloud, he would give you the opportunity to try it to see if you like it with the long term commitment.

    -Dave

Maybe you are looking for