How can we add different sound to spinner (music play)
I would like to create am timer application(with alarm) for android mobile . I can able to make timer with one sound. By storing the .mp3 in Raw folder
A drop down which con开发者_如何学Ctain sound list would be interesting. Bt in android their is no drop down option. I found Spinner is helpful in this.
Problem:= How can we add different sound to spinner...
Check out RingtonePreference it includes all the code you need, and you don't have to code the play on option change etc... Thus the saving and reading is done for you too in your application only preference file.
精彩评论