for my application, i want to write a custom DialogPreference to make sure the user can set his desired preference for streaming music.
Looking for solutions on the internet, i found a VolumePreference as an implementation of a SeekbarPreference coming from the Android Project here: http://hi-android.info/src/android/preference/VolumePreference.java.html
Looking into the API I wondered why I couldn´t find anything like SeekBarPreference. Why this?
Using the Android? VolumePreference, the dialog really pops up and plays some music, but it seems to be much to silent.
Can anybody help me?
The class is in Android, but it is marked with the
@hideannotation, indicating that it is not part of the SDK. Most likely, there are some lingering API issues with it that they might clean up someday before making it available.You are welcome to copy the
SeekBarPreferenceandVolumePreference(also marked with@hide) into your own project, move them into your own package, and modify them to suit.