Comments (3)
Ok, it took a while for me to work this out. It turns out you need ACCESS_COARSE_LOCATION permission, and request it on runtime for android 6.0+ to discover devices. full answer here: https://stackoverflow.com/a/36177638
from thermal-printer-in-android.
If you look into video in the description you can see the same behavior. It seems like the list is populated with empty elements. he clicks on top one and it connects, yours could be lower element depending on how many Bluetooth devices are available. I think its a simple fix in DevicesList class in list adapter. Will try to post fix when will have a printer available to experiment with.
from thermal-printer-in-android.
issue solved, check it now.
from thermal-printer-in-android.
Related Issues (20)
- Coding android to print Thai character on Bluetooth printer
- Work in MPT III? HOT 1
- Printing large height HOT 2
- can we stop printing the logs while connecting and disconneting
- W/System.err: java.io.IOException: read failed, socket might closed or timeout, read ret: -1 HOT 2
- How can I keep connection with thermal printer even if the activity destroyed or application closed ? HOT 1
- How to align image to center? HOT 1
- "Cannot establish connection" HOT 6
- Print image via bluetooth printer
- Application Not Working after creating APK from android studio
- Multiple connection
- DeviceList is empty
- cannot print, establish connection HOT 2
- How to Print Two Different Text Alignment on same line ? For invoice HOT 2
- Align Image in center HOT 3
- This code will work for all types of printer? HOT 1
- Printer Hindi language does not supported. - Thermal-Printer-in-Android HOT 2
- Pdf support HOT 1
- External app communication
- multiple printers
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 thermal-printer-in-android.