开发者

how to control sound in android? [duplicate]

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

上一篇:

下一篇:

精彩评论

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

最新问答

问答排行榜