您可以輕鬆地控制你的鈴聲音量和鈴聲配置文件
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.