Hello. I'm getting ready to release a game that's compatible with both touchscreen devices and Android TV devices. On Android TV, the gameplay isn't suitable for control with just a dpad, so I'd like to add <uses-feature android:name="android.hardware.GAMEPAD" /> to my manifest so that buyers can see that up front and (presumably) will be stopped from buying it if they don't have the appropriate hardware.
But the problem is that the game also has touchscreen controls for phones and tablets, so on those devices the gamepad isn't required. What I'd really like to be able to do would be to say that *either* a gamepad or a touchscreen are required, but there doesn't seem to be a syntax for that. I thought that using multiple APKs might do the trick, and I set up one with the Android TV LEANBACK_LAUNCHER intent filter and with gamepads set to required, and another without the Android TV intent filter and with gamepads set to optional. Unfortunately, though, when I uploaded them to my draft entry on Google Play, both APKs showed compatibility with the same number of devices, so it seems that the filtering doesn't currently work to separate an Android TV build from a build for other devices. Is there any other way of achieving this, other than just being clear what the requirements are in the Play listing and hoping people read it? :) -- You received this message because you are subscribed to the Google Groups "Android Developers" group. To post to this group, send email to android-developers@googlegroups.com To unsubscribe from this group, send email to android-developers+unsubscr...@googlegroups.com For more options, visit this group at http://groups.google.com/group/android-developers?hl=en --- You received this message because you are subscribed to the Google Groups "Android Developers" group. To unsubscribe from this group and stop receiving emails from it, send an email to android-developers+unsubscr...@googlegroups.com. For more options, visit https://groups.google.com/d/optout.