Coder Social home page Coder Social logo

Comments (5)

GoogleCodeExporter avatar GoogleCodeExporter commented on July 18, 2024
  while building bluetooth module i am getting the following error
* bluetooth/bluetooth.h no such file or directory.*

Original comment by [email protected] on 30 Aug 2011 at 2:25

from androhid.

GoogleCodeExporter avatar GoogleCodeExporter commented on July 18, 2024
Same problem at Galaxy S I9000B Android 2.3.3.

I looking for HID on Android, I got the code to study.
I would like to develop a service for my bluetooth keyboard HID. 
The application appears to be very interesting, congratulations for the project.

Original comment by [email protected] on 28 Sep 2011 at 4:07

from androhid.

GoogleCodeExporter avatar GoogleCodeExporter commented on July 18, 2024
Most of the bluetooth part has to be done in native code to communicate with 
the bluez stack (Read: Why do we need root). This communication procedure can 
possibly differ from  device to device (Although it shouldn't...). To find the 
bug for your device, some low level debugging has to be done which requires 
advanced Linux and C knowledge. Could you a least provide the logcat output 
while the error occurs? With a bit luck I can find the bug there.

Original comment by [email protected] on 9 Nov 2011 at 3:56

  • Changed state: Accepted

from androhid.

GoogleCodeExporter avatar GoogleCodeExporter commented on July 18, 2024
The same thing seems to be happening on Galaxy S II (Sprint version, SPH-D710). 
 logcat indicates that "adding sdp service failed". That made me think that 
maybe androhid wasn't getting root access correctly, but the log in Superuser 
does indicate that access was granted.

I'm comfortable with debugging native code, although I don't know a ton about 
kernel-level Linux. If there's any more information that might help debug this, 
I'm happy to try to get it.  I'm just starting to set up to build the project 
myself, though, so it could be a little while before I can actually do any 
debugging.

Original comment by [email protected] on 16 Jan 2012 at 12:16

from androhid.

GoogleCodeExporter avatar GoogleCodeExporter commented on July 18, 2024
Wonderful idea! Unfortunately My Galaxy S1 having Cyanogenmod 4.2.2 throws the 
following error:
�[0m�[38;5;196mE/AndroidRuntime(16253): java.lang.UnsatisfiedLinkError: Cannot 
load library: soinfo_link_image(linker.cpp:1649): could not load library 
"libbluetooth.so" needed by "libandrohid.so"; caused by 
load_library(linker.cpp:747): library "libbluetooth.so" not found

�[0m�[38;5;196mE/AndroidRuntime(16253):     at 
java.lang.Runtime.loadLibrary(Runtime.java:371)

�[0m�[38;5;196mE/AndroidRuntime(16253):     at 
java.lang.System.loadLibrary(System.java:535)

�[0m�[38;5;196mE/AndroidRuntime(16253):     at 
org.androhid.NativeBtHid.<clinit>(NativeBtHid.java:25)

�[0m�[38;5;196mE/AndroidRuntime(16253):     at 
org.androhid.AndroHid.onCreate(AndroHid.java:77)

�[0m�[38;5;196mE/AndroidRuntime(16253):     at 
android.app.Activity.performCreate(Activity.java:5104)

�[0m�[38;5;196mE/AndroidRuntime(16253):     at 
android.app.Instrumentation.callActivityOnCreate(Instrumentation.java:1080)

�[0m�[38;5;196mE/AndroidRuntime(16253):     at 
android.app.ActivityThread.performLaunchActivity(ActivityThread.java:2258)

�[0m�[38;5;196mE/AndroidRuntime(16253):     at 
android.app.ActivityThread.handleLaunchActivity(ActivityThread.java:2354)

�[0m�[38;5;196mE/AndroidRuntime(16253):     at 
android.app.ActivityThread.access$600(ActivityThread.java:150)

�[0m�[38;5;196mE/AndroidRuntime(16253):     at 
android.app.ActivityThread$H.handleMessage(ActivityThread.java:1244)

�[0m�[38;5;196mE/AndroidRuntime(16253):     at 
android.os.Handler.dispatchMessage(Handler.java:99)

�[0m�[38;5;196mE/AndroidRuntime(16253):     at 
android.os.Looper.loop(Looper.java:137)

�[0m�[38;5;196mE/AndroidRuntime(16253):     at 
android.app.ActivityThread.main(ActivityThread.java:5193)

�[0m�[38;5;196mE/AndroidRuntime(16253):     at 
java.lang.reflect.Method.invokeNative(Native Method)

�[0m�[38;5;196mE/AndroidRuntime(16253):     at 
java.lang.reflect.Method.invoke(Method.java:511)

�[0m�[38;5;196mE/AndroidRuntime(16253):     at 
com.android.internal.os.ZygoteInit$MethodAndArgsCaller.run(ZygoteInit.java:795)

�[0m�[38;5;196mE/AndroidRuntime(16253):     at 
com.android.internal.os.ZygoteInit.main(ZygoteInit.java:562)

�[0m�[38;5;196mE/AndroidRuntime(16253):     at 
dalvik.system.NativeStart.main(Native Method) 

Original comment by [email protected] on 28 Mar 2013 at 9:00

from androhid.

Related Issues (14)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.