How can I configure Launcher activity programmatically in android?

后端 未结 6 792
忘掉有多难
忘掉有多难 2020-11-30 09:56

I am working on an app with two activities : LoginActivity and MainActivity. When the user first opens the app he will login and his credentials (u

6条回答
  •  生来不讨喜
    2020-11-30 10:48

    An activity doesn't necessarily require a UI, so you can use the launcher activity in the manifest to lauch any activity you desire.

提交回复
热议问题