I'm developing an Android music player app that has a capability of saving playlists (collection of musics) to disk. However I got some questions, I have googled it but nothing can satisfy me.
Most of the tutorials/guide I found always use _ID (it has integer/long datatype as far as I can tell) to distinguish music files among each others. How unique is it?
The uniquenesses that I mean can be described like this:
- I found that the _ID seems like sequential numbers. What will happen if I add/delete a music, will another musics' IDs get changed?
- Is it safe to store my playlist data as a list of music IDs? Will the playlist get reserved with any user's changes to music files on disk?
Thanks.