Comments (2)
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.
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)
- Missing build instructions HOT 1
- NullPointerException when getting bonded devices HOT 3
- Cannot disable bluetooth
- Bluetooth Chat doesn't seem to work on Hero HOT 3
- Sample code
- IllegalArgumentException during getBondedDevices
- BluetoothSocket.connect() does not throw an Exception on failure
- Exception occurred on starting MainActivity on LG GT 540 (Android v1.6)
- BluetoothAdapter.getDefaultAdapter() causes uncaught Exception on Samsung Behold II
- error add build path HOT 3
- Exception "Transport endpoint is not connected" when sending chat from Android HOT 7
- Class not found exception on Eclair HOT 3
- Unable to start Service Discovery - Droid Eris HOT 8
- How to run backport on Android 2.0.1 HOT 6
- D-Bus error @ Hero
- Developer contact HOT 1
- How to determine a connection lost
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
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.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from backport-android-bluetooth.