Mauricio Andrada <mauriciopati00 <at> gmail.com> writes:

> 
> Hi,
> 
> We implemented a system applciation that must add a route to one of
> the existing network interfaces in the phone. We tried to use
> NetworkUtils.addHostRoute() but we get "Operation Not Permited".
> We see that MobileDataStateTracker uses it; from our understanding the
> tracker is running within ConnectivityService which runs in the
> SystemServer.
> We also believe that SystemServer does not run as root.
> We'd like to know what we have to do to make our system app able to
> call addHostRoute().
> 
> Thanks and regards,
> 


Hi Mauricio,

Recently i also has this issue on my project. Do you have solution to call 
NetworkUtils.addHostSroute() or configureInterface() from an apk? my apk has 
system permission.

Regards,
Norton

-- 
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