How do I create a shortcut?

Minh Tung

New member
How do I create a shortcut?
Answer
To create a static shortcut, complete the following sequence of steps:
  1. 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.
  2. Create a new resource file: res/xml/shortcuts. xml .
27 дек. 2019 г.
 

Tìm kiếm

Back
Top