I’m working on an app which is designed to run on any android device – so not just phones, but absolutely anything which uses android.
I can easily determine if it has video/camera capabilities in code, but cannot see anything similar that allows me to check for playback/record audio.
Without setting things in the manifest, is there a simple way to check is something can play and/or record?
Thanks
You can use the PackageManager class to check for most hardware features.
For example: