[android-porting] Publish IBinder interface of native service with system manager

2009-12-08 Thread Paturi
HI I would like to register native service with system manager and publish its IBinder interface with service manager. I want my client to retrieve the service interface through Java code and invoke the methods in the service. Please help me how I can accomplish this without changing the android

[android-porting] Re: Publish IBinder interface of native service with system manager

2009-12-08 Thread Paturi
> service. > 4. In the Service implementation publishes its IBinder interface with the > private ServiceManager API. > > You can look at frameworks/base/packages/SettingsProvider for an example of > an .apk that runs in the system process. > > > > On Tue, Dec 8, 2009 at 4:

[android-porting] Re: Publish IBinder interface of native service with system manager

2009-12-09 Thread Paturi
n Tue, Dec 8, 2009 at 9:54 PM, Paturi wrote: > > > I have a doubt regarding the fourth step. > > How can I publish the IBinder interface with the private ServiceManger > > API? > > Please provide me with some example. > > > On Dec 9, 4:11 am, Dianne Hackborn

[android-porting] Re: Publish IBinder interface of native service with system manager

2009-12-09 Thread Paturi
;t know > why you are looking in the IM application, but you are not going to find > anything useful there.  You want to look at SystemService.java in > frameworks/base/services/... > > > > > > On Wed, Dec 9, 2009 at 3:24 AM, Paturi wrote: > > > Tha

[android-porting] Problem when trying to on Bluetooth under Beagleboard

2010-02-22 Thread Paturi
Hi, I have ported Android on BeagleBoard. But when I try to on the Bluetooth It is getting failed. In my logcat I can trace this reason since it is unable to open ("sys/class/rfkill/rfkill0/state"). In my file explorer it created a structure "sys/class/rfkill" after enabling RFKILL flag in kernel

[android-porting] Re: Problem when trying to on Bluetooth under Beagleboard

2010-02-23 Thread Paturi
ys/class/rfkill/rfkill0/state" path. there is no rfkill0 directory in my system. Can anyone help me out to sort this. On Feb 22, 4:52 pm, Paturi wrote: > Hi, > > I have ported Android on BeagleBoard. But when I try to on the > Bluetooth It is getting failed. In my logcat I can trace

[android-porting] Re: Problem when trying to on Bluetooth under Beagleboard

2010-02-24 Thread Paturi
e access on rfkill0->state to > bluetooth. > >    #bluetooth power up/down interface >    chown bluetooth bluetooth /sys/class/rfkill/rfkill0/type >    chown bluetooth bluetooth /sys/class/rfkill/rfkill0/state >    chmod 0660                /sys/class/rfkill/rfkill0/state >