Saturday, April 2, 2011

Re: [android-developers] How to automount SD card

I am not aware of any documented and supported means of doing what you
seek from the Android SDK or NDK.

On Fri, Apr 1, 2011 at 5:31 PM, Jayaprakash Shanmugam
<jayaprakashns@gmail.com> wrote:
> I am working on a platform where I need to provide an option to share
> the SD card with the connected host.  Although I could use the sysfs
> lun0/file to achieve what I need, this file ( /sys/devices/.../gadget/
> lun0/file) is owned by the root and so is not accessible from my
> Android app.
>
> I looked into the vold and it has commands to share/mount/unmount
> etc., I am not sure how to make use of them.
>
> Anybody with better insight can enlighten me ???
>
> Thank you,
> JP.
>
> --
> 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+unsubscribe@googlegroups.com
> For more options, visit this group at
> http://groups.google.com/group/android-developers?hl=en
>

--
Mark Murphy (a Commons Guy)
http://commonsware.com | http://github.com/commonsguy
http://commonsware.com/blog | http://twitter.com/commonsguy

Android Training...At Your Office: http://commonsware.com/training

--
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+unsubscribe@googlegroups.com
For more options, visit this group at
http://groups.google.com/group/android-developers?hl=en

No comments:

Post a Comment