service - How can i get current playing song in Android programmatically -


i new android. working on music player. can load playlist , can play song until app running how can temporary playlist , current song detail when app restarted after closing.

use shared preferences or sqlite store lists , retrieve them whenever required. need use of persistent storage save play list or data , need fetch when app starts again.non persistent data gets destroyed once app gets killed.


Comments

Popular posts from this blog

python - pip install -U PySide error -

arrays - C++ error: a brace-enclosed initializer is not allowed here before ‘{’ token -

cytoscape.js - How to add nodes to Dagre layout with Cytoscape -