I've got a bug report that sound doesn't work on an ASUS Transformer tablet running 3.0.
I don't do anything too weird, just use MediaPlayer and it seems to work on a wide range of phones. However, I use the method described in this post to disable sounds if getRingerMode() returns something other than RINGER_MODE_NORMAL
. That way if the user has their phone on "vibrate only" they don't get surprising sound output (since media and ringer use separate volume controls).
Is it possible that on an Android tablet the getRingerMode() function returns RINGER_MODE_SILENT
if the tablet doesn't have phone capabilities?
EDIT: Just a note that on the emulator without changing anything I get RINGER_MODE_NORMAL.
EDIT 2: In a final act of desperation, I removed the ringer mode check and re-published on the Market. The guy has just confirmed that sounds now work. It seems that getRingerMode() returns something other than RINGER_MODE_NORMAL on some tablets at least.