NFC reading tag and share the tag's id to database (db.)

412 visualizações
Pular para a primeira mensagem não lida

Ferenc Pinter

não lida,
18 de fev. de 2019, 08:22:4818/02/2019
para MIT App Inventor Forum
Dear Programmers!

Sorry But I'm newbie, and I would like an app with a fellowing functions: read NFC tag, and forward the read nfc ID to the database (*db). If anybody knows some tips and tricks, then please write me!

I'm lost with the blocks.

Best Regards: Ferry
nfc.jpg

SteveJG

não lida,
18 de fev. de 2019, 08:56:4818/02/2019
para MIT App Inventor Forum
How many tutorials have you done Ferenc?

Try  Chapter 22. Databases   for general information on how to use a TinyWebDB.
  • and 
NFC Cup Game for AI2

This tutorial will demonstrate App Inventor's Near Field Communication (NFC) capabilities. You'll build an application that will simulate the shell game by writing messages to NFC tags in setup mode and reading them in play mode. In order to get the full experience from this application, you will need to purchase readable, writable, NFC tags.


First, you need to acquire the NFC tag data.  Either Temporarily storethe Tag data to a variable, then store that variable to your database using a Button event handler..  The NearField  shows what is possible.   Or use the TagWritten event to do it.


We want you to have fun with App Inventor. Here are some resources to help you learn to use the AI2 tools  A very good way to learn App Inventor is to read the free Inventor's Manual here in the AI2 free online eBook   http://www.appinventor.org/book2 ... the links are at the bottom of the Web page.  The book 'teaches' users how to program with AI2 blocks.


There is a free programming course here http://www.appinventor.org/content/CourseInABox/Intro  and the aia files for the projects in the book are here:  http://www.appinventor.org/bookFiles  


How to do a lot of basic things with App Inventor are described here:  http://www.appinventor.org/content/howDoYou/eventHandling  .


Also look here http://kio4.com/appinventor/index.htm and here http://www.imagnity.com/tutorial-index/ for more tutorials.


Regards,

Steve

Responder a todos
Responder ao autor
Encaminhar
0 nova mensagem