Skip to content
This repository was archived by the owner on Feb 27, 2024. It is now read-only.
This repository was archived by the owner on Feb 27, 2024. It is now read-only.

Unresolved reference: START_EXERCISE #39

Open
@Juileecp

Description

@Juileecp

I see this error : Unresolved reference: START_EXERCISE

Please find the code below for FitMainActivity.xml and shortcuts.xml. Am I missing anything here?

Screenshot 2023-03-29 at 2 18 28 PM

shortcuts.xml





<shortcut
    android:shortcutId="running"
    android:shortcutShortLabel="@string/activity_running">
    <capability-binding android:key="actions.intent.START_EXERCISE">
        <parameter-binding
            android:key="exercise.name"
            android:value="@array/runningSynonyms"/>
    </capability-binding>
</shortcut>

<shortcut
    android:shortcutId="walking"
    android:shortcutShortLabel="@string/activity_walking">
    <capability-binding android:key="actions.intent.START_EXERCISE">
        <parameter-binding
            android:key="exercise.name"
            android:value="@array/walkingSynonyms"/>
    </capability-binding>
</shortcut>

<shortcut
    android:shortcutId="cycling"
    android:shortcutShortLabel="@string/activity_cycling">
    <capability-binding android:key="actions.intent.START_EXERCISE">
        <parameter-binding
            android:key="exercise.name"
            android:value="@array/cyclingSynonyms"/>
    </capability-binding>
</shortcut>

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions