Profile cover photo
Profile photo
Aravinda Dissanayaka
28 followers
28 followers
About
Aravinda's posts

Hi,

I would like to use the Fit History API in a background service component of my app. (Specifically in a class derived from WearableListenerService)

I only find samples which all use an Activity to connect and use GoogleApiClient and Fit APIs.

1. Is it possible to use Google Fit History API inside a service class? and any pointer to a sample?

2. If it is not possible what is the best way to achieve it?

Thanks in advance
Wait while more posts are being loaded