How do I start my app on startup?

前端 未结 8 1908
失恋的感觉
失恋的感觉 2020-11-22 01:06

I tried using the sample code in this link but it seems outdated and it did not work. So what changes do I have to make and to what files to have my app start automatically

8条回答
  •  没有蜡笔的小新
    2020-11-22 01:48

    screenshot

    I would like to add one point in this question which I was facing for couple of days. I tried all the answers but those were not working for me. If you are using android version 5.1 please change these settings.

    If you are using android version 5.1 then you have to dis-select (Restrict to launch) from app settings.

    settings> app > your app > Restrict to launch (dis-select)

提交回复
热议问题