Giter Site home page Giter Site logo

Comments (2)

GoogleCodeExporter avatar GoogleCodeExporter commented on August 10, 2024
The sample chat app provided on backport-android-bluetooth source shows the 
same problem.


11-07 06:25:30.870: INFO/ActivityManager(1063): Starting activity: Intent { 
comp={backport.android.bluetooth/com.example.bluetooth.BluetoothChat} }
11-07 06:25:30.940: ERROR/BluetoothChat(2137): +++ ON CREATE +++
11-07 06:25:31.190: ERROR/BluetoothChat(2137): ++ ON START ++
11-07 06:25:31.190: DEBUG/BluetoothChat(2137): setupChat()
11-07 06:25:31.200: ERROR/BluetoothChat(2137): + ON RESUME +
11-07 06:25:31.200: DEBUG/BluetoothChatService(2137): start
11-07 06:25:31.210: ERROR/BLZ_WRAPPER(2137): btl_if_socket : blz wrapper not 
initialized
11-07 06:25:31.220: INFO/ActivityManager(1063): Process 
backport.android.bluetooth (pid 2137) has died.
11-07 06:25:31.230: INFO/WindowManager(1063): WIN DEATH: Window{433be5a0 
backport.android.bluetooth/com.example.bluetooth.MainActivity paused=false}
11-07 06:25:31.250: DEBUG/Zygote(1013): Process 2137 exited cleanly (1)
11-07 06:25:31.260: INFO/ActivityManager(1063): Start proc 
backport.android.bluetooth for activity 
backport.android.bluetooth/com.example.bluetooth.MainActivity: pid=2148 
uid=10043 gids={3002, 3001}

Original comment by [email protected] on 7 Nov 2010 at 6:27

from backport-android-bluetooth.

GoogleCodeExporter avatar GoogleCodeExporter commented on August 10, 2024
I should add that I've debugged this and I'm pretty sure the problem is when 
Rfcommsocket happens when it calls createNative(). Considering the 
"BLZ_WRAPPER" log, it's probably calling the native code correctly, but 
something wrong happens.

RfcommSocket.java

Line 155:
    /**
     * Creates a socket. You need to call this method before performing any
     * other operation on a socket.
     * 
     * @return FileDescriptor for the data stream.
     * @throws IOException
     * @see #destroy()
     */
    public FileDescriptor create() throws IOException {
        if (mFd == null) {
            mFd = createNative();
        }
        if (mFd == null) {
            throw new IOException("socket not created");
        }
        return mFd;
    }

Original comment by [email protected] on 7 Nov 2010 at 6:40

from backport-android-bluetooth.

Related Issues (18)

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.