Jump to content
Carried10

"create standard Android shortcuts"

Recommended Posts

I have been a long time Poweramp user. Combined with Tasker, it's a vital part of my life. The v3 update broke some communication with Tasker (and plugins). Recently, Tasker and plugins have been fixed, but to complete optimization, Tasker(AutoShortcuts) needs Poweramp to "create standard Android shortcuts".  Please add this functionality to Poweramp. Thanks!

Screenshot_20190202-110400.png

Share this post


Link to post
Share on other sites

I turned to KWGT to work around the broken Tasker shortcuts. Those also didn't work. I asked KWGT if there was anything they could do to fix it. Their response is that

its a Power Amp issue, the playlist shortcut doesnt return a valid data object usable with:

getParcelableExtra(Intent.EXTRA_SHORTCUT_INTENT);

 

I hope this helps return this functionally. Thank you for your attention and efforts!

Share this post


Link to post
Share on other sites

Let me check this shortly. Please note that Android shortcut functionality was changed between Android 7 -> 8. Poweramp supports both variants as required by launchers.

Also Poweramp v3 supports everything  in it’s API that v2 supported and more. There are restrictions and limitations imposed by new sdk target (Poweramp has sdk target=29 so it’s on edge), but most intents work without changes or with little tweaking.

PS I checked that Tasker plugin (AutoShortcut) and it seems it uses old API, which is not working anymore starting from Android 8 (SDK=26). Poweramp still uses old API on devices with Android 5-7, but it's can't use old API on Android 8+, as shortcuts won't be created.

@Carried10 On Android 8+ this is different intent (see here if interested http://androidxref.com/9.0.0_r3/xref/frameworks/base/services/core/java/com/android/server/pm/ShortcutRequestPinProcessor.java#289) and even if I add EXTRA_SHORTCUT_INTENT it won't work, unfortunately (tested).

Share this post


Link to post
Share on other sites

Hello, 

 

I have the same kind of issue with automation apps like Automate, Tasker, Automagic, IFTTT, Macrodroid, Automatelt. All these automation apps return errors when trying to use Poweramp playlist shortcut because they couldn't obtain a path for the playlist selected.

I understand the point about APIs versions but I guess all these apps cannot be wrong at the same time, no? So maybe there is other issue about the shortcut method?

Any help on this?

Thanks a lot!

Share this post


Link to post
Share on other sites

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Guest
Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.


×
×
  • Create New...