Comments (8)
Also it will be great if you could give me working example simple one is also fine just for scanning also is fine
from android-scanner-compat-library.
Android version 8.0
from android-scanner-compat-library.
Hello, did you request and grant Location permission to your app? And do you have the Location enabled in the Quick Settings in Android?
from android-scanner-compat-library.
Yes
from android-scanner-compat-library.
Do you have simple also fine but scanning example?
Do I am missing anything ??
from android-scanner-compat-library.
Please, paste some of your code here.
from android-scanner-compat-library.
Have same problem, i requested location permission, call for startScan() but no even one callback triggered.
*Note that i successfully able to use the androids stack scanning and receive results.
Samsung s8 android 9
Xiaomi mi 6 android 8
from android-scanner-compat-library.
Have same problem, i requested location permission, call for startScan() but no even one callback triggered.
*Note that i successfully able to use the androids stack scanning and receive results.
Samsung s8 android 9
Xiaomi mi 6 android 8
After some checks i found that by default the library is set to return results in batches so to be able receive results need to override the onBatchScanResults
or call .setUseHardwareBatchingIfSupported(false)
on the ScanSettings
and remove ..setReportDelay(1000)
from android-scanner-compat-library.
Related Issues (20)
- Is there a non AndroidX version? HOT 1
- If the app is repeatedly killed, the device cannot be scanned
- Filter does not update in run time (using Pending intent) HOT 1
- Cannot stop scan when using PendingIntent.FLAG_IMMUTABLE or PendingIntent.FLAG_MUTABLE HOT 1
- NoClassDefFoundError: Failed resolution HOT 4
- Scan occassionally returns no results until restarted HOT 3
- Attempt to invoke virtual method 'int java.lang.String.hashCode()' on a null object reference HOT 1
- Android 12 cannot scan out beacon devices HOT 2
- (Long Range (Bluetooth 5.2)) LE Coded PHY HOT 3
- setUseHardwareBatchingIfSupported HOT 4
- No scan results - Pixel 6a Android 13 HOT 3
- 广播名没有修改
- Failed to resolve BluetoothLeScannerCompat when used through a library
- Hit
- Leaked scan callback when app be killed by task manager
- Could not find no.nordicsemi.android:thingylib:2.0.0. HOT 2
- Hello, I may need your help
- Not discovering "Limited Discoverable" devices in Android
- BLE Scanner not working in Android 14
- An error occurred when quickly switching Bluetooth on and off and stopping scanning status. 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 android-scanner-compat-library.