I am trying to build an android app that logs data from TV using AccessibiltyService and Foreground Service but it gives data only when i’ts visible
I want to make an Android app in Android Studio which keeps running in the background and collects all data from accessibilty service. It works when the app is visible but not when i press the home button. These are the codes i have implemented below :-