Hey,
After some searches (actually a lot :)) the only related solution i
found is to take the MountListener, MountService and their friends
(some other related class) and to add them to the project.
but when the code reaches to listenToSocket() function, it crashes on
socket.connect(address); (line 203) the reason is permission denied.
the apk contains the internet permission (which is the only somehow
related permission since we create a LocalSocket).
I also added a FactoryTest (app will run as root by manual)
permission. non of them helped.

from digging some more up, i saw that it connects to the VOLD (volume
demon) and send commands to him. i checked to see if VDC is exists
(thought it might by 2.3 breaking change or something like that...)
but its there.

the only thing i can think of is that i messed something up in the
Mount* files and I should call those functions via reflection but i
don't see how it will help me since it's crashing on permission
denied.

any ideas?
if anyone ever done it (or know what to do) It will help me a lot to
hear how and what I can do.

Thanks,
Nadav

-- 
You received this message because you are subscribed to the Google
Groups "Android Developers" group.
To post to this group, send email to [email protected]
To unsubscribe from this group, send email to
[email protected]
For more options, visit this group at
http://groups.google.com/group/android-developers?hl=en

Reply via email to