Addded support for versions below 2.2.
SoundMeter only measuring when device is onPause().
Added some permissions in Manifest