My app writes files into a folder on the internal (or external) sd card but those files are not seen via MTP. I found a solution in Java to utilize MediaScannerConnection.scanfile(). Androidapi.JNI.Media contains TJMediaScannerConnection but I do not find any help on how to use it. An example would be appreciated.
0 comments:
Post a Comment