---
/frameworks/base/services/java/com/android/server目录下SystemServer.java
在ServerThread的run函数中增加加载RfidReaderService的代码:
//RfidReader
try {
Slog.i(TAG, "RfidReader Service");
ServiceManager.addService("rfidReader", new RfidReaderService());
} catch (Throwable e) {
Slog.e(TAG, "Failure starting RfidReader Service", e);
}
----