[
https://issues.apache.org/jira/browse/CB-7334?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]
Jason Ginchereau updated CB-7334:
---------------------------------
Labels: Android (was: )
> Implement Workaround for Android Issue 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
> Labels: Android
>
> 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 workaround 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.3.4#6332)
---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]