Ex: I want to start an activity at the end of the android boot, but I do not want it to be shown at this time (it's a service). However, when you click on the application icon, it should be displayed normally. I just want it to be invisible at boot time.
Example of use: I have an app and I want to start it in the android boot, but this option has to be chosen by the user (This I already solved).
I did this: I used the Receiver to call another activity at boot, regardless of whether or not the user has opted in. Then this activity reads the configuration file and checks the user's option. If it is NOT to start, then I close this activity (with finish ()). Otherwise, I'm launching my app. But my app already opens the window and stays open, wanted to start it type, "minimized" windows .. or otherwise.
Would anyone have a solution?