How do I create a shortcut?
Answer
To create a static shortcut, complete the following sequence of steps:
Answer
To create a static shortcut, complete the following sequence of steps:
- In your app’s manifest file ( AndroidManifest. xml ), find an activity whose intent filters are set to the android. intent. action. MAIN action and the android. intent. category. LAUNCHER category.
- Create a new resource file: res/xml/shortcuts. xml .