SD Card vs. CF Card

G

Guest

I'm writing an application that helps a user transfer files between desktop
and handheld. I'm using the OpenNETCF RAPI and testing on an iPAQ 5550 w/PPC
2003 and a CF Expansion Pack Plus!

This set up gives the user the option of using either an SD card or a CF
card. Whichever card is installed first gets the tag: "Storage Card". Then,
the next card inserted receives "Storage Card2".

Is there a way I can tell the difference (programmatically) between a
connected CF card and a connected SD card?

I know one "dirty" way of doing it would be to check for the total size of
the device, but this would always assume that the SD card was no more than
1GB andthe CF card was ALWAYS more than 1GB.

Any ideas?

Thanks
-G
 
G

Guest

This is interesting, just out of curiosity why do you need to know the type
of card? maybe we can find a different solution if you describe the reason.
Sorry for not having an actual answer to the question but in my experience I
have not had to distinguish between the two.

Thanks,
Yves.
 
G

Guest

The only reason I need to know is for the sake of the user. They are a
feeble-minded group of individuals, so we need to make sure the app is as
simple as possible.

I am giving them separate menu options for the export commands: One is for
exporting to a CF Card, another is for exporting to an SD card. So, it
technically doesn't matter which card it is going to. However, we're afraid
if we don't give them the two different options, they will be confused and
not know where the files end up. Later, we may give them the option of
browsing for a location, but I have seen a control that will allow the user
to browse the PDA's file system from a remote connection (if you know of one,
please, let me know).

If you have an idea that would make this easier for me (and for the user)
that would be great.

Thanks
-G
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Top