Access flles on a Android device from Windows PC

Fred Fishbin FredFishbin at hotmail.com
Fri Jun 9 22:04:08 EDT 2017


Um, no.  I *now* understand that USB Mass drive is no longer supported, but it 
was a legit question.

I'd still love if someone could post a code sample, or point me in the 
direction to a code snippet that would show me how to access the phone.  I know 
it can be done, its just not simple anymore.

Freddie

wxjmfauth at gmail.com wrote:
Le mardi 6 juin 2017 21:37:24 UTC+2, Fred Fishbin a écrit :
>> Hi
>> 
>> I want to write little program that my friend can run - he'll plug a USB 
>>drive 
>> into his Windows 7 PC, plug his phone in a USB port on same PC, then run my 
>> program and it'll xfer some audiobook files over for him.
>> 
>> I plugged the USB drive in and it became "G:\", but the phone plugged in and 
>> became just "SAMSUNG-SM-G930V", no drive designation, just a Portable Media 
>> Device.  Windows Explore can go there so the files are accessible, the phone 
>> isn't looking him out, but what do I use for a path?  I tried several 
>>different 
>> listdir()'s nothing worked.
>> 
>> Thoughts?
>> 
>> thanks, Freddie
>
>I hope your mounted external device is full of file names
>with plenty of Emojis...
>It will be very funny.




More information about the Python-list mailing list