EDIT: I should have mentioned this already, but I\'m running this code in a service. The entire app is turned on/off by a widget button and has no activity.
Make Sure to use the RECORD_AUDIO permission.