Sign Up

Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.

Have an account? Sign In

Have an account? Sign In Now

Sign In

Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.

Sign Up Here

Forgot Password?

Don't have account, Sign Up Here

Forgot Password

Lost your password? Please enter your email address. You will receive a link and will create a new password via email.

Have an account? Sign In Now

You must login to ask a question.

Forgot Password?

Need An Account, Sign Up Here

Please briefly explain why you feel this question should be reported.

Please briefly explain why you feel this answer should be reported.

Please briefly explain why you feel this user should be reported.

Sign InSign Up

The Archive Base

The Archive Base Logo The Archive Base Logo

The Archive Base Navigation

  • SEARCH
  • Home
  • About Us
  • Blog
  • Contact Us
Search
Ask A Question

Mobile menu

Close
Ask a Question
  • Home
  • Add group
  • Groups page
  • Feed
  • User Profile
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Buy Points
  • Users
  • Help
  • Buy Theme
  • SEARCH
Home/ Questions/Q 9002925
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: June 16, 20262026-06-16T00:38:20+00:00 2026-06-16T00:38:20+00:00

I am developing an Android Launcher (Home screen replacement) application and running into the

  • 0

I am developing an Android Launcher (Home screen replacement) application and running into the launcher getting killed in low-memory situations. This is obviously not great when the user returns home and has to wait.

In my research, I’ve found that Android classifies processes into several priority groups, from highest to lowest:

System

Persistent

Foreground

Visible

Perceptible

A Services

Home

Previous

B Services

Background

You can examine what processes fall under which by executing: adb shell dumpsys meminfo

The most comprehensive documentation I could find on this topic was: http://developer.android.com/guide/components/processes-and-threads.html#Lifecycle

However, it does not give a clear picture of all the groups mentioned above. Specifically,

  1. How/when is a process considered “Perceptible”? Some apps (such as the Go Launcher EX), seem to have figured out how to stay in this category when not in foreground. This way, it does not get killed as often. How are they doing it?

    I find from adb shell dumpsys activity that Go Launcher Ex is considered a foreground service. The only documentation I can find on this subject says that you need to put a persistent notification in the status bar. However, Go Launcher Ex somehow got around this requirement. I’m lost as to how:- (

  2. What’s the difference between “A Services”, “Home”, and “B Services”?

  3. Any other general advice for a launcher application on how it can gain higher priority than a regular app? I think this is a completely legitimate request given that a launcher should be considered higher priority than most things (except current foreground activity) for users.

  • 1 1 Answer
  • 0 Views
  • 0 Followers
  • 0
Share
  • Facebook
  • Report

Leave an answer
Cancel reply

You must login to add an answer.

Forgot Password?

Need An Account, Sign Up Here

1 Answer

  • Voted
  • Oldest
  • Recent
  • Random
  1. Editorial Team
    Editorial Team
    2026-06-16T00:38:22+00:00Added an answer on June 16, 2026 at 12:38 am

    to answer question 1) and 3)
    if you logcat -b events you can see those applications with priority perceptible indeed create a notification. But all properties (even contentView) set to null.
    So on my research for same problem I just tried to create an empty Notification and start my Service with it:

    startForeground(42, new Notification())

    and voilà: logcat says:

    I/notification_enqueue( 1607): [my.testapp.TestApp,42,NULL,Notification(pri=0 contentView=null vibrate=null sound=null defaults=0x0 flags=0x40 kind=[null])]
    

    and dumpsys meminfo:

    ...
    17539 kB: Perceptible  
         ...  
         6164 kB: my.testapp.TestApp (pid 25573)  
    ...
    

    I don’t think this is intended, and it should be understood that this should only be used if really really required. I don’t want to imagine every lousy service using this.

    • 0
    • Reply
    • Share
      Share
      • Share on Facebook
      • Share on Twitter
      • Share on LinkedIn
      • Share on WhatsApp
      • Report

Sidebar

Related Questions

While developing a Launcher (Homescreen) application for Android, I've come into a security exception
I am developing android web application for a blog like website. For this I
I am developing android application which requires user to Login. This application relies on
I am developing Android TextToSpeech app. This application is not working in Android 1.5
I am developing a buissness-application that is essentially a Home-screen, and is supposed to
I am developing Android application. In my application, I have to capture a screen
I'm trying to get into Android app developing. My first problem is actually getting
I'm developing android application with phonegap . Currently I'm facing one problem with inputbox
I'm developing android application for CAR usage and I need that in phone or
I am developing android application in which i have to open option menu from

Explore

  • Home
  • Add group
  • Groups page
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Users
  • Help
  • SEARCH

Footer

© 2021 The Archive Base. All Rights Reserved
With Love by The Archive Base

Insert/edit link

Enter the destination URL

Or link to existing content

    No search term specified. Showing recent items. Search or use up and down arrow keys to select an item.