Anyone could help??? Please... On Apr 17, 4:58 pm, Sam <ckjboy2...@gmail.com> wrote: > Android version: 2.3.7 > > Kernel version: 2.6.35-14-CyanogenMod-Arco-Kalim arco@tuxbox #1 > > Mod version: CyanogenMod-7.1.0.1-click > > The device has been fully rooted. > > I have added piece of code in my project > > which taken from Bluez Utils in hidd.c. > > The code is the following: > > if (bind(sk, (struct sockaddr *) &addr, sizeof(addr)) < 0) { > close(sk); > return -1; > } > > bind() keeps returning -1. > > I added a line(DisablePlugins = input) to the bluetooth configuration > in my Android device /system/etc/bluetooth/main.conf > > The information I have is: sk:37 > > (struct sockaddr *) &addr=0x44597e90 > > sizeof(addr)=12 > > errno:13 > > Reason: Permission Denied. > > Can anyone help? If you need to know in more detail, feel free to let > me know.
-- You received this message because you are subscribed to the Google Groups "Android Developers" group. To post to this group, send email to android-developers@googlegroups.com To unsubscribe from this group, send email to android-developers+unsubscr...@googlegroups.com For more options, visit this group at http://groups.google.com/group/android-developers?hl=en