questions of behavior to listener/notification

I have a few questions about the behavior of listeners/notifications that I was hoping that someone had the answer to.  The end result is I'm trying to configure the system so that every day the guests I coded (global contextual modal form) don't stack up if the unit has been turned off or ignored for a series of days.  I would like a single guest waiting for the user, wherever they move to research.

I went with the model by which this application autostart is always running (thanks to peter_strange, your posts on this topic simplified my life) but just in the background at the venue closed.  The listener that interests me is a RealtimeClockListener even though I have a listener to push both running.

1. I saw it somewhere here that some listeners do not require the application to stay running.  What it means the System instantiates an object of the type registered?  The realtime should the app to continue running? (mine will be so it's more for the love interest)

2. I guess that if the listener requires the application to always run it reminds the same object that registered it rather than a new instance of the object, so it seems dangerous to use some sort of Member of the Forum to follow if I already have a popup pushed.  Is it a correct assumption?

3 I saw written somewhere on this forum when a device has a regular power down (as opposed to a battery pull) is actually still on and some processes are still running.  Does anyone know if the listener in real-time is still going and the application is notified and who responded to the questionnaire every minute?

Thanks for any comments or corrections.

Tim

I don't understand what you're saying with regard to the realTimeClockListener interface.

However I tested it myself.  I started an app with an active CCF, then press the poweroff.  Then when the computer reboots, the listener of the RTC got hit during the next minute.  So basically it hibernates.  It's a relief, I would have had to recode a number of applications...

You are right, acceptsForeground is called before the activate, so if you want a ribbon icon, it is probably better to put up with the fact that it is visible in the background all the time.

Tags: BlackBerry Developers

Similar Questions

  • I have an upgrade question. I received a notification when I connected my computer to the internet that Lightroom 5.7.1 was available

    I have an upgrade question. I received a notification when I connected my computer to the internet that Lightroom 5.7.1 was available had merge to HDR & Panoramic photos. I can't find these. Where can I find them.

    It is unfortunate that Adobe has chosen to use the "update" in the notice inside LR 5. It is not an "update". It is an 'upgrade '. Thus, you pay if you want. Also as usual, Adobe directs clients to the CC solution and makes it hard to find perpetual license option.

  • Question related to Oracle LISTENER

    Hello

    I read the document s/n of 2 days (chances are that you already know).

    Page 4-5 he gives instructions on how to stop the listener using EM. I have followed the instructions and stopped the listener. It was a complete success :)

    I thought that, since the listener has now ceased, that the connections at the base could not be carried out.

    To test this thought, I started SQL * more and tried to log in to SYS as sysdba. To my surprise, it worked. I also tried with SCOTT, who worked as well.

    I thought that if the listener is not up, connections to the database could not do. I think I know, the listener is what connects a client process to a corresponding server process.

    My questions are:

    1. How am I able to connect to the database if the earpiece is down?
    2. What does the auditor really? (apparently what I thought he did, is not what he really does)

    This can be important, I have the host and the client on the same machine.

    Thank you for your help (again!)  :)

    John.

    The auditor serves only connections from remote computers. If you try to connect locally to the machine running the DB, it bypasses the listener.

    Guy

  • Question of the remote listener

    Dear Experts,

    In my * 11 GR 2 * database - ORCL (node 4 CARS), I remote_listener and local_listener as below:

    I understand 1521 is the default listening port. I have a server (prodsrv2) remote where the oracle client is installed and the plug sockets in the ORCL base that runs in prodsrv1. Is this average tnsnames.ora on prodsrv2 must have 1521 as the only listed port while communicating to the ORCL database?
    SQL> show parameter remote_lis
    
    NAME                                 TYPE                             VALUE
    ------------------------------------ -------------------------------- ------------------------------
    remote_listener                      string                           prodsrv1:1521
    
    
    SQL> show parameter local_lis
    
    NAME                                 TYPE                             VALUE
    ------------------------------------ -------------------------------- ------------------------------
    local_listener                       string                           (DESCRIPTION=(ADDRESS_LIST=(AD
                                                                          DRESS=(PROTOCOL=TCP)(HOST=161.
                                                                          222.59.68)(PORT=1521))(ADDRESS
                                                                          =(PROTOCOL=TCP)(HOST=161.222.5
                                                                          9.68)(PORT=6057))(ADDRESS=(PRO
                                                                          TOCOL=TCP)(HOST=161.222.59.68)
                                                                          (PORT=6052))(ADDRESS=(PROTOCOL
                                                                          =TCP)(HOST=161.222.59.68)(PORT
                                                                          =5458))))

    In my 11 GR 2 - ORCL (node 4 RAC) database, I remote_listener and local_listener as below:

    Is this average tnsnames.ora on prodsrv2 must have 1521 as the only listed port while communicating to the ORCL database?

    If the scan is set up then you do a connectivity with listener to scan, you can check the scan as a listening port
    srvctl config scan_listener

    http://www.Oracle.com/technetwork/database/clustering/overview/scan-129069.PDF

  • Question 11 GR 2 listening port

    We had 7 DBs from gr 10 2 House. I improved all of these DBs to 11.2.0.2. Now, the new House of 11.2, I created one called earpiece
    lsnrcommon11g 
    but that is in place, not being any IE database
    The listener supports no services
    Content of the listener.ora
    lsnrcommon11g =
     (DESCRIPTION=
      (ADDRESS_LIST =
          (ADDRESS =
              (PROTOCOL = tcp)
              (HOST = manh289.gpac.net)
              (PORT =  27845)
          )
      )
     )
    ADMIN_RESTRICTIONS_lsnrcommon11g=ON
    Now what do I to get all these 7 DBs is served by the listener of GR 11, 2?

    GarryB wrote:
    We had 7 DBs from gr 10 2 House. I improved all of these DBs to 11.2.0.2. Now, the new House of 11.2, I created one called earpiece

    lsnrcommon11g 
    

    but that is in place, not being any IE database

    The listener supports no services
    

    Content of the listener.ora

    lsnrcommon11g =
    (DESCRIPTION=
    (ADDRESS_LIST =
    (ADDRESS =
    (PROTOCOL = tcp)
    (HOST = manh289.gpac.net)
    (PORT =  27845)
    )
    )
    )
    ADMIN_RESTRICTIONS_lsnrcommon11g=ON
    

    Now what do I to get all these 7 DBs is served by the listener of GR 11, 2?

    Put it on the standard port 1521 for instances can register free with her
    Or set the parameter "local_listener" in each database.

    I prefer the first. Why you are wanting to run your listener on 27845

  • question of behavior of fringe color picker...

    When I click on the fringe color selector/eye drops it will not disengage when I say base or any of the other signs... I choose another tab in the Panel of optical Correction, profile or manual, and then it turns off... This is not normal, is it?...

    Oh, can someone please point me to a place where this new color Panel is explained... with the exception using the eye dropper, I can't understand it...

    Thank you...

    ESC key to clear.

    http://blogs.Adobe.com/lightroomjournal/2012/04/new-color-fringe-correction-controls.html

    Frans

  • Question about the listener and the process server in dedicated server mode

    Hello

    The Oracle documentation says that, when a client connection request is received on the server, the receiver creates a process server who will work with the database instance to perform the tasks requested by the user/client process. So far, everything was good.

    Now, when the user is on the Oracle himself server, the listener didn't need to run to establish a connection to the database. Therefore, it is possible to stop the Listener and not always connect using sqlplus and a valid username and password.

    In the case above, the question is: if the listener does not work, what/who created the process server that communicates with the instance of the database on behalf of the user? In other words, in the normal case, the listener could get the request and create the server process. When the listener does not work what part of the Oracle Gets the requests and creates the server process?

    Clarification on how this case is handled are very much appreciated, thank you,

    John.

    440BX - 11 GR 2 wrote:
    Hello

    The Oracle documentation says that, when a client connection request is received on the server, the receiver creates a process server who will work with the database instance to perform the tasks requested by the user/client process. So far, everything was good.

    Now, when the user is on the Oracle himself server, the listener didn't need to run to establish a connection to the database. Therefore, it is possible to stop the Listener and not always connect using sqlplus and a valid username and password.

    In the case above, the question is: if the listener does not work, what/who created the process server that communicates with the instance of the database on behalf of the user? In other words, in the normal case, the listener could get the request and create the server process. When the listener does not work what part of the Oracle Gets the requests and creates the server process?

    John,

    I guess that you have asked the same thing in a different form in another thread. In the case, when the process of the user and the server is to be on the same side, the communication done by using the Protocol bequeth and the user, since it is not not going to use a (@) sign, he would use a default service for connected sys$ users .

    HTH
    Aman...

  • Questions 2 blackBerry Smartphones

    I have 2 questions. I received a notification from facebook and can't remove it how to do this? I can delete any emails, other facebook notifications just not this one.

    question 2 what is a DNS error, I get this message from Pandora trying to open it

    OK... first things to try... I suggest the following, in order, even if they seem redundant to what you have already tried (steps 1 and 2, each should result in a message to your BB to come):

    (1) registry HRT

    • Homescreen > Options > Advanced Options > host Routing Table > (it matter little what line is current) > sign up now

    (2) Service reference books

    • KB02830 Send the directories for the BlackBerry Internet Service

    (3) restart to take batt

    • Each time a random strange behavior or slow creeps, the first thing to do is a battery pop reboot. With power ON, remove the hood back and remove the battery. Wait a minute, then replace the battery and cover. Power on and wait patiently through the long reboot - about 5 minutes. See if things return to functioning. Like all computing devices, BB suffers from memory leaks and others... with a hard reboot is the best remedy.

    If that does not work, then do other using data-plan services work? E-mail? Web browsing? Facebook? Etc. ?

  • iPhone will not make a sound notfication during locking of all sound notifications through Apple Watch

    How can I make a sound on one or the other or both

    using iOS 10 & watchOS 3

    Hello, GoldenOreo!

    Thank you for using communities Support from Apple. After reading your post, I understand that when your iPhone is locked, you only receive notification alerts on your Apple Watch and want to know your options with these notifications. I'd be happy to help you!

    Take a look at the following article, what you feel is expected behavior.

    Notifications on your Apple Watch

    I recommend take a glance through this article, so you can become familiar with how everything works, and what your options are.

    See you soon!

  • Message Notification has stopped working on the upgrade of Maverick

    New Message of Notification stopped working since I upgraded in Maverick.

    Help, please...

    I found the 'solution' of my problem. It has been... 'My State '! I put it to "DND" and the app stop all notifications!

    It is not intuitively!

    Developers of Skype, please inform users about this behavior in the Notifications on Preferences tab!

  • Publish all getting calls when you listen to songs via WiFi

    Hello guys,.

    I'm using iphone 4 iOS 7.1.2 having.

    I recently came across a question while I was listening to music online of savan via WiFi,

    I've been listening to songs through the speakers, and at that time there, there were appeal form someone.

    I received the call, but when I took on appeal in the background songs of savan also plays from the speakers.

    It's very irritating, and to stop the song for this times, I turned off WiFi.

    I met same question several times.

    Is there a solution related to this?

    Thanks and greetings

    Kaushal Patel

    Hi kp220690,

    I understand that the Saavn app does not stop when a call comes in. Let's see if we can get it worked.

    In general it should pause the currently played track if you can take the phone call. In case it is not, you can switch to the application and pause the song or close in multitasking. You can close and app of double pressing the home button and then drag upward on Saavn.

    Multitasking
    http://help.Apple.com/iPhone/7/#/iph1a1f981ad

    I know that is it app works as expected, you can try some troubleshooting in the article below. I know he's talking to the apps crashing, but it is relevant for applications that do not work proerply. He will have to leave you out of the app in multitasking, restart your iPhone, and then remove the application to download again.

    If an application you have installed unexpectedly closes, unresponsive, or does not open
    https://support.Apple.com/en-us/HT201398

    Nice day

  • HP update notifications

    I get the occasional pop ups on my HP Windows PC. The pop-up will show you an update from HP is available. It says "you want to download and install the updates now?  Very nice... but... There is no provision of this HP window click Yes or no. In addition, the only way to close this window pop is to restart my PC.

    I call support on this strange issue. After several minutes, the agent told me that there is a problem with Dell. My HP printer was not purchased from Dell. It was purchased from Staples. The support updating indicator is HP.

    All I can say is that it was strange support for a simple question on this HP update notification and why it does not work.

    Any comments from anyone? Maybe I'm the only one with this strange happening. Who knows? If I get more update these pop up offers from HP, I'll just ignore it and restart.

    Thanks for your reply. After that I posted this question in this forum, I was able to finally make the phone contact with a supervisor manager at HP support. As it is, my printer is not supported in more software updates, and I was directed to the Windows Control Panel and delete the file "HP Update" that there are listed. The supervisor said that will put an end to these operations update which really would not work in all cases because of the age and printer HP em on my all-in-One 6310 some time. No more concerns.

  • Windows Server 2003 can - Planning Department - he listens to external connections?

    Good afternoon

    I used Netstat on my server and found that the calendar (svchost.exe) has a status of "Listening" - my question, is this service 'listen' internally for a command, etc., or by another party outside?

    THX

    Hello

    Try to post in one of the forums server.

    Post your question in the TechNet Server Forums, as your question kindly is beyond the scope of these Forums.

    http://social.technet.Microsoft.com/forums/WindowsServer/en-us/home?category=WindowsServer

    See you soon.

  • Activate the Push Notifications on door Android

    I have questions about the push notification in Android Application (.apk door to .bar).

     


    After reading "creating Push-Enabled Android Apps" and following the steps:

    1. Generate the android app and the sign;
    2. Porting of the apk using command line tools (apk2bar.bat);
    3. Add android.cfg in .bar  
      
      
         
            MY_APPID
            http://cpMY_APPID.pushapi.eval.blackberry.com
         
      
      

      and include clear permission (Entry-Point-System-stock: _sys_use_consumer_push)

    4. Sign the .bar using command line tools (batchbar - sign .bat);
    5. Installation using command line tools (blackberry - deploy.bat) .bar on BlackBerry (Dev Alpha B);

    QUESTIONS

    1. The steps are correct?
    2. On the device, the application must appear in the notification configuration? (Settings > Notifications > Notifications / alerts)
    3. Send the process, statements:
      Response CODE: 1001
      Response DESC: The request has been accepted for processing.
      

      It's okay?

    1 yep

    2. notifications! = Push. If you have any questions about the integration of Notifications please report it to the Android Council

    3. it is the answer for a valid push message sent

  • Push notification to groups of BES to MDS

    Hello

    Ich have a small question. My Application sends notifications of type push to one or several groups of BES.

    This works well as long as the name of the Group has no spaces in the name as 'Test Group'.

    I have test it with the following to the URL:

    http://10.40.0.25:8080 / push? DESTINATION = $TEST & PORT = 100 & REQUESTURI = /.
    Return value: 505 / HTTP Version not supported

    http://10.40.0.25:8080/push?destination=$test%20Group&port=100&REQUESTURI=/
    Return value: 403 / forbidden

    Can someone help me?

    Thanks in advance

    Benjamin

    Hi Benjamin,

    You're targeting 20,000 users in a unique environment? Are all the user managed from a simple LOW?

    A Central push server can be set up to reach all users of an MDS instance, but 20 000 growth would cause stress. I suggest that additional tests and see how performance is affected before trying with the full 20,000.

