stuart-xyz / acr35 Goto Github PK
View Code? Open in Web Editor NEWAndroid + iOS Apache Cordova demo for the ACR35 NFC reader
License: MIT License
Android + iOS Apache Cordova demo for the ACR35 NFC reader
License: MIT License
I start a scanning with acr35.read(); then if msg = '63 00 '
(no card nearby) or msg = TAG i want to read
the reader continues scanning without any problem.
On the other hand, if msg = 'disconnected' / 'unplugged' / 'low_volume'
the reader stops scanning and then sleeps.
Is this the correct operation? Or maybe there's a problem?
Note: i'm only executing plugin code. Only acr35.read() function.
Is there a way to perform a scanning but not every second? I mean, only once. I'm looking for a way to do this using/modifying the plugin, Of course I can do it only with javascript (setInterval or setTimeout).
Great library @stuart-xyz, really saved a lot of potential hassles as you had intended. But I've run into a rather frustrating issue.
I've installed the library and set up everything to play nicely with AngularJS, and I have confirmation that is working cuz the reader_start() throws the media volume not 100% error as appropriate and the reader_sleep() function works too, I call the reader_start() from within the $ionicPlatform.ready() event listener, which is the equivalent of the regular deviceready but when I do set my media volume to 100% though, I get the following error, which happens in the failure callback "startRecord() called on an uninitialized AudioRecord"; but when I try with your demo application {from which I copied character for character}, it works, like a charm, any ideas on how to solve this?
Hi, in a first place sorry for my english...
I have two questions:
If I want to install the plugin in my app, I must execute cordova plugin add [dir_where_git_repo_was_cloned]\TestNFCReaderACR35\acr35\plugin . I'm right?
Then, I try to execute my app in an android device (Samsung Pocket with Android v 4.0.4) and call the function acr35.read(), nothing happens. But when I execute the app in browser platform (Chrome) and press F12 to see the developer tools, in the javascript console an error appears indicating "Uncaught ReferenceError: acr35 is not defined" when I want to call the function acr53.read(). I followed the steps you write in repo description to install the plugin, and when I compare my app to yours, I do not see anything weird.
What could be happening @stuart-xyz ?
A declarative, efficient, and flexible JavaScript library for building user interfaces.
๐ Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. ๐๐๐
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google โค๏ธ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.