Aw: Re: Troubleshoot SD-card access issue

karl-heinz-1950 at web.de karl-heinz-1950 at web.de
Sun Apr 15 17:45:56 UTC 2018


Thanks, a good start.

> Question 2: I am looking for the piece of code which is executed first on the phone when I click on that device in Dolphin. I assume it is somewhere in the Apache sshd. In other words, who is the first person touching that JSON?

> Packet being handled (after being routed to the plugin):
> https://github.com/KDE/kdeconnect-android/blob/master/src/org/kde/kdeconnect/Plugins/SftpPlugin/SftpPlugin.java#L65

You refer to method onPacketReceived. If I haven't made a mistake I would claim that the onPacketReceived method is only called when I click the very first time in Dolphin on the device. When I navigate back to my home drive (or any other PC local drive) and then go back to the phone device in Dolphin I don't see that onPacketReceived is being called again. I see in the debugger that all kind of other code is being executed, so the second time the directories are being displayed in Dolphin it is not taken from some local cache in KDE.

I assume that means there must be an earlier entry point in the android app. Should the kde connect app receive the same JSON message with startBrowsing true in the second access?

 


More information about the KDEConnect mailing list