One screen Android installation?

I am trying to create a setting for my Android application that my users saw the first time they opened the application, but never again if they did not want to repeat the setting. How to create this activity as a first action without providing them with MAIN / LAUNCHER target filters? (I want to use them for my homework.)

+4
source share
1 answer

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.

+11
source

Source: https://habr.com/ru/post/1312576/


All Articles