Re: how to get SDCARD serial number
Thanks tamerlan311. You approach is right. I got it. On 7月24日, 下午4时37分, tamerlan311 wrote: > adb shell cat /sys/class/mmc_host/mmc1/mmc1:/cid > > Where is some uniqnumber. > > On Jul 23, 4:53 pm, wang yitu wrote: > > > Can someone tell me how to get theSDCARDserailnumberin android? > > very appreciating for the answer. > > --~--~-~--~~~---~--~~ You received this message because you are subscribed to the Google Groups "android-framework" group. To post to this group, send email to android-framework@googlegroups.com To unsubscribe from this group, send email to android-framework+unsubscr...@googlegroups.com For more options, visit this group at http://groups.google.com/group/android-framework?hl=en -~--~~~~--~~--~--~---
Re: how to get SDCARD serial number
adb shell cat /sys/class/mmc_host/mmc1/mmc1:/cid Where is some uniq number. On Jul 23, 4:53 pm, wang yitu wrote: > Can someone tell me how to get the SDCARD serail number in android? > very appreciating for the answer. --~--~-~--~~~---~--~~ You received this message because you are subscribed to the Google Groups "android-framework" group. To post to this group, send email to android-framework@googlegroups.com To unsubscribe from this group, send email to android-framework+unsubscr...@googlegroups.com For more options, visit this group at http://groups.google.com/group/android-framework?hl=en -~--~~~~--~~--~--~---
Re: how to get SDCARD serial number
Actually we have support for that in android. See getFatVolumeId() in android.os.FileUtils. This requires the following kernel patch in order to work: http://android.git.kernel.org/?p=kernel/common.git;a=commitdiff;h=0cb89e58ee83afb87f57d054c787489602e4502a Mike On Thu, Jul 23, 2009 at 9:05 AM, Jean-Baptiste Queru wrote: > > I don't remember seeing an API for that, you'll need to contribute one. > > JBQ > > On Thu, Jul 23, 2009 at 5:53 AM, wang yitu wrote: >> >> Can someone tell me how to get the SDCARD serail number in android? >> very appreciating for the answer. >> >> > >> > > > > -- > Jean-Baptiste M. "JBQ" Queru > Software Engineer, Android Open-Source Project, Google. > > Questions sent directly to me that have no reason for being private > will likely get ignored or forwarded to a public forum with no further > warning. > > > > -- Mike Lockwood Google android team --~--~-~--~~~---~--~~ You received this message because you are subscribed to the Google Groups "android-framework" group. To post to this group, send email to android-framework@googlegroups.com To unsubscribe from this group, send email to android-framework+unsubscr...@googlegroups.com For more options, visit this group at http://groups.google.com/group/android-framework?hl=en -~--~~~~--~~--~--~---
Re: how to get SDCARD serial number
I don't remember seeing an API for that, you'll need to contribute one. JBQ On Thu, Jul 23, 2009 at 5:53 AM, wang yitu wrote: > > Can someone tell me how to get the SDCARD serail number in android? > very appreciating for the answer. > > > > -- Jean-Baptiste M. "JBQ" Queru Software Engineer, Android Open-Source Project, Google. Questions sent directly to me that have no reason for being private will likely get ignored or forwarded to a public forum with no further warning. --~--~-~--~~~---~--~~ You received this message because you are subscribed to the Google Groups "android-framework" group. To post to this group, send email to android-framework@googlegroups.com To unsubscribe from this group, send email to android-framework+unsubscr...@googlegroups.com For more options, visit this group at http://groups.google.com/group/android-framework?hl=en -~--~~~~--~~--~--~---
how to get SDCARD serial number
Can someone tell me how to get the SDCARD serail number in android? very appreciating for the answer. --~--~-~--~~~---~--~~ You received this message because you are subscribed to the Google Groups "android-framework" group. To post to this group, send email to android-framework@googlegroups.com To unsubscribe from this group, send email to android-framework+unsubscr...@googlegroups.com For more options, visit this group at http://groups.google.com/group/android-framework?hl=en -~--~~~~--~~--~--~---