Coder Social home page Coder Social logo

zebrarfid's Introduction

zebra_rfid

zebra rfid scaning plugin

Getting Started

This project is a starting point for a Flutter plug-in package, a specialized package that includes platform-specific implementation code for Android and/or iOS.

For help getting started with Flutter, view our online documentation, which offers tutorials, samples, guidance on mobile development, and a full API reference.

zebrarfid's People

Contributors

jiang6641 avatar

Stargazers

 avatar  avatar  avatar  avatar

Watchers

 avatar  avatar

zebrarfid's Issues

Meet error when read in MC33

老哥,我用我手头的MC33试了下你的这个plugin,点击read的时候会出现下面这种错误,这是什么造成的呐?

D/RFIDAPI3( 9972): SDK Version:2.0.1.29
D/RFIDHandler( 9972): CreateInstanceTask
D/RFIDAPI3( 9972): bindtoService
D/RFIDAPI3( 9972): bindtoService registerReceiver
D/RFIDAPI3( 9972): Connect
D/RFIDAPI3( 9972): bindtoService
D/RFIDAPI3( 9972): bindtoService registerReceiver
W/System.err( 9972): java.lang.ClassCastException: java.lang.String cannot be cast to com.zebra.rfid.api3.RFID_EVENT_TYPE
W/System.err( 9972): 	at com.zebra.rfid.api3.k1.b(SourceFile:406)
W/System.err( 9972): 	at com.zebra.rfid.api3.l.b(SourceFile:1)
W/System.err( 9972): 	at com.zebra.rfid.api3.k.a(SourceFile:4)
W/System.err( 9972): 	at com.zebra.rfid.api3.o.a(SourceFile:46)
W/System.err( 9972): 	at com.zebra.rfid.api3.Events$g.run(SourceFile:3)
W/System.err( 9972): java.lang.ClassCastException: java.lang.Boolean cannot be cast to com.zebra.rfid.api3.RFID_EVENT_TYPE
W/System.err( 9972): 	at com.zebra.rfid.api3.k1.b(SourceFile:406)
W/System.err( 9972): 	at com.zebra.rfid.api3.l.b(SourceFile:1)
W/System.err( 9972): 	at com.zebra.rfid.api3.k.a(SourceFile:4)
W/System.err( 9972): 	at com.zebra.rfid.api3.o.a(SourceFile:46)
W/System.err( 9972): 	at com.zebra.rfid.api3.Events$g.run(SourceFile:3)
W/System.err( 9972): java.lang.ClassCastException: java.lang.Integer cannot be cast to java.lang.Boolean
W/System.err( 9972): 	at com.zebra.rfid.api3.k1.b(SourceFile:435)
W/System.err( 9972): 	at com.zebra.rfid.api3.l.b(SourceFile:1)
W/System.err( 9972): 	at com.zebra.rfid.api3.k.a(SourceFile:4)
W/System.err( 9972): 	at com.zebra.rfid.api3.o.a(SourceFile:46)
W/System.err( 9972): 	at com.zebra.rfid.api3.Events$g.run(SourceFile:3)
D/API3Android( 9972): API3Android Connect status = 0
D/RFIDHandler( 9972): ConfigureReader MC3300R18327523023002
D/RFIDAPI3( 9972): setTriggerModeRFID_MODE null
D/RFIDAPI3( 9972): Failed to Disable scanner ...RESULT_CODE: PROFILE_DISABLED
D/RFIDAPI3( 9972): setTriggerMode synchronization done```

Rfid Service not available..

Read Button click after;

W/ZebraRfidPlugin(12041): cancelling listener
W/ZebraRfidPlugin(12041): adding listener
D/RFIDAPI3(12041): SDK Version:2.0.1.29
D/RFIDHandler(12041): CreateInstanceTask
D/RFIDAPI3(12041): loadPairedDevices RFD850020309520148618
D/RFIDAPI3(12041): Rfid Service not available..
W/System.err(12041): android.content.pm.PackageManager$NameNotFoundException: ComponentInfo{com.zebra.rfid.rfidmanager/com.zebra.rfid.rfidmanager.RFIDService}
W/System.err(12041): at android.app.ApplicationPackageManager.getServiceInfo(ApplicationPackageManager.java:490)
W/System.err(12041): at com.zebra.rfid.api3.Readers.b(SourceFile:34)
W/System.err(12041): at com.zebra.rfid.api3.Readers.GetAvailableRFIDReaderList(SourceFile:6)
W/System.err(12041): at com.hone.zebra_rfid.RFIDHandler$2.doInBackground(RFIDHandler.java:114)
W/System.err(12041): at com.hone.zebra_rfid.RFIDHandler$2.doInBackground(RFIDHandler.java:107)
W/System.err(12041): at android.os.AsyncTask$3.call(AsyncTask.java:378)
W/System.err(12041): at java.util.concurrent.FutureTask.run(FutureTask.java:266)
W/System.err(12041): at android.os.AsyncTask$SerialExecutor$1.run(AsyncTask.java:289)
W/System.err(12041): at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1167)
W/System.err(12041): at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:641)
W/System.err(12041): at java.lang.Thread.run(Thread.java:919)
D/RFIDHandler(12041): InvalidUsageException

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.