I have a problem with changing the volume of a Blackberry game book. First, I repackage my Android app into a Palybook app. I need to change the volume of a Blackberry game book using seekbar and the seeklistener. I adjust the volume of the audio manager. Here is the code:
audioManager = (AudioManager)getSystemService(Context.AUDIO_SERVICE); seekbar.setOnSeekBarChangeListener(new OnSeekBarChangeListener() { public void onStopTrackingTouch(SeekBar seekBar) { // TODO Auto-generated method stub } public void onStartTrackingTouch(SeekBar seekBar) { // TODO Auto-generated method stub } public void onProgressChanged(SeekBar seekBar, int progress,boolean fromUser) { // TODO Auto-generated method stub audioManager.setStreamVolume(AudioManager.STREAM_MUSIC, progress, 0); }
But when I launch my application and change the search drum, the volume of the system (Blackberry playbook) does not change. This is due to the safety of the BlackBerry Palibooker
java android volume blackberry-playbook
User42590
source share