If the onCreate Activity method starts another action, it seems that the first activity is not displayed.
So, make your real first activity a main / run program.
The onCreate method of this first step has a check on what configuration configuration should be present.
If the setting is not configured, start the installation.
Otherwise, the first action will be shown.
source share