Support SD cards
Closed this issue · 13 comments
Would be nice if pixelmate supported SIM cards in addition to data on the actual device, similar to what Android File Transfer supports.
Hi @jhalterman,
Are you referring to transferring data on the SIM card? I didn't see that option in Android File Transfer. Can you post a link or screenshots?
Arg - my mistake - I meant SD cards :) At the top of Android File Transfer there's a tab that lets you select between the internal storage and the SD card, like this:
Hi @jhalterman,
That is a great suggestion!
Do you happen to know the paths for each storage partition? Pixelmate by default sets the root to /sdcard
which appears to be the internal storage?
Yea - I get internal storage using pixelmate. I'm not sure how to access an SD card.
Sadly the path to the external storage is not always the same and varies according to different phone manufacturers. Obviously you are using Pixelmate on a different phone than the Google Pixel because that phone doesn't have an SD card slot. Which phone are you using?
I'm using a Galaxy S9. A quick check with adb: /sdcard
symilinks to /storage/self/primary
. My actual sd card is /storage/9C33-6BBD
. I'm not sure if there's an API to properly enumerate the contents of storage.
Basic approach: list the contents of /storage
and support navigating to anything that is a directory and readable (a few dirs were protected when I checked).
Hi @jhalterman,
That might just work.
Is the internal memory also at /storage/self/primary
for you? What is the path to the external SD card on a Galaxy S9?
Yea, /sdcard
is just a symlink to /storage/self/primary
. My external sdcard is at /storage/9C33-6BBD
, which I don't believe is specific to my device or memory card.
@jhalterman What if there was an option in Pixelmate's menu bar on OS X called Navigate that would allow you to enter a path to be navigated to?
You could then enter /storage
and Pixelmate will display the various media storage devices in the folder view.
I think this would be one way to do it as I think the 9C33-6BBD
may be too specific to the S9 or even your specific micro SD card.
Being able to navigate in storage would be better than nothing. I don't think 9C33-6BBD
is specific to S9 or my SD though. Lots of older google hits for it.
@jhalterman I just tried to insert a micro SD card on my Galaxy S9 and the storage path for it was /storage/7000-8000
. I think it would be best if we not hard-code these names as there may be more variation.
Added an option All Storage Devices in the OS X menu bar (or Cmd + A
) which will navigate the remote file browser to /storage
, where you can choose to browse the internal SD card or the external one.
Get version 1.0.1 here:
https://github.com/eladnava/pixelmate/releases/tag/1.0.1