android - SDCard not accurate -


i working on basic music player obtain songs on sdcard. @ stages , i've encountered slight problem. whenever run app on phone gets songs on sdcard great. when run app on teachers phone gets internal storage directory , not sdcard path. have implemented environment.getexternalstoragedirectory , still returns content on interal memory. there way can fix problem?? oh , way teacher's phone samsung s3.

so there no direct solution external sdcard path samsung s3?

no. moreover, should not need it. "basic music player obtain songs" should using mediastore, not scanning external storage directly. not faster, on many devices, mediastore have indexed alternative storage locations (e.g., removable media) you.


Comments

Popular posts from this blog

html - Sizing a high-res image (~8MB) to display entirely in a small div (circular, diameter 100px) -

java - IntelliJ - No such instance method -

identifier - Is it possible for an html5 document to have two ids? -