Hey guys,
So I've made a launcher which lists installed packages and then lets you launch them (as launchers tend to do...). The problem is that certain apps don't launch - such as the default dialer and a few others.
The problem I think is with pm.getapplicationintent(packagename). In other words, doing this doesn't let me start the dialer:
Dim il As Intent
il = pm.GetApplicationIntent (PHONE PACKAGE)
StartActivity (il)
But this does:
Dim inn As Intent
inn.Initialize(inn.ACTION_VIEW, "tel:")
StartActivity(inn)
The same problem exists with a number of other apps...
I'm not sure how other launchers get around this issue, but the best way I can think to figure it out is to list what intents a given package accepts and then shoot off one of those. Is there a way I can list the intents that a package will accept? And if not, what other method can you guys recommend? Thanks so much in advance!