0 like 0 dislike
473 views
in TPS900 by Q&A Engineer (5.3k points)
by Q&A Engineer (11.3k points)
0 0
Good

Please log in or register to answer this question.

1 Answer

0 like 0 dislike
by Q&A Engineer (5.3k points)
Before set your app as launcher please consider a way to quit your app in case you couldn't quit your app any more.

Set your app as launcher:

<intent-filter>

                <action android:name="android.intent.action.MAIN"/>

                <category android:name="android.intent.category.LAUNCHER"/>

                <category android:name="android.intent.category.HOME"/>

                <category android:name="android.intent.category.DEFAULT"/>

            </intent-filter>

Set your app as default launcher:

Intent intentlauncher = new Intent("android.intent.action.launcher");

        intentlauncher.putExtra("application","com.telpo.tpui/com.telpo.tpui.UserDeskActivity");// here is your packagename and the launcher activity name

        sendBroadcast(intentlauncher);

Related questions

0 like 0 dislike
1 answer 240 views
0 like 0 dislike
1 answer 493 views
0 like 0 dislike
1 answer 515 views
asked in TPS900 by Hofer Q&A Engineer (5.3k points)
0 like 0 dislike
1 answer 1.1k views
0 like 0 dislike
1 answer 101 views
0 like 0 dislike
1 answer 317 views
0 like 1 dislike
1 answer 261 views
Welcome to Telpo Q&A,

If you have a technical question ,please ask here, in English.

If you have faulty devices need be repaired,please create a issue ticket.

Please inquiry your ticket.

Notice :If you have an urgent question or cannot register account of Q&A, you can contact the online support in below jivochat .

Categories

...