| Reply | « Previous Thread | Next Thread » |
|
I have an app that saves data files to the mass storage so the user can transfer them to a computer via USB.
So far I have assumed that using USB you can only access the mass storage drive and not the phone memory. Is this true? Also, I’ve assumed the mass storage drive is always E: and phone memory is always C: (at least for 3rdEd phones). But this article suggests that these may not be good assumptions. So how, in PyS60, do I programmatically find out which drive to use such that the files can be seen via USB? Thanks |
|
No suggestions on how to find out which drive is the mass memory?
Is it safe to assume its E: ? |
|
Quote:
Sorry, --jouni |
|
I’ve searched this forum and the available PyS60 Docs and I can’t find anything that returns the type of available drives.
Code:
drive_list() So how do I find out which drive letter is the mass memory? |
|
Quote:
Code:
import e32 print e32.drive_list() [u’C:’ ,u’D:’ ,u’E:’ ,u’Z:’] Quote:
![]() So, instead of finding out disk types, maybe you should find out which drives you can access in which data transfer mode? Just wondering, if you're still focused in right question, sorry! Why would you care whether disk is memory card, mass storage or flash? Cheers, --jouni got run again... |
|
Quote:
Well, my app saves out data files and I want it to be as simple as possible for the user to copy these to their computer. Users may not have bluetooth on their computer so I thought via the USB cable would be simplist. So I don't care whether the drive is memory card, mass storage or flash but I do want to save data to a drive that is accessable via USB. So how do I find that out without assuming its the E: drive? Thanks for your help |
|
Quote:
![]() I would try c:\data\my_own_subdir Cheers, --jouni |
|
Quote:
On my N95 and 6220c the only drive I can access via USB cable is the E: drive (mass storage). I can’t see the contents of the C: (phone memory)? |
|
Quote:
I'd just make it a user-configurable option, which defaults to E:. |
|
So I can give the user options for which drive letter they want to save to. But I can’t give them options to save to ‘Mass Memory’ or ‘Phone Memory’ as I can’t determine which drive letter these are.
![]() Thanks for the help anyway. |
| Reply | « Previous Thread | Next Thread » |
| Thread Tools | Search this Thread |
|---|---|
| Rate This Thread | |
| Thread | Thread Starter | Forum | Replies | Last Post |
|---|---|---|---|---|
| Nokia N-Series Complete Model Line-Up | Dopod | General Discussion | 6 | 2008-07-22 21:16 |
| Problem MMC+USB Connection | Fede81 | General Symbian C++ | 1 | 2007-06-14 07:13 |
| DKU-2 to USB | rulirahm | PC Suite API and PC Connectivity SDK | 2 | 2007-02-04 05:23 |
| Problem MMC+USB Connection | Fede81 | General Discussion | 3 | 2006-07-19 16:21 |
| Nokia 6680 and USB Pen Drive | andredimu | General Discussion | 1 | 2005-09-01 14:30 |