Antennapod: App shortcuts

Created on 9 Jan 2020  路  3Comments  路  Source: AntennaPod/AntennaPod

App version: 1.8.0-RC8 (from Google Play)

Problem you are having: Some other apps has the feature like below:

| Castbox | Pocket Casts |
|--|--|
| Castbox | PocketCasts |

I don't use app shortcuts much, but It would be helpful for others.

Suggested solution: Add some static shortcuts

<shortcuts xmlns:android="http://schemas.android.com/apk/res/android">
    <shortcut
        android:enabled="true"
        android:icon="@drawable/ic_list_grey600_24dp"
        android:shortcutId="queue"
        android:shortcutShortLabel="@string/queue_label">
        <intent
            android:action="android.intent.action.VIEW"
            android:targetClass="de.danoeh.antennapod.activity.MainActivity"
            android:targetPackage="de.danoeh.antennapod">
            <extra
                android:name="fragment_tag"
                android:value="QueueFragment" />
            <extra
                android:name="nav_type"
                android:value="0" />
        </intent>
    </shortcut>
   ... // other shortcuts
</shortcuts>

Screenshots / Drawings / Technical details:

I'm thinking of implementing the following shortcuts,

AntennaPod

  • Queue
  • Episodes
  • Subscriptions
  • Add Podcast

is that enough?

All 3 comments

Cool idea, I would like to add "refresh" to the shortcuts

I like the idea. I am not sure if "Add postcast" is actually used so often that it needs to have a shortcut.

@callis

add "refresh" to the shortcuts

That's nice! I'm trying to implement that.

@ByteHamster

I am not sure if "Add postcast" is actually used so often that it needs to have a shortcut

That's true.

I'll send the PR in a couple of days including:

  • Queue
  • Episodes
  • Subscriptions
  • Refresh
Was this page helpful?
0 / 5 - 0 ratings