appactions-fitness-kotlin
appactions-fitness-kotlin copied to clipboard
A sample that shows how to make Android Apps available from the Assistant using App Actions.
**`val bii = optionsBundle.getString(AppActionsWidgetExtension.EXTRA_APP_ACTIONS_BII)`** When compile and run your code **bii** always return null in StatsWidget class ``` class StatsWidget( private val context: Context, private val appWidgetManager: AppWidgetManager, private val...
Fix: R class reference error. because package no specify. # Android Studio Version
# Crash Log ``` Caused by: java.lang.IllegalArgumentException: com.leoleo2.android.fitactions: Targeting S+ (version 31 and above) requires that one of FLAG_IMMUTABLE or FLAG_MUTABLE be specified when creating a PendingIntent. Strongly consider using...
action is running in the device via App Actions Test Tool but not working via voice or written commands in the Assistant. below all steps are perfect in my case...
The code at https://codelabs.developers.google.com/codelabs/appactions/#2 does not compile as is, and the "Warning" and modified directions at https://github.com/actions-on-google/appactions-fitness-kotlin are extremely unclear. For example, "How to use this sample Clone or download...
I see this error : Unresolved reference: START_EXERCISE Please find the code below for FitMainActivity.xml and shortcuts.xml. Am I missing anything here?  shortcuts.xml
https://docs.google.com/document/d/10n4NmN4xEDu5RevYq6ssNLXLPPpzUNCKIxrdk8sDhlI/edit?usp=sharing
Getting the below issue when I run the app Unresolved reference: FitMainActivity
1. Fixed build issue with the latest android studio 2. Updated the version of dependencies to the latest versions. 3. Made the code compatible with the latest version of dependencies....
I got stuck on 4th point of codelab Last version of android studio doesn't allow me to follow next steps, because it crashes internally  HOW TO...