question

qtoppler avatar image
qtoppler asked

Detect microphone availability?

Is it possible to detect microphone availability? I use this for other Android devices and assumed it works (though all the test devices have a mic): PackageManager pm = FlipActivity.this.getPackageManager(); micAvailable = pm.hasSystemFeature(PackageManager.FEATURE_MICROPHONE); The Kindle Fire (2nd gen) is also returning 'true' but as far as I know it doesn't have a mic... just a mic jack. How do we determine whether the mic is available?
fire tablet
10 |5000 characters needed characters left characters exceeded

Up to 2 attachments (including images) can be used with a maximum of 512.0 KiB each and 1.0 MiB total.

StephenC@Amazon avatar image
StephenC@Amazon answered
Thanks for bringing this to our attention. The Kindle Fire 2 (non-HD) does not have a microphone. I'm sending this information to the proper team in Amazon for resolution. One way to get around it is to treat the KF2 as a special case in your code.
10 |5000 characters needed characters left characters exceeded

Up to 2 attachments (including images) can be used with a maximum of 512.0 KiB each and 1.0 MiB total.

qtoppler avatar image
qtoppler answered
What's the best way to do this check? Ideally so I don't have to update the code for each iteration of the Kindle Fire that may continue to have this issue?
10 |5000 characters needed characters left characters exceeded

Up to 2 attachments (including images) can be used with a maximum of 512.0 KiB each and 1.0 MiB total.

Dixith@Amazon avatar image
Dixith@Amazon answered
Yeah, If you mean to check the special case of Kindle Fire HD for detecting microphone, one way you can do this is by using Build Class in Android. This will help you to identify device model and other details, based on this you can check in your code for HD device. Below is the link for Build class in Android. http://developer.android.com/reference/android/os/Build.html
10 |5000 characters needed characters left characters exceeded

Up to 2 attachments (including images) can be used with a maximum of 512.0 KiB each and 1.0 MiB total.

qtoppler avatar image
qtoppler answered
Dixith, we only have a Kindle Fire (gen 2). Do all Kindle Fire's have this issue? Will they continue to have this issue, or will it be fixed in software?
10 |5000 characters needed characters left characters exceeded

Up to 2 attachments (including images) can be used with a maximum of 512.0 KiB each and 1.0 MiB total.

Dixith@Amazon avatar image
Dixith@Amazon answered
Hi gtoppler, In kindle Fire family, only Kindle Fire( Non HD) 2nd Generation device is having this issue. We have send the Kindle Fire 2nd generation issue to the Kindle Team for resolution.Please check the Kindle Fire specifications link below. https://developer.amazon.com/sdk/fire/specifications.html
10 |5000 characters needed characters left characters exceeded

Up to 2 attachments (including images) can be used with a maximum of 512.0 KiB each and 1.0 MiB total.

1ska avatar image
1ska answered
I have heart that it's possible to use a external microphone with the Kindle Fire. Is there a way how I can handle this?
10 |5000 characters needed characters left characters exceeded

Up to 2 attachments (including images) can be used with a maximum of 512.0 KiB each and 1.0 MiB total.

Dixith@Amazon avatar image
Dixith@Amazon answered
Thank you for your post. Currently we don't have any API to handle external microphone with KindleFire. We have forwarded your suggestion to concerned team.
10 |5000 characters needed characters left characters exceeded

Up to 2 attachments (including images) can be used with a maximum of 512.0 KiB each and 1.0 MiB total.