You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@cordova.apache.org by "ASF GitHub Bot (JIRA)" <ji...@apache.org> on 2018/02/26 14:30:00 UTC

[jira] [Commented] (CB-7487) Writing a file doesn't show up on android MTP

    [ https://issues.apache.org/jira/browse/CB-7487?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=16376949#comment-16376949 ] 

ASF GitHub Bot commented on CB-7487:
------------------------------------

tvanesse commented on issue #81: CB-7487 [Android] Broadcast file write
URL: https://github.com/apache/cordova-plugin-file/pull/81#issuecomment-368520653
 
 
   Hey guys,
   
   I'm still experiencing the same problem with `5.0.0` when the Android device is connected to a Raspberry Pi 3 running standard Raspbian. That is, the Raspberry can't see the file over MTP unless the Android device is rebooted or the file is manually renamed from the native Android file browser.
   
   Do you know how I could get this to work with the Pi?

----------------------------------------------------------------
This is an automated message from the Apache Git Service.
To respond to the message, please log on GitHub and use the
URL above to go to the specific comment.
 
For queries about this service, please contact Infrastructure at:
users@infra.apache.org


> Writing a file doesn't show up on android MTP
> ---------------------------------------------
>
>                 Key: CB-7487
>                 URL: https://issues.apache.org/jira/browse/CB-7487
>             Project: Apache Cordova
>          Issue Type: Bug
>          Components: cordova-android, cordova-plugin-file
>    Affects Versions: 3.4.0
>         Environment: Nexus 5 and Windows 7
>            Reporter: David Peacock
>            Assignee: Ian Clelland
>            Priority: Major
>
> Using the file plug-in to write out a file works, but when you use MTP to view the file when connected to USB on Windows the file doesn't show up.  
> The file shows up on the device or through adb.  Rebooting the device or using things to refresh the MTP will have the file appear.  This was tested on multiple Nexus 5 devices on multiple Windows 7 machines.
> Cordova should be broadcasting ACTION_MEDIA_SCANNER_SCAN_FILE on the file to have it appear immediately.
> I will be submitting a pull request on the file plug-in for a fix I've tested and confirmed that resolves this issue.



--
This message was sent by Atlassian JIRA
(v7.6.3#76005)

---------------------------------------------------------------------
To unsubscribe, e-mail: issues-unsubscribe@cordova.apache.org
For additional commands, e-mail: issues-help@cordova.apache.org