I plan to do an app which contains only one activity and without any app icon, where I need to open this activity by using the keypad. Say for example, whenever you dial 12345 my application activity should open without an app icon. Is this possible in Android? How?
I plan to do an app which contains only one activity and without any
Share
You must specify drawable resource for
android:iconattribute inapplicationelement ofAndroidManifest.xml. From documentation:But the drawable specified doesn’t need to be an icon. It can be defined as color in your resources:
And then specify it in your
AndroidManifest.xml:And you’ll see something like this in your application launchpad: