Questions tagged [android-static-shortcuts]
7 questions
6
votes
1 answer
Android dynamic shortcuts not opening proper activity second time
Hi I am developing shortcuts for android application. My code looks like
private void setShortMenu() {
ArrayList shortcutInfos = new ArrayList<>();
Intent intent = new Intent(this, SampleActivity2.class);
…

nilkash
- 7,408
- 32
- 99
- 176
4
votes
2 answers
How to make a round icon for shortcut
I'm trying to add Android shortcuts into the application, including dynamic shortcuts and icons for them will be created from bitmaps. Right now it looks like this:
As you can see, the dynamic shortcut icons have a square image in center, but I…

Danil.B
- 880
- 1
- 11
- 23
2
votes
3 answers
Uploading *.aab bundle to Google play console Problem
Uploading react native app bundle to Google play console for testing but it shows me : You uploaded an APK or app bundle with a shortcuts XML configuration with the following error: Element '' is missing a required attribute,…

Rahul
- 59
- 1
- 4
2
votes
1 answer
Implement Share App Facility in static Shortcuts
I was trying to implement "Share App" facility as App Shortcut in Android (like iOS platform). This facility must exist immediately after installing even without opening app. I want to know how I can use this intent in shortcut xml file:
Intent…

Nava
- 368
- 2
- 11
1
vote
1 answer
Error with shortcuts static to show in the launcher
I was following the official documentation for making shortcuts to show in the launcher. When I start testing I get this error. How can I fix it? what am I doing wrong?
Error:(6, 23) No resource found that matches the given name (at 'icon' with…

Nicola Chiari
- 259
- 2
- 5
- 18
0
votes
0 answers
How to define specific keywords to open the app from the google assistant without saying app name by using shortcuts.xml in android?
I want to open my application to its launcher screen by speaking a specific keyword[which is not app name]. According to Android shortcuts for Assistant | Session (please check from duration 7:10 mins), this is achievable but I am not able to find…

Jeet Raval
- 62
- 5
0
votes
1 answer
Android start static app shortcut
Past few days I have been trying to figure out how to start app shortcuts added in Android API 25 and I have been somewhat successful. Starting some shortcuts like Google Play Music's work without problem I'm guessing because these shortcuts are…

Ivan Marincic
- 58
- 2
- 7