您可以轻松地控制你的铃声音量和铃声配置文件
In order to use AndroidManager class, you have to first create an object of AudioManager class by calling the getSystemService() method. Once you instantiate the object of AudioManager class, you can use setRingerMode method to set the audio or ringer profile of your device.