cordova-issues mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Marco Scholle (JIRA)" <j...@apache.org>
Subject [jira] [Created] (CB-7334) Implement Workaround for Android Iddue 38282 (Android MTP support does not show recent files until the device is rebooted)
Date Tue, 19 Aug 2014 12:02:18 GMT
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)

Mime
View raw message