
public class
android.view.VolumePanel
java.lang.Object
android.view.VolumePanel
Handle the volume up and down keys. This code really should be moved elsewhere.




plusminus wrote:Hello sfalbo,
you are probably talking about the VolumePanel-Class, right
Tha Android-JavaDoc says:public class
android.view.VolumePanel
java.lang.Object
android.view.VolumePanel
Handle the volume up and down keys. This code really should be moved elsewhere.
Example-Code could be sth. like this, but the Class definitely needs to be changed/put somewhere elsebecause the sense already is somewhere else
Using java Syntax Highlighting
VolumePanel vp = new VolumePanel(this, a, b, c){ @Override protected void onVolumeChanged(int index, int volume, int flags){ } };Parsed in 0.033 seconds, using GeSHi 1.0.8.4
Regards,
plusminus

Return to Other Coding-Problems
Users browsing this forum: No registered users and 11 guests