Android service and activity question

Discussion in 'Android Hacks and Help' started by kevdliu, Aug 13, 2011.

  1. kevdliu

    kevdliu Member

    Joined:
    Jun 21, 2011
    Messages:
    36
    Likes Received:
    0
    Trophy Points:
    6
    Ratings:
    +0
    Hi,
    I am new to this whole app programming thing. I am trying to write a music player that can play music in the background. Therefore, I also need to write a service.

    I already finished the music playing part but I dont know how to use the volume rocker to change the media volume when the app is running in the background.

    I used: this.setVolumeControlStream(AudioManager.STREAM_MUSIC); to accomplish it in the app activity.

    Any help would be appreciated!
     
Search tags for this page
activity dialer in process com android
,

error message, activity music (in application music) is not