Newbie here. I’ve built a simple app to launch 2 applications installed on the android device to launch in a split screen set up. When I use the directory “com.Title” it works for some app and not all? Is there a permission or something simple I’m missing?
I used the below call to the directory to assign the preselected apps to a value to launch. This works for certain applications but not all even though they are in stalled on the device. I get my error Toast “App not installed” when trying to launch some apps
private lateinit var prefs: SharedPreferences
private val preselectedApp1 = AppInfo(
"com.title1",
"com.title1.MainActivity",
)
private val preselectedApp2 = AppInfo(
"com.title2",
"com.title2.MainActivity",
New contributor