Getting notification when the APP is closed (Android, iOS)

Hi
I'v been searching for a while with no luck. Is there a way to get notifications even when the APP is not opened.
As I can some native APPs have some kind of notification system which works even if the APP is not opened.
Is there a way to do that with AIR?
Thanks
Behzad

an event is dispatched if your open app is closed
NativeApplication.nativeApplication.addEventListener(Event.EXITING, onExit);
but it doesn't make sense to get notification of i-have-no-idea-what-you're-thinking when your app is already closed.

Similar Messages

  • How do I stop Messages notifications when the app is closed?

    Messages have an annoying tendancy to still "come through" even after I've quit the program, popping up in the right hand corner of my screen until I attend to them.  How do I stop this from happening?  There are many times in the day when I'd like to not receive messages from contacts/friends/families and just concentrate on work.  I can turn my phone off, silence it, etc. to stop messages from coming through there, but on my computer, where I am working, turning off the device in question is not an option.  With Messages on Mavericks, quitting the program doesn't seem to do the trick.

    Alternative.
    In Messages > Preferences > General Section.
    Untick the "When I Quit, Set the Status to Off Line"
    This will stop the IMAgent Support app "listening" to the servers for new messages.
    It works best if there is a Buddy list account as well as iMessages (such AIM or Jabber).
    9:33 pm      Wednesday; April 30, 2014
    ​  iMac 2.5Ghz i5 2011 (Mavericks 10.9)
     G4/1GhzDual MDD (Leopard 10.5.8)
     MacBookPro 2Gb (Snow Leopard 10.6.8)
     Mac OS X (10.6.8),
     Couple of iPhones and an iPad

  • How to not get notifications when the iOS app is closed

    I don't know if this is for everyone or just me. When I double click the home button and close skype I still get's messages. This is so annoying, I'm in a big group chat so I almost always get's messages. And turning on bussy doesn't work either or turning on sleep mode (sometimes sleep mode works). The only thing that has been working is turning on offline. I think this is really bad, just turning off the app should work. So does this this tace celuar network even when the app is closed? That truly SUCKS! I love the app othewise. Please fix this. I've a iPhone 5s

    Hi Krrrishna,
    >>How do I show all the toast messages received when the application was closed and when user clicks any on one of the toast message ? If that is not possible what is the workaround I can use so that I wont miss any of those messages ?
    In my experience, there is no direct way to handle multiple messages in the same time.
    If I'm not misunderstanding, I think you want to make a Message app, as a workaround, I think you can pull message data from your Mobile Service can display them in your Messages page, this is more like build-in message app.
    About using offline data sync in Mobile Services, see
    http://azure.microsoft.com/en-us/documentation/articles/mobile-services-windows-phone-get-started-offline-data/
    We are trying to better understand customer views on social support experience, so your participation in this interview project would be greatly appreciated if you have time. Thanks for helping make community forums a great place.
    Click
    HERE to participate the survey.

  • Get mail notification when mail app is closed

    Just wondering if I can get new mail notification when the mail app is closed (closed by cmd+Q)
    I knew this was not possible in previous versions. not sure about Yosemite.
    It might be good to be able to get such notifications similar to imessage/facetime/calendar as those apps need not to be opened while getting notifications.
    Thanks!

    Normally, Mail has to be open.

  • Can i get mail notifications when mail.app is closed?

    If mail.app is closed, emails wont pop up and notifiy me like in iOS, it seems to only fetch once mail.app is opened. I have put the settings to check for mail every 15 minutes. I have a hotmail and a yahoo account both enabled. Why is this ? Can someone help me with settings or something please?
    Cheers, itl would be greatly appreciated.
    Tom

    Keep mail running, you can close the window and still get notifications.

  • Why doesn't the Windows Live Messenger sounds work when the app is closed?

    I just got my iPod for Christmas and I downloaded Windows Live Messenger. I read the blurb about it and it said it will notify/alert me that I got an IM (Instant Message). I recieved one, not knowing until an hour later when I re-opened the app and THEN found out I got one. Can anyone tell me how to fix it? 

    There are other Mac/iphone/facebook type questions on here that are answered and the answers work.  So I assume eventually this one will too. People having issues with facebook compatibility and Safari for example.

  • How do i get a folio to default to the cover page when the app is closed and reopened.

    The folio i'm making is for a 'show and tell' sort of thing, it needs to be quite linear so has top start from the cover every time it's opened and then be read through. I know it's as easy as just using nav to return to cover but the people i'm making this for have 0 knowledge and 0 willingness to learn therefore i'd like the folio to reset to the cover page whenever the content viewer is closed and reopened.
    I had it working on a previous iteration but on my latest version it remembers what page i'm on when I reopen the viewer (logical and handy I know but not in this instance).
    Any help would be greatly appreciated.

    There is no way to do this automatically.
    Neil

  • Does the sharedObject get destroyed when the browser is closed?

    hey guys, so i just wanted to make sure that when my internet browser is closed it destroys or clears my sharedObject??
    right now i wasnt sure so im doing somehting like the following
    public var sharedObj:SharedObject;
    if(sharedObj != null){
         sharedObj.clear();
    sharedObj = SharedObject.getLocal(...);
    i just wnated to make sure that this is the most effective way to destory the sharedObject just in case there is one left in the browser...
    is there another way to make sure i clear the sharedObjects??

    hello cyber0897,
    No sharedObjects are stored in a cookielike textfile on the clients harddrive, As far as I know there is not an option like with cookies to be destroyed after the browser closes.
    The reset you wrote should be in another order:
    var mySharedObject:SharedObject = SharedObject.getLocal....
    //the above will never give null, because it is created when it doesnt exist.
    //the if (object != null) is useless because of the above, in your post it will be always null, since it is not instantiated...
    mySharedObject.clear();
    mySharedObject.flush(); //not sure if this is neccesary
    You could reset the sharedObject when initializing your application, but if you just want to store variables and get them wherever you need them in your app you could use the singleton class below
    Usage:
    <s:TextInput id="text1" text="@{PrefObj.instance.myString} />
    <s:TextInput id="text2" text="@{PrefObj.instance.myString} />
    (the @ only works in flex 4)
    PrefObj.as
    package
        import flash.events.EventDispatcher;
        [Bindable]
        public final dynamic class PrefObj extends EventDispatcher {
            private static var _instance:PrefObj = new PrefObj();
            public function PrefObj(){
                if (_instance != null){
                    throw new Error("PreferencesManager can only be accessed through PreferencesManager.instance");
            public static function get instance():PrefObj {
                return _instance;
            //add your variables here:
            public var myString:String = "";  

  • I remember when the app took forever to launch?

    Well, I just accepted it.   Recently OWC said that many Mac's could increase their DRAMM memory well past the limit set by Apple with no bad results plus it would make the Mac more efficient.  Well, I bot 2 8GB DRAMMs = 16GB memory & installed them.  WOW.  It indeed made my MacMini faster PLUS now InDesign loads almost immediately!
    Just thought someone out there might like to know.....
    I'm running CS6 Design Standard on a MacMini 2.7 (i75,2).  Apple states that 8GB DRAMM is the maximum.  Well, now I'm using 16GB!

    For the apps quickly closing see:
    iOS: Troubleshooting applications purchased from the App Store

  • When all apps are closed the text vanishes from my toolbar.  How do i get it back?

    When all the apps are closed the text vanishes from the tool bar at the top of the screen.  The apple icon is still there on the far left but clicking on it does nothing.  I can't log out!!!!

    How do I find that out? I just switched to Apple and am finding it really hard to find stuff.

  • How to create a Notification in the Action center when the app is in the suspended state...?

    Hi,
    I want to send a notification to the action center of Windows phone 8.1, when I get a callback from the lower layer code which I have registered for(I have implemented). I am able to do it when my app is in the foreground. How can I achieve the same when
    the app is in the background.(ie. in the suspended state)

    Yes Franklin, your understanding is correct. But I cannot use Push Notification, as it require a cloud server to send the raw notification.
    Is there any other method, which can be used to trigger the app (ie... the background service registered) to send a toast message, when app is in background. Trigger should be initiated by a lower layer service running as different process. I am looking
    for something similar to "Broadcast Receiver" in Android... 
    Hi Jose,
    >>But I cannot use Push Notification, as it require a cloud server to send the raw notification
    The Background Task is the only way to make things work in the background in Windows phone, it have some triggers we can use, such as
    SystemTrigger,
    TimeTrigger, or
    NetworkOperatorNotificationTrigger:
    https://msdn.microsoft.com/en-us/library/windows/apps/windows.applicationmodel.background.backgroundtaskbuilder.settrigger
    I would also recommend you to read this sample:
    https://code.msdn.microsoft.com/windowsapps/Background-Task-Sample-9209ade9
    We are trying to better understand customer views on social support experience, so your participation in this interview project would be greatly appreciated if you have time. Thanks for helping make community forums a great place.
    Click
    HERE to participate the survey.

  • My menu bar does not appear at the top of my homepage on a brand new 27" iMac only when i pull up an app. this does not allow me to shut down my mac when all apps are closed nor does it all me to use finder. any help would be awesome

    My menu bar does not appear at the top of my homepage on a brand new 27" iMac only when i pull up an app. this does not allow me to shut down my mac when all apps are closed nor does it all me to use finder. any help would be awesome

    Press the escape (esc) key to exit full-screen mode.

  • Can I receive messages from Skype when my ipad is in sleep mode and the app is closed?

    Ok, can I receive messages from Skype when my ipad and iPod touch are off, and the app is closed? Becuase my mom sent me a message and I did nott receive it. I have to have the app running or running in the background to receive messages. Is there a way to recieve messages when my ipad and ipod do NOT have the app running?

    The ipad may keep a connection alive in sleep mode.. but it should only use local connection AFAIK, and no internet content.
    I have a similar setup with iPad and although it has an IP it is not actually reachable on the network. I will track usage and see if it is actually using anything but I would doubt it.
    Now of course it may depend on what apps you have running. I really doubt the ipad will be using that much of your download unless you are watching movies on it.

  • My iPhone 4S register 3G data traffic even if all the app are closed

    My iPhone 4S registers 3G data traffic even if all the apps are closed: whenever I'm not under wi-fi I see the 3G icon lighted up whenever I go trough set icon, or calendar or message device...even if all these utilities doesn't require 3G data. If I just check mobile data consumption I see it increasing of few KB per time.
    I don't have neither push notifications nor location on, just I don't understand this phenomenon.
    Please...forgive me for my English...I'm writing from Italy and it's not so easy to explain what I'm talking about.

    I got...but whenever I open the setting icon, I see 3G becoming lit up and colored and..if I check "mobile data consumption" I can find out that this figure increases each time I check it...just going out and into again this section of the settings. Each time I send a message via SMS I see 3G icon colored and lit up again...even if I'm not using any data connection!!!!To avoid the problem I shut down mobile data conncetion when I don't need it and when I'm not under wi-fi...so I can't tell how much is the 3G traffic data generated during one day.
    Just I wanted to understand if there's a different method to avoid it...

  • Preventing MacBook Pro from sleepting when the cover is closed

    I'd like to prevent the system from sleeping when the cover is closed, at least when it is on the power supply.
    Right now, it sleeps whenever the cover is closed. As a result, my nightly backup (ordinarily scheduled for the wee hours) doesn't run.
    Also, I want to use the laptop at home with an external screen, keyboard and mouse, and it would be convenient to fold it up to get it out of the way when doing so.
    Thanks,
    -W.

    ' Overheating in clamshell mode is rearely an issue if you're running on the 9400M and the system- / resource-demands aren't particularly hectic. It is something one should always just keep an eye on though anyways - just to be safe, no?
    ' Otherwise - there is a pay-for (shareware) program you can download and install that will give you the facility you're looking for... I'm afraid I can't remember it's name right now though... Alternatively - and the solution I myself use - try downloading and using a mini-app called "InsomniaX" - for which I can't provide a link I'm afraid, but a Net-search will quickly turn up! It's freeware (donations possible but not required) and works great - a number of options available to tune it somewhat to your needs!
    ' This should help ya!
    ~Menageryl
    -Jack of All Trades, Master of Some!-

Maybe you are looking for

  • Availability of SAP Automotive and DBM

    Hello, We are looking for information regarding the availability of SAP Automotive and SAP DBM in the following countries (Romania, Poland, Slovenia, Slovakia, Hungary, and Russia). Could someone help us understand what the release plan for these pro

  • Not able to open a webi document in java

    final String CMS = "pundl10492:6400";           final String userID = "administrator";           final String password = "";           final String auth = "secEnterprise";           IEnterpriseSession enterpriseSession = null;           try          

  • SOAP Adapter - Error because of special character (u00FC - Umlaut) in payload

    Hello, We have a SOAP sync scenario. SAP -> PI 7.0 -> 3rd Party system We have a special character (ü - Umlaut) as part of the payload. When the message enters message pipeline in PI, I can see the payload XML till message branching step. From Messag

  • CLIENT_SEND_FAILED 500 Timeout Error

    Hi Guys, i am getting below error in PI MONI, can any one please help me how to resolve this isuue. This interface is File to Proxy(ECC). <?xml version="1.0" encoding="UTF-8" standalone="yes" ?> - <!--  Call Adapter   --> - <SAP:Error xmlns:SAP="http

  • Can I use this code to self Generate month ? ie Jan, Feb, Mar

    Hi can some one tell me is this possible to do. I am making a Date Of Birth using combo box�s this is the code I am using to generate the date. My question is can I use this for the month i.e. Jan, Feb, Mar etc private void DayOfTheMonth(int highNumb