I work in the automotive industry and we are using not Android mobile but we are using Android Automotive . In Android automotive you cannot have a launcher activity. Instead a service will be called by the OS. So in this service I want to start an activity to show a GUI. Is that possible ?? I tried it like that.
Intent dialogIntent = new Intent(this, AddressBookActivity.class);
dialogIntent.addFlags(Intent.FLAG_ACTIVITY_NEW_TASK);
this.startActivity(dialogIntent);
And in the emulator I use my gui was shown sometimes. But strangely it did not work all the time.