Comments (4)
please test latest version
from bluetooth_print.
- Same issue here, I've tried scan bluetooth device in android 10 device (Redmi Note 9 : Bluetooth version is 5.0), but callback give me nothing.
- and I've tried in android 9 device (Realme C2 : Bluetooth version is 5.0), while scanning for devices managed to get a list of devices including the printer. but I can't connect to the printer I want and it shows up in a terminal like this.
D/BluetoothSocket(28482): close() this: android.bluetooth.BluetoothSocket@1a1c51a, channel: 2, mSocketIS: android.net.LocalSocketImpl$SocketInputStream@80b084b, mSocketOS: android.net.LocalSocketImpl$SocketOutputStream@e3b9228mSocket: null, mSocketState: CLOSED
D/BluetoothSocket(28482): close() this: android.bluetooth.BluetoothSocket@1a1c51a, channel: 2, mSocketIS: android.net.LocalSocketImpl$SocketInputStream@80b084b, mSocketOS: android.net.LocalSocketImpl$SocketOutputStream@e3b9228mSocket: null, mSocketState: CLOSED
W/System.err(28482): java.io.IOException: bt socket closed, read return: -1
W/System.err(28482): at android.bluetooth.BluetoothSocket.read(BluetoothSocket.java:558)
W/System.err(28482): at android.bluetooth.BluetoothInputStream.read(BluetoothInputStream.java:88)
W/System.err(28482): at java.io.InputStream.read(InputStream.java:101)
W/System.err(28482): at com.gprinter.io.BluetoothPort.readData(BluetoothPort.java:130)
W/System.err(28482): at com.example.bluetooth_print.DeviceConnFactoryManager.readDataImmediately(DeviceConnFactoryManager.java:416)
W/System.err(28482): at com.example.bluetooth_print.DeviceConnFactoryManager$PrinterReader.run(DeviceConnFactoryManager.java:496)
E/BluetoothPort(28482): connection device is lost
E/DeviceConnFactoryManager(28482): read 0
D/BluetoothPrintPlugin(28482): stateStreamHandler, current action: android.bluetooth.device.action.ACL_DISCONNECTED
I/flutter (28482): cur device status: 0
*Printer
XPrinter BP-428U
from bluetooth_print.
Yeah I have same issues but build gradle compile sdk 28 and targetSDKversion 28 still work. My phone is android 10.
compileSdkVersion 28
targetSdkVersion 28
from bluetooth_print.
Is there any other solution?
from bluetooth_print.
Related Issues (20)
- Bluprints Printer not Connecting
- Show the result of print to the user before print HOT 1
- Exception in disconnect device!
- cant print HOT 5
- How do I print two linetext in same line? HOT 2
- 支持的打印机类型 HOT 2
- Cannot detect the internal printer on POS Terminal
- Bluetooth is Paired Device Not Showing HOT 1
- cannot connect printer HOT 1
- app crash when i press print button to print image HOT 4
- all ble devices show up instead of just printers in scan results HOT 2
- [VERBOSE-2:ui_dart_state.cc(198)] Unhandled Exception: MissingPluginException(No implementation found for method isConnected on channel blue_thermal_printer/methods)
- Change font size HOT 4
- how to set more smaller font then the regular font? HOT 1
- QR code is printing text only HOT 1
- How to set perfect design?
- How to obtain the address of a connected device address ?
- Android: Printer out of papper error even there is roll available
- Barcode and qrcode issue
- When i print image its not starting from next label even given proper width and height of label size HOT 1
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 bluetooth_print.