I have an app that reads a playlist, shows the playlist, and allows you to sort on the playlist. Now what I want to do is save this playlist back to the DB in that order. What I mean is, whenever I go into a music app, like BlackPlayer or Rocket Player, viewing the playlist would result in this sort that I applied in my app.
BlackPlayer accomplishes this with their sort by functionality, as it persists to other apps, so I'm trying to mimic this. Someone was very close to having the answer with my StackOverflow thread, but it appears these music apps do not respect the DEFAULT_SORT_ORDER... I'm assuming they respect how the data was originally inserted into the SQLite DB itself. I'm also assuming that BlackPlayer accomplishes this by overwriting the original SQLite file... or dropping it and reinserting each row.
Any help would be greatly appreciated.
BlackPlayer accomplishes this with their sort by functionality, as it persists to other apps, so I'm trying to mimic this. Someone was very close to having the answer with my StackOverflow thread, but it appears these music apps do not respect the DEFAULT_SORT_ORDER... I'm assuming they respect how the data was originally inserted into the SQLite DB itself. I'm also assuming that BlackPlayer accomplishes this by overwriting the original SQLite file... or dropping it and reinserting each row.
Any help would be greatly appreciated.