Electronic Components Datasheet Search
  English  ▼

X  

AN4430 Datasheet(PDF) 18 Page - STMicroelectronics

Part # AN4430
Description  Designing an NFC Android Application for M24SR and M24LR devices
PDF  42 Pages
Scroll/Zoom Zoom In 100%  Zoom Out
Manufacturer  STMICROELECTRONICS [STMicroelectronics]
Direct Link  http://www.st.com
Logo STMICROELECTRONICS - STMicroelectronics

AN4430 Datasheet(HTML) 18 Page - STMicroelectronics

Back Button AN4430 Datasheet HTML 14Page - STMicroelectronics AN4430 Datasheet HTML 15Page - STMicroelectronics AN4430 Datasheet HTML 16Page - STMicroelectronics AN4430 Datasheet HTML 17Page - STMicroelectronics AN4430 Datasheet HTML 18Page - STMicroelectronics AN4430 Datasheet HTML 19Page - STMicroelectronics AN4430 Datasheet HTML 20Page - STMicroelectronics AN4430 Datasheet HTML 21Page - STMicroelectronics AN4430 Datasheet HTML 22Page - STMicroelectronics Next Button
Zoom Inzoom in Zoom Outzoom out
 18 / 42 page
background image
How to create an Android Application for ST dual memories
AN4430
18/42
DocID025722 Rev 1
NfcAdapter’s callback in order to keep backward compatibility as fields and parameter
may be added in the next API releases.
•
Tag
This class implements the Tag that has been discovered (when a Tag is presented to
the android phone’s NFC field). This object is immutable as it represents the state of
the Tag at the time it has been discovered. This object is used to retrieve the tag ID
(getID() call) and the properties of the Tag like the supported technologies (getTecList()
call).
A new tag object is created every time a tag is discovered even if it is the same physical tag.
Developer must then ensure to always use the latest tag discovered to perform specific
action like TagTechnology interface manipulation.
When a tag is discovered, android system creates a tag object, store it in an intent message
and requests for a startActivity with the created intent in parameter.
Depending on the tag characteristics and on the installed applications a four stage dispatch
solution is used to select the most appropriate activity to handle the current detected tag
(see Figure 6 Tag Dispatch Startegy). Android system executes each stage in order and
complete dispatch as soon as a single matching activity is found.
•
Stage 1 – Foreground Activity dispatch: a foreground activity which has called
NfcAdapter.enableForegroundDispatch(…) is given the priority. This call is generally
done in the onResume() activity state callback. To release this priority developer has to
call NfcAdapter.disableForegroundDispatch(Activity) generally in Pause() activity state
callback.
•
Stage 2 – NDEF data dispatch: If the discovered tag contains at least an NDEF
message with a first Record with URI, SmartPoster or MimeData type Android system
call a startActivity() with ACTION_NDEF_DISCOVERED intent. Android System will
then look for a component ACTION_NDEF_DISCOVERED handling capable. If most
that one component is find, Android System requests to user to select the
application/component to launch to treat the pending intent. If none component is
register to handle this kind of intent dispatch move to stage 3.
•
Stage 3 – Tag Technology dispatch: Android System call a startActivity() with
ACTION_TECH_DISCOVERED and look for a component capable to handle current
tagTechnology. If any component is register to handle at least one technology
supported by the tag Android System goes to Stage 4.
•
Stage 4 – Fall-back dispatch: Android System call a startActivity() with
ACTION_TAG_DISCOVERED and look for a component capable to handle current
intent.



Html Pages

1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42


Datasheet Download

Go To PDF Page


Link URL



Does ALLDATASHEET help your business so far?  [ DONATE ] 

About Alldatasheet   |   Advertisement   |   Contact us   |   Privacy Policy   |   Link to Datasheet    |   Link Exchange   |   Manufacturer List
All Rights Reserved©Alldatasheet.com


Mirror Sites
English : Alldatasheet.com  |   English : Alldatasheet.net  |   Chinese : Alldatasheetcn.com  |   German : Alldatasheetde.com  |   Japanese : Alldatasheet.jp
Russian : Alldatasheetru.com  |   Korean : Alldatasheet.co.kr  |   Spanish : Alldatasheet.es  |   French : Alldatasheet.fr  |   Italian : Alldatasheetit.com
Portuguese : Alldatasheetpt.com  |   Polish : Alldatasheet.pl  |   Vietnamese : Alldatasheet.vn
Indian : Alldatasheet.in  |   Mexican : Alldatasheet.com.mx  |   British : Alldatasheet.co.uk  |   New Zealand : Alldatasheet.co.nz
Family Site : ic2ic.com  |   icmetro.com