• running in background?

    From Wendelin Uez@21:1/5 to All on Fri Jul 21 11:51:38 2023
    Some apps can receive news from their company server and show a message in
    the news list even if the app is closed, not active running.

    Are these apps always running in background and polling their servers, or
    does Android have a built in mechanism to receive such messages, add them itself to the list and start and inform the app when the message is selected
    by user?

    --- SoupGate-Win32 v1.05
    * Origin: fsxNet Usenet Gateway (21:1/5)
  • From VanguardLH@21:1/5 to Wendelin Uez on Fri Jul 21 07:12:58 2023
    Wendelin Uez <wuez@online.de> wrote:

    Some apps can receive news from their company server and show a message in the news list even if the app is closed, not active running.

    The app's *window* gets closed. It is still active in background until
    that memory is needed for a newly loaded app. The backgrounding is to
    effect an image that apps load faster, because they weren't unloaded in
    the first place.

    Not many, but some apps will have an Exit or Quit option. For example,
    Chrome does not, but Firefox has an option to Quit which actually
    unloads that app instead of backgrounding it. That makes it possible to
    use the purge-on-exit feature in Firefox to purge all locally cached
    data on its exit.

    Are these apps always running in background and polling their servers,
    or does Android have a built in mechanism to receive such messages,
    add them itself to the list and start and inform the app when the
    message is selected by user?

    Android does not exit apps on close, like Windows or Linux. Android backgrounds an app when you close its window, and the app remains loaded
    until another app is loaded that needs the memory whereupon Android will
    then unload the old backgrounded app. However, apps can designate
    themselves as "sticky" which means they cannot be unloaded. A sticky
    app that Android finds is missing will have Android reload it. Apps can
    also run as services.

    That's why app killer apps have a following. Some users don't want apps
    to get backgrounded and running. They want an Exit function just like
    they get with Windows and Linux. However, many users don't know how to
    use killer apps. They try to kill apps that are sticky or services, so
    the apps reappear right after using the killer apps. And users could
    end up killing the wrong apps, or just some of them. While a manual
    process, you can always go into Android settings -> Apps (or whatever is
    your navpath to get to apps), select an app, and use [Force] Stop to
    stop the app if it isn't sticky. The killer apps often do this
    automatically, you you tap a button in the killer app to kill the
    backgrounded apps. I so rarely have to kill an app, usually to force a
    reload, that I found killer apps to be more trouble than they're worth.

    Google is also coming out with auto-archive to free up storage space
    (not memory space per se). See:

    https://techcrunch.com/2023/04/11/google-launches-an-auto-archiving-feature-for-android-apps-to-save-space/

    Oh joy, to install a new app, and old app, on prompt, gets uninstalled
    but data saved in Google's cloud to reuse should you later decide to
    reinstall, er, again run the app (from "archive").

    No mention is this will be an OS think requiring some minimal version of Android, or if Google is adding more function to its Play Store app.

    --- SoupGate-Win32 v1.05
    * Origin: fsxNet Usenet Gateway (21:1/5)
  • From Carlos E.R.@21:1/5 to Wendelin Uez on Fri Jul 21 15:55:58 2023
    On 2023-07-21 11:51, Wendelin Uez wrote:
    Some apps can receive news from their company server and show a message
    in the news list even if the app is closed, not active running.

    Are these apps always running in background and polling their servers,
    or does Android have a built in mechanism to receive such messages, add
    them itself to the list and start and inform the app when the message is selected by user?


    Yes, Android has a feature to "push" messages to apps, even if they are
    not loaded.

    <https://www.airship.com/resources/explainer/push-notifications-explained/>


    Go and read on https://ntfy.sh/, you can create your own notifications :-)

    --
    Cheers, Carlos.

    --- SoupGate-Win32 v1.05
    * Origin: fsxNet Usenet Gateway (21:1/5)
  • From VanguardLH@21:1/5 to Carlos E.R. on Fri Jul 21 12:35:26 2023
    "Carlos E.R." <robin_listas@es.invalid> wrote:

    Wendelin Uez wrote:

    Some apps can receive news from their company server and show a
    message in the news list even if the app is closed, not active
    running.

    Are these apps always running in background and polling their
    servers, or does Android have a built in mechanism to receive such
    messages, add them itself to the list and start and inform the app
    when the message is selected by user?

    Yes, Android has a feature to "push" messages to apps, even if they
    are not loaded.

    <https://www.airship.com/resources/explainer/push-notifications-explained/>

    Go and read on https://ntfy.sh/, you can create your own notifications
    :-)

    Which can be disabled by going to Android settings -> Apps (or whatever
    is your phone's navpath to apps), select the app, go to Notifications.
    Disable all notifications, or just some if they are categorized.

    I have a few apps that are used as spam platforms. They want to spam me
    even when the apps are not in use, and aren't even loaded. The Disney
    app, for example, wants to send me offers. I can disable the Offers notifications. Instead I disabled all its notifications which some will
    get reenabled when I'm actually on a Disney trip. My grocery store
    wants to spam me via their app. There are no categories for
    notifications, so I disable notifications which means all types from
    that app. I have other apps that abuse the notifications feature, so I disabled notifications from those apps, too. For some apps,
    notifications are used for a good purpose, like confirming an order or announcing a package got delivered, but I don't need the app to bother
    me with those details, especially if I get e-mails on the same topics.

    Apparently since Android Oreo (8.0), an option got added to snooze notifications. Alas, it is only available on Pixel (Google) and Samsung smartphones. I have Android 8.0.0 on an LG V20, but there's no snooze
    option.

    https://www.howtogeek.com/699424/how-to-pause-notifications-on-android/ https://www.android.com/versions/oreo-8-0/

    --- SoupGate-Win32 v1.05
    * Origin: fsxNet Usenet Gateway (21:1/5)
  • From Carlos E.R.@21:1/5 to VanguardLH on Fri Jul 21 21:06:22 2023
    On 2023-07-21 19:35, VanguardLH wrote:
    "Carlos E.R." <robin_listas@es.invalid> wrote:

    Wendelin Uez wrote:

    Some apps can receive news from their company server and show a
    message in the news list even if the app is closed, not active
    running.

    Are these apps always running in background and polling their
    servers, or does Android have a built in mechanism to receive such
    messages, add them itself to the list and start and inform the app
    when the message is selected by user?

    Yes, Android has a feature to "push" messages to apps, even if they
    are not loaded.

    <https://www.airship.com/resources/explainer/push-notifications-explained/> >>
    Go and read on https://ntfy.sh/, you can create your own notifications
    :-)

    Which can be disabled by going to Android settings -> Apps (or whatever
    is your phone's navpath to apps), select the app, go to Notifications. Disable all notifications, or just some if they are categorized.

    I have a few apps that are used as spam platforms. They want to spam me
    even when the apps are not in use, and aren't even loaded. The Disney
    app, for example, wants to send me offers. I can disable the Offers notifications. Instead I disabled all its notifications which some will
    get reenabled when I'm actually on a Disney trip. My grocery store
    wants to spam me via their app. There are no categories for
    notifications, so I disable notifications which means all types from
    that app. I have other apps that abuse the notifications feature, so I disabled notifications from those apps, too. For some apps,
    notifications are used for a good purpose, like confirming an order or announcing a package got delivered, but I don't need the app to bother
    me with those details, especially if I get e-mails on the same topics.

    Apparently since Android Oreo (8.0), an option got added to snooze notifications. Alas, it is only available on Pixel (Google) and Samsung smartphones. I have Android 8.0.0 on an LG V20, but there's no snooze option.

    https://www.howtogeek.com/699424/how-to-pause-notifications-on-android/ https://www.android.com/versions/oreo-8-0/

    --
    Cheers, Carlos.

    --- SoupGate-Win32 v1.05
    * Origin: fsxNet Usenet Gateway (21:1/5)
  • From Joerg Lorenz@21:1/5 to All on Sat Jul 22 11:43:36 2023
    Am 21.07.23 um 14:12 schrieb VanguardLH:
    Wendelin Uez <wuez@online.de> wrote:

    Some apps can receive news from their company server and show a message in >> the news list even if the app is closed, not active running.

    The app's *window* gets closed. It is still active in background until
    that memory is needed for a newly loaded app. The backgrounding is to
    effect an image that apps load faster, because they weren't unloaded in
    the first place.

    Not many, but some apps will have an Exit or Quit option. For example, Chrome does not, but Firefox has an option to Quit which actually
    unloads that app instead of backgrounding it. That makes it possible to
    use the purge-on-exit feature in Firefox to purge all locally cached
    data on its exit.

    Background activity means something quite different. It means
    eavesdropping while fully closed. This can be stopped on a app by app
    bases. Exceptions are most communication applications.


    --
    Ut sementem feceris, ita metes (Cicero)

    --- SoupGate-Win32 v1.05
    * Origin: fsxNet Usenet Gateway (21:1/5)