Maybe you are looking for

  • How to uninstall TOSHIBA Bluetooth Stack and all the drivers?

    Hello! I installed TOSHIBA Bluetooth Stack of [here | http://aps2.toshiba-tro.de/bluetooth/?page=download] or, more precisely of the [here | http://aps2.toshiba-tro.de/bluetooth/?page=download-toshiba] (8.00.12 |) Windows 2000 / XP / Vista / Windows

  • W510 usb ports problem

    Hi all I have a W510 machine which has 4 usb ports, including 2 3.0 ones (blue marker), 1 still active (marked in yellow) and usb-eSata port a combo. They are all works well with data transfer, but I'm not sure that they do with the power supply matt

  • wireless clients do not receive correct dhcp addresses

    Hi all, I'm sorry first if this is a stupid problem. I am new to Cisco network. I need assistance with an existing configuration made by my seller. Environment: 1 core switch - 6509e catalyst VLANS configured: a. vlan 50 (wireline customers) 10.0.50.

  • Two-factor auth for a pool only

    HelloWe have an environment VMware view Horizon 5.2 running with a connection to the server and a matched security serverEverything works fine.Now we intend to introduce (smsotp) two-factor authentication, but only for a poolIs this possible?Can we a

  • Premiere Pro

    Premiere Pro said: third payload Installer vcredist_x64.exe failed with exit code: 2147942750