开发者

how to control sound in android? [duplicate]

开发者 https://www.devze.com 2023-02-28 07:38 出处:网络
This question already has answers here: Closed 10 years ago. Possible Duplicate: Volume Control in android application
This question already has answers here: Closed 10 years ago.

Possible Duplicate:

Volume Control in android application

i m making an app for music player and i want to increase and decrease volume by using hardware buttons on mobile开发者_运维百科. so pls tell me any code to do this.


TRY TO Use

 Context.getSystemService(Context.AUDIO_SERVICE) 

to get an instance of this class.

FOR MORE INFORMATION ,CLICK HERE

0

精彩评论

暂无评论...
验证码 换一张
取 消