nadam / nfc-reader Goto Github PK
View Code? Open in Web Editor NEWSimple NFC Reader for Android
Simple NFC Reader for Android
one of the last updates - my S8 now has the background in a very dark colour and its hard to read the tag details - email and contact info highlighted - just nothing else
When I scanned card with Tag ID (DEC) begin with number "0", app can not show it because mistake. So, kindly checking again.
Sample: Tag ID (DEC) is " 0123456789", but when scan it, app just show Tag ID (Dec) is "123456789"
I discovered this when playing with some NFC tags on a Samsung S10E. In short, a simple unlocked NFC tag containing a youtube link was scanned with the app a few times. when trying to clear them, they didn't seem to clear.
Expected Behavior: the youtube links scanned from the tag should disappear from the app
Actual Behavior: They do not disappear from the app
Apologies in advance for the lack of some details. Its also entirely possible that this might be user error so don't sweat it too much if its not reproducible
the reader shows a NTAG203 as Mifare Ultralight C
hi,
There is a very good usecase for using the phone's NFC reader on the desktop by connecting it with ADB and running a portforward.
For example, on the phone you could do
echo Just testing' | nc -l -p 1112 #putting it on port 1112
on the desktop,
do a port forward "adb tcp:1111 tcp:1112"
read the data from port 1111 - nc 127.0.0.1 1111
Not only this, you could now get desktop apps to read from the forwarded port and have access to the NFC scan data.
Could you add a feature to push NFC scan raw data to a port on android - you can hardcode this.
thanks!
If I set the phone down on a library book (really, just holding it near), the app opens and interrupts anything else I'm doing. For example, reading a book in one hand, streaming a video on my phone in the other, and when my phone got near the book it read the NFC tag in the book and cut off the video.
Please enable a setting to only scan when the app is open with primary focus, or just set that by default.
as title.
I download source package and try to build, but it complained. I search all over your commit check-in, and I cannot find those two files R.java and BuildConfig.java. Can you please also check in those two files ?
Those two files were generated automatically, but without those two files, it cannot be compiled successfully in Windows Eclipse IDE environment. Please provide it to me. Thanks.
-tommy
I have a question related to this. Does this supports all tech technologies other than NDEF mentioned in Table 1 & 2 on Official Android Documentation here
???
Sort of related to #18 but in my case I have a phone case with a wallet that gets scanned if i fold the case out too close to the phone.
Card reader does not give the card details, it only shows a tag id. Can you please tell me how to solve this issue?
04-12 11:11:22.216: E/AndroidRuntime(11019): java.lang.RuntimeException: Unable to instantiate activity ComponentInfo{se.anyro.nfc_reader/se.anyro.nfc_reader.TagViewer}: java.lang.ClassNotFoundException: se.anyro.nfc_reader.TagViewer
Would you please tell me where is the MainActivity.java? I can't build the APK in android studio(I hava find the whole project).
Hi,
I downloaded last version but it cannot compile. I cannot find R. guavalib.jar is correct location. Can you please help. I cannot find R. Some error lines in below.
import se.anyro.nfc_reader.R;
setContentView(R.layout.tag_viewer);
mTagContent = (LinearLayout) findViewById(R.id.list);
Regards,
Please fix that
Hi Adam,
Thanks for sharing the code of your app. It makes an excellent case study. I am planning to fork your code and refactor it slightly so that it can be used as a Library. Mainly I will be changing getView to getRecord.
I will give you full credit. I just wanted to check with you a couple of things:
Thanks from one Adam to another,
Adam.
I'd really like to see an adaptive launcher icon for this app. Adaptive icons were introduced in Android 8: https://developer.android.com/guide/practices/ui_guidelines/icon_design_adaptive
Not important to me personally.
However I tried your app on my OnePlus 3T with a NFC tag that I know I can read from other apps on the same device. And nothing happens.
Hello,
I've just downloaded the zip-file and compiled it but then there are everywhere errors and I think it's only because of the imports of some folders which aren't in the download-zip-file:
import se.anyro.nfc_reader.R;
import android.app.Activity;
import android.app.AlertDialog;
import android.app.PendingIntent;
import android.content.DialogInterface;
import android.content.Intent;
import android.nfc.NdefMessage;
import android.nfc.NdefRecord;
import android.nfc.NfcAdapter;
import android.nfc.Tag;
import android.nfc.tech.MifareClassic;
import android.nfc.tech.MifareUltralight;
import android.os.Bundle;
import android.os.Parcelable;
import android.provider.Settings;
import android.view.LayoutInflater;
import android.widget.LinearLayout;
import android.widget.TextView;
All those and some others aren't possible to import because the folder is missing, or am I wrong?
best regards,
Robert
Does not
d9wnload
I can't find any licensing terms with the source code. Does this mean you release it to the public domain? Or do any other terms apply?
when in doubt, go with Apache License 2.0 please :)
NFC tag after scaning shows this :
80 58 99 9a 91 84 04
ID (reversed hex): 04 84 91 9a 99 58 80
ID (dec): 36126213765432324
ID (reversed dec): 1271660805707904
Technologies: NfcA, MifareUltralight, Ndef
Mifare Ultralight type: Ultralight C
I'm wondering if there are any setting or functionally that can be added to read these types of cards ( HID iCLASS DH)
Thank you,
The link of the "Get it on Google Play" returns a 404 error on Google Play's website.
I also couldn't find the app by searching for it on the play store.
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.