fm <frederic.mabileau <at> cegetel.net> writes:

> 
> 
> Hello,
> 
> I try to connect to the ridl process in my application using adapted
> code find in RIL.java. But I get a "Permission denied" exception when
> the socket is connected. Here is the code
>                 try {
>                     s = new LocalSocket();
>                     l = new LocalSocketAddress(SOCKET_NAME_RIL,
>                             LocalSocketAddress.Namespace.RESERVED);
>                     s.connect(l);
>                 } catch (IOException ex){
>                     try {
>                         if (s != null) {
>                             s.close();
>                         }
> 
> where SOCKET_NAME_RIL = "rild".
> The /dev/socket/ridl file has root/radio owner. What can I do with my
> application to be able to connect to ridl. I also search in the
> PhoneApp application (taht establish such a connection), but I find
> nothing.
> 
> Thank for your help.
> 
> 

Hi there,

I am trying to do the same thing and I also get a 'permission denied'. Have you
found a solution to the problem? Is there a way to gain access to 'rild' using
the localsocket connection?

Thanks very much

Dan


-- 
You received this message because you are subscribed to the Google Groups 
"Android Security Discussions" 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-security-discuss?hl=en.

Reply via email to