Android platform ambient noise detection