Hi, reposting my comment on my other post with pictures for a clearer description.
Hi, reposting my comment on my other post with pictures for a clearer description.
What if it’s a particular activity you want to launch instead? For example opening the dialer instead of the contacts tab in the contacts app?
The thing is, I also have Nova Launcher Prime installed on my device. I can add a Nova Activity shortcut that could open the dialer instead, but I can’t seem to recreate that using the script.
]]>« New to LL, how do i create an icon layout for portrait and landscape? (Previous Post)
(Next Post) New 2016 Home Screen….. »
< ![CDATA[
TrianguloY
]]>
< ![CDATA[
Pierre Hébert Could you add a Dialpad link into LL action/shortcut
We have direct call but not the dialer
]]>
< ![CDATA[
https://play.google.com/store/apps/details?id=com.sika524.android.quickshortcut is the app you need. It seems to do the same as that nova feature, but as a separate app you can use it everywhere (where you can choose a shortcut) including lightning launcher.
]]>
< ![CDATA[
Hi, thanks for the help! Would check this out and see if it works. Thanks again!
]]>
< ![CDATA[
TrianguloY checked this app and I can’t do any shortcut to dialer. To favorites only
]]>
< ![CDATA[
It worked! Thanks!
Extra info: It worked but not in the way it was expected :)) I was able to use the info (package,class name,etc.) provided by the app and substitute it with the strings in the Recent Activity toggle script.
Here’s the script:
var intent = new Intent(“LAUNCH_SHORTCUT”);
intent.setComponent(new ComponentName(“com.android.contacts”,”com.android.dialer.DialtactsActivity”));
LL.startActivity(intent);
It’s kind of tricky though because sometimes it would show up the logs tab instead of the dialer, but that’s okay because once you click the dialer tab, the next time you run the script it would open up in the dialer.
]]>
< ![CDATA[
Tried your script and nothing launched
]]>
< ![CDATA[
Maybe you have a different package name? I’m not really sure
]]>