You were successful in automounting sdcard through vold? Please share your idea as we are facing similar problem. Not abler to auto mount sdcard.
On May 11, 5:26 pm, riazrahaman <[email protected]> wrote: > I was going through the vold source code and found that vold is > written in a way tomountmore than one sdcards. The volume_t > structure is a linked list that holds information of the nodes ( sd > slots ). > > There is support for this in the vold code but looks like it is > partially done. In volmgr_send_states function there is a loop where > it sends the states of all the sd slots connected but there is a break > in the while loop that is intentionally added to break after sending > the state of the first sd card. Why is this? > > Is there a plan to support at a later stage. Also is there a > possibility of having devices with more than one sd slot? How is the > user space going to differentiate between the states of different sd > slots? There is only one variable in mountlistener.java that maintains > the state sent from vold. --~--~---------~--~----~------------~-------~--~----~ unsubscribe: [email protected] website: http://groups.google.com/group/android-porting -~----------~----~----~----~------~----~------~--~---
