¡@

Home 

2014/10/16 ¤W¤È 08:19:17

android Programming Glossary: mfd

Parsing data from hdp device for android (API 15)

http://stackoverflow.com/questions/10402291/parsing-data-from-hdp-device-for-android-api-15

ReadThread extends Thread private ParcelFileDescriptor mFd public ReadThread ParcelFileDescriptor fd super mFd fd @Override.. mFd public ReadThread ParcelFileDescriptor fd super mFd fd @Override public void run FileInputStream fis new FileInputStream.. public void run FileInputStream fis new FileInputStream mFd.getFileDescriptor byte data new byte 300 try while fis.read..

Parsing data from hdp device for android (API 15)

http://stackoverflow.com/questions/10402291/parsing-data-from-hdp-device-for-android-api-15

implements the IEEE 11073 xxxxx specifications. private class ReadThread extends Thread private ParcelFileDescriptor mFd public ReadThread ParcelFileDescriptor fd super mFd fd @Override public void run FileInputStream fis new FileInputStream.. class ReadThread extends Thread private ParcelFileDescriptor mFd public ReadThread ParcelFileDescriptor fd super mFd fd @Override public void run FileInputStream fis new FileInputStream mFd.getFileDescriptor byte data new byte 300 try.. ReadThread ParcelFileDescriptor fd super mFd fd @Override public void run FileInputStream fis new FileInputStream mFd.getFileDescriptor byte data new byte 300 try while fis.read data 1 At this point the application can pass the raw data..