Questions tagged [pinned-shortcut]

Pinned shortcuts are shortcuts used for specific, user-driven actions.

9 questions
15
votes
1 answer

How to remove pinned shortcuts?

Background Starting from Android O, it's possible to create pinned shortcuts, which (on supported launchers) show a dialog to confirm the creation of them: ShortcutInfoCompat pinShortcutInfo = new ShortcutInfoCompat.Builder(context,…
android developer
  • 114,585
  • 152
  • 739
  • 1,270
8
votes
7 answers

How to remove the badge in app shortcut icon?

How to remove the badge in app shortcut icon in android? When i create app shortcut programmatically, along with the icon specified for shortcut, app icon comes at the bottom-right corner of the icon. I don't want that badge. Here is the code I…
Athira
  • 1,177
  • 3
  • 13
  • 35
4
votes
0 answers

Registering Launcher to accept Pinned Shortcuts

I am creating a custom Android launcher. I want it to support Pinned Shortcuts. When calling ShortcutManager.isRequestPinShortcutSupported(), it returns false even though my custom launcher is the default. What do I need to do in order to allow my…
3
votes
0 answers

Remove app icon in Android O pinned shortcuts

In Android O new pinned shortcuts API has been introduced. In additional they simple block old way (via "com.android.launcher.action.INSTALL_SHORTCUT" action). At the end this API works but new pinned shortcut icons have app icon at the bottom…
Alex Tern
  • 96
  • 5
2
votes
2 answers

How to create android pinned shortcuts of chats in my flutter app?

I am coding a chat app for my project. I want to include the WhatsApp like functionality where we can create home screen shortcuts of chats by clicking on Add shortcut. There was no plugin so I thought of using PlatformChannel and invoking native…
1
vote
0 answers

My application's instance icon changes to the main executable file's icon when I pin it to the taskbar

I am running two instances of the same executable file with different command-line arguments for the target path. As shown below During runtime, I have set different icons for each instance, and I have set the default icon for the main executable…
1
vote
2 answers

Why my code is not launching the pinned shortcut of my App in Android 8+ (Oreo+)?

I'm trying to pin some dynamic shortcuts of my app, they are going to be created when the user creates a Custom time. I have two version of the code, which I am launching the code from a WebView using a JavaScriptInterface, but none of them is…
1
vote
0 answers

How to remove pinned short cut badge in Android Oreo?

How to add screen shortcut in Android Oreo, I tried dynamic, static and pinned shortcut methods, but only pinned shortcut is comes in the home screen while installing the application along with the badge icon, The problem is I can’t remove or hide…
0
votes
1 answer

How to create pinnedshortcuts in flutter

I searched all around but had no luck. There is no package that can help you create pinned shortcuts. Quicklinks and flutter_shortcuts are of no use. They both come with poor documentation and no support. The email mentioned there not reachable as…