Hi Dan

Thanks for your help. How can I read the CID of the external sd card
that is mounted to /sdcard/sd?

-Pete

On 9 Aug., 05:19, dan raaka <danra...@gmail.com> wrote:
> In galaxy, There is an internal memory which is 7GB mounted as /sdcard and
> the external sd card gets mounted as /sdcard/sd
>
> -Dan
>
> On Sat, Aug 8, 2009 at 4:17 AM, Pete <p.rosenb...@gmx.net> wrote:
>
> > Hi
>
> > How can I read the CID (Card Identification register) of an SD card
> > with Java or C-Code in an Android phone?
> > I tried "cat /sys/class/mmc_host/mmc1/mmc1:*/cid" but at least on the
> > Samsung I7500 Galaxy it does not return the CID of the SD card because
> > it is always the same number with different SD cards.
>
> > Help is very appreciated, thanks.
>
>
--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google
Groups "Android Developers" group.
To post to this group, send email to android-developers@googlegroups.com
To unsubscribe from this group, send email to
android-developers-unsubscr...@googlegroups.com
For more options, visit this group at
http://groups.google.com/group/android-developers?hl=en
-~----------~----~----~----~------~----~------~--~---

Reply via email to