Questions tagged [android-launcher]

An Android Launcher is the app responsible for showing the home screen, live homescreen widgets, wallpapers and displaying an app list. Unlike iOS, a launcher on Android can be provided by third party.

Launcher is the part of the Android user interface that lets users customize the home screen, launch apps, make phone calls, and perform other tasks.

The Android OS comes with a default launcher, but there are a number of alternative Launchers available for download on Google Play, and many OEMs replace the default with their own implementations.

704 questions
6
votes
1 answer

Set and unset default app in Android

I have an application which I am attempting to "enter Kiosk mode" with, however I only want it to occur on only one Activity. After tinkering around with some of the controls, I came up with Intent.createChooser(). What I am trying to do is once the…
Wakka02
  • 1,491
  • 4
  • 28
  • 44
5
votes
0 answers

adb shell dumpsys activity activities shows two instances of single task in separate stack

I have a main activity having intent with CATEGORY_HOME to behave like a launcher. It also has CATEGORY_LAUNCHER so that user can access from App Drawer. Here is the main activity: public class MainActivity extends AppCompatActivity { @Override …
5
votes
2 answers

How to customize this drawable with parameters in Android?

This is the xml of "mydrawable" which I'm using as background for buttons
5
votes
2 answers

How to prevent custom home launcher app restart activity?

I am working on my own home launcher replacement and it works fine but one thing bothers me. When I press a home key, current home activity (the one defined in manifest as main/defualt/launcher/home) restarts - current activity instance onpause is…
tiptop
  • 51
  • 1
  • 2
5
votes
0 answers

How to detect that default launcher app is changed

I have developed an app which is working as a launcher app. When the user removes my app from default launcher I need to know it. User can remove my app from default launcher in two ways: 1. Settings->Apps->Reset app preferences. 2.…
5
votes
3 answers

how to load app directly without launching homescreen

When android device power on, is it possible to load one specific application without launching home screen? How to make this change? Where to change code Setting permission as boot_completed works but before my application is loaded, the homescreen…
5
votes
2 answers

Android: launchMode singleTop not working if app opened from another app

I have an application, which misbehaves if started from another app (e.g. over the playstore). Instead of resuming to the already existing Activity, it restarts as a new instance. What I have: declared every activity with launchMode="singleTop"in…
longi
  • 11,104
  • 10
  • 55
  • 89
5
votes
2 answers

Android ICS widgets - listviews goes blank randomly (when launcher restarts?) RemoteviesService bug?

I've widget with listview inside and few times per day the listview items just disappears. I find out that it can be due to launcher restart - so I tried a little test. I manually restarted launcher, and it just confirmed my suspicion - it's…
qkx
  • 2,383
  • 5
  • 28
  • 50
5
votes
2 answers

Android launcher press home in launcher to go to default screen

In the default android launcher, pressing home while in another activity will start the launcher. Pressing home again while in the launcher will reset to the default home screen page. I don't understand how this can be done. Android sends the same…
kevdliu
  • 1,709
  • 4
  • 29
  • 46
5
votes
1 answer

How do I programmatically set the default launcher app?

Possible Duplicate: Android: change default Home Application I want to create a program like "Home Switcher" that can programmatically set the default launcher. I have no code written yet but can kind of figure out how to find the available…
Aerik
  • 2,307
  • 1
  • 27
  • 39
4
votes
0 answers

Android - clear the recent app list (shown after long HOME press)

I'm writing a custom launcher app. The problem is even after setting it as default, the long press of HOME button brings recent app list, including old launcher. Is it possible to clear the recent app list?
tomash
  • 12,742
  • 15
  • 64
  • 81
4
votes
0 answers

Android 11 device Not showing badge count

I am showing an android app to show the badge count on the app launcher icon. Tried in a different version but it's not working on Android 11. May I know, is there anything new API for the same on android 11? Code I used is given below : …
4
votes
0 answers

System forgets the default launcher setting (Some defaults keep) on Android 10 and 11

On Android 9 and previous versions, OS was keeping the Open by default setting as Some defaults keep if the user makes your app as the default launcher once. Thus, when the application was to become the default launcher for the second time, the…
Perihan Mirkelam
  • 526
  • 1
  • 5
  • 18
4
votes
1 answer

How to create a circular icon for my Android app?

I just swapped my android launcher icon(just learned how). I noticed MANY icons on my android are circular and I am wondering do I have to get an image done like that OR is there way I can have the launcher put the icon(a png with transparent…
Dean Hiller
  • 19,235
  • 25
  • 129
  • 212
4
votes
0 answers

How to override colorBackground attribute in DayNight theme Android?

I have written a custom style with the DayNight theme as a parent. I want to override the attribute colorBackground with my own attribute (eg: say Green color for Day mode and Blue color for Night mode). How to achieve it?