We deployed our app on amazon and sometimes we are getting null
when retrieving the audio output sample rate from the audio manager on a kindle.
Our code is (more or less as follows:
AudioManager audioService = (AudioManager) myApp.getSystemService(Context.AUDIO_SERVICE)
int sampleRate = Integer.parseInt(audioService.getProperty(AudioManager.PROPERTY_OUTPUT_SAMPLE_RATE));
Our app sometimes crashes when parsing - complaining about NumberFormatException originating from a null value it got.
Are there some known issues with kindle or amazon devices in this area ?