Questions tagged [android-dynamic-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); …
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…
2
votes
2 answers

App Actions: Displaying a widget in Google Assistant via a dynamic shortcut

My question is relatively simple considering the options shown in the official documentation and code labs but i've been struggling to make it work. I want to trigger a widget to be shown in Google Assistant via a dynamic shortcut. Seems pretty…
2
votes
5 answers

Adding textview inside a linearlayout of a dialog fragment inside a class in android

I have a layout with a scrollview. Inside it, I have a LinearLayout and Button.
1
vote
3 answers

ndroid.content.ActivityNotFoundException:

android.content.ActivityNotFoundException: Unable to find explicit activity class {com.myapp.videomodule/com.myapp.videomodule.VideoCallActivity}; have you declared this activity in your AndroidManifest.xml? My app package is…
0
votes
1 answer

How do I issue conversation notifications on Android 11, if I already have published 5 shortcuts?

According to “People and conversations”, one of the prerequisites for a conversation notification on Android 11 is the following: The notification is associated with a valid long-lived dynamic or cached sharing shortcut. The notification can set…
squirrel
  • 5,114
  • 4
  • 31
  • 43
0
votes
1 answer

How to force close/refresh the app's shortcuts menu?

I have an App Shortcut (See:App shortcuts overview ) that calls an activity that immidietly calls finish() (after changing a small thing in the shareprefs). so when I click on the shortcut - everything works, but the shortcut menu remains open. [The…
Wops
  • 983
  • 9
  • 23