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:
- Action: ACTION_MAIN
- Category: CATEGORY_DEFAULT
- Category: IOT_LAUNCHER
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.