문제

I have a very naive question. I've written a program which lists down all the installed applications in my Android OS [I've got total 339 in my case]. But in the Launcher [In my case TouchWiz Home] only 148 application Icons are shown.

My Question is: How does the launcher[TouchWiz Home] decide which app icon to show or not in Launcher?

도움이 되었습니까?

해결책

Launcher will show those activities that have the following intent filters declared in the app's manifest file

 <intent-filter>
        <action android:name="android.intent.action.MAIN" />
        <category android:name="android.intent.category.LAUNCHER" />
    </intent-filter>

다른 팁

When a developer publishes an app, he/she can decide if app has "launcher" icon(set a launcher intent in manifest file which is embedded in the APK).

Other apps maybe services or other kind of apps that has no launching behavior.

라이센스 : CC-BY-SA ~와 함께 속성
제휴하지 않습니다 StackOverflow
scroll top