I was going through the sample program of Android things and i have found 2 there.
One was having <category android:name="android.intent.category.LAUNCHER" />
and another was having <category android:name="android.intent.category.IOT_LAUNCHER"/>
, So what is the basic diffence between both of them?
reference link
The documentation states:
An application intending to run on an embedded device must declare an activity in its manifest as the main entry point after the device boots
The Activity declared as IOT_LAUNCHER
will automatically start, when the device boots.
The definition in AndroidManifest.xml
must contain the intent filter with 3 elements:
Look here for more info.
There is nothing that prevents you from declaring the same activity as a default start Activity
to be run from Android Studio. The same Activity
would be run a boot and by a programmer.
Please find below difference between IOT_LAUNCHER
and LAUNCHER
:
IOT_LAUNCHER:
This intent is for Android Things which is an extended Android Framework for Internet Of Things(IOT) which is used for embedded programming using Android. Please check this link for more information.
LAUNCHER:
This intent is for normal Android application which is for mobile and Tablet Device.
There is also one more intent action which is, LEANBACK_LAUNCHER
used for Android TV applications.
Google Play store filters applications using this intent actions only.
Thanks.
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With