[android-kernel] Re: implementing custom system calls

2010-11-12 Thread Earlence
Arun, Turning the BT adapter on and off will affect other apps as well. That is not the aim. You are right about the sockets. But I cannot find a suitable place. Earlence On Nov 12, 12:42 pm, "Arun K. Singh" wrote: > Earlence, > > Isn't it possible that no one tries to access BT but still BT so

[android-kernel] Re: implementing custom system calls

2010-11-12 Thread Arun K. Singh
Earlence, Isn't it possible that no one tries to access BT but still BT sockets are created and used? for ex when bluetoothd is launched. Rather shouldnt you tap OFF to ON state of BT adapter or may be undiscoverable to discoverable mode change? Also you can address such question on Bluez forums

[android-kernel] Re: implementing custom system calls

2010-11-12 Thread Earlence
yes...I'll take the advice...now that I think about it more. But this is not the whole story. I want to be notified whenever and program on the device tries to communicate via bluetooth. (I dont know whether this is the best place to ask this question). I have see the AF_BLUETOOTH module and there