[/code]"> [/code]"> [/code]">
I am using the following code successfully on Lollipop. But it is not working on Marshmellow. [code]for (int i = 0; i < all_track_size; i++) { SongDetailModel model = new SongDetailModel(); String path = SharedPreferenceUtil.getString("all_track_path" + i, ""); model.setSong_path(path); array_all_track.add(model); } if (array_all_track.get(pos).getSong_path().endsWith(".mp3") || array_all_track.get(pos).getSong_path().endsWith(".flac") || array_all_track.get(pos).getSong_path().endsWith(".wav")) { filePath = array_all_track.get(pos).getSong_path(); Log.d(TAG, " : SELECTED SONG : " + filePath); }[/code]


JLCPCB – Prototype 10 PCBs for $2 (For Any Color)

China’s Largest PCB Prototype Enterprise, 600,000+ Customers & 10,000+ Online Orders Daily
How to Get PCB Cash Coupon from JLCPCB: https://bit.ly/2GMCH9w

Syed Zain Nasir

I am Syed Zain Nasir, the founder of <a href=https://www.TheEngineeringProjects.com/>The Engineering Projects</a> (TEP). I am a programmer since 2009 before that I just search things, make small projects and now I am sharing my knowledge through this platform.I also work as a freelancer and did many projects related to programming and electrical circuitry. <a href=https://plus.google.com/+SyedZainNasir/>My Google Profile+</a>

Share
Published by
Syed Zain Nasir