android - Adding direct dial shortcuts to my app -
I'm creating an app that can launch other apps I like to launch apps using spinners, However, I would also like to give the user the ability to directly dial it.
As is, right now, I can configure the "Hot Key" button that the user can currently configure, when the user wants to configure any of these "hot keys", then I use the spinner So that they can choose all installed apps on their phone. For beginners, I like it if they can see both the applications and shortcuts installed in the spinner so that they can map one of these "hot keys" to the direct dial.
So my main question is, how can I see all those defined shortcuts and execute them and how can I create my own direct dial in my app?
To dial a number directly
startActivity (new intent (Intent.ACTION_CALL, Uri.parse ("tel:" + NUMBER));
Comments
Post a Comment