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
Post a Comment