This is not available to either the SDK or NDK. The question would be better asked on android-porting or android-platform.
On Fri, Sep 10, 2010 at 8:53 AM, masrepus <[email protected]> wrote: > What is the best way to add a new native service that uses Binder and > can get past the service_manager.cpp restrictions on what users can > add services? > > I have created a new native service that is similar to the > MediaPlayer. I make the addService() calls to add the Binder service > to the system. This worked fine when the service was started as root. > > I moved the new service to be started as the "media" user. Then I > receive permission errors because of the table in service_manager.cpp > where there is a check for users and allowed Binder services. > > Do I have to add my service to the table or is there some other way? > > -- > 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]<android-developers%[email protected]> > For more options, visit this group at > http://groups.google.com/group/android-developers?hl=en > -- Dianne Hackborn Android framework engineer [email protected] Note: please don't send private questions to me, as I don't have time to provide private support, and so won't reply to such e-mails. All such questions should be posted on public forums, where I and others can see and answer them. -- 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

