I developed an app for Android TV's and released. I want to know how many of the users are directly running the app on their TV's and how many using TV boxes.
Is there a way to detect whether my app is running on Android TV OR Android TV Box programmatically?
getPackageManager().hasSystemFeature("android.software.live_tv")