Android Question Physical Activity Recognition Detection - Error with API31

brunnlechner

Member
Licensed User
Longtime User
Hello Erel,
can you update the "Physical Activity Recognition Detection" class, so that it also works with API31?

V3.00 - new version, sample https://www.b4x.com/android/forum/threads/physical-activity-recognition-detection.42481/

Error with API31
Caused by: java.lang.IllegalArgumentException: b4a.example: Targeting S+ (version 31 and above) requires that one of FLAG_IMMUTABLE or FLAG_MUTABLE be specified when creating a PendingIntent.

Thank You
Franz
 
Cookies are required to use this site. You must accept them to continue using the site. Learn more…