MORENA: A Middleware for Programming NFC-enabled Android Applications as Distributed Object-Oriented Programs Andoni Lombide Carreton Kevin Pinte Wolfgang De Meuter ACM/IFIP/USENIX 13th International Conference on Middleware 2012 December 5 2012 Montreal, Canada Monday 28 January 13
This document is posted to help you gain knowledge. Please leave a comment to let me know what you think about it! Share it to your friends and learn new things together.
Transcript
MORENA: A Middleware for Programming NFC-enabled Android Applications as Distributed Object-Oriented Programs
Andoni Lombide CarretonKevin PinteWolfgang De Meuter
ACM/IFIP/USENIX 13th International Conference on Middleware 2012December 5 2012Montreal, Canada
Monday 28 January 13
• NFC (touch range).
• Callback on activities to detect RFID tags with subscribed MIME-type in memory.
• File access abstraction
RFID in Android
NdefMessage: { , , }
NdefRecord byte array
read write
Monday 28 January 13
Drawbacks of the Android NFC API
• Manual failure handling (and NFC causes A LOT of failures because of its hardware characteristics).
• Blocking communication (Android documentation recommends to use a separate thread for many RFID operations).
• Manual data conversion
• Tight coupling with activity-based architecture
Monday 28 January 13
Lessons Learnt from Previous Ambient-Oriented Programming Research
• Using objects as first class software representations for RFID-tagged “things” is a nice abstraction.
• These objects can be directly stored in the RFID tags’ memory to minimize data conversion.
• Event-driven discovery (fortunately built-in into Android).