You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@cordova.apache.org by "Marco Scholle (JIRA)" <ji...@apache.org> on 2014/08/19 14:02:18 UTC

[jira] [Created] (CB-7334) Implement Workaround for Android Iddue 38282 (Android MTP support does not show recent files until the device is rebooted)

Marco Scholle created CB-7334:
---------------------------------

             Summary: Implement Workaround for Android Iddue 38282 (Android MTP support does not show recent files until the device is rebooted)
                 Key: CB-7334
                 URL: https://issues.apache.org/jira/browse/CB-7334
             Project: Apache Cordova
          Issue Type: Improvement
          Components: Plugin File
    Affects Versions: 3.5.0
         Environment: Any Android Version using MTP
            Reporter: Marco Scholle


Link to Android Issue:
https://code.google.com/p/android/issues/detail?id=38282

This also applies to cordova, making it impossible to export a file using the file api/plugin and afterwards copying it to a PC using MTP.

A wourkarounf mentioned in the issue is "to add the following code after every file close (https://code.google.com/p/android/issues/detail?id=38282#c2):
MediaScannerConnection.scanFile(this, new String[] { file.getAbsolutePath() }, null, null);





--
This message was sent by Atlassian JIRA
(v6.2#6252)