문제

누군가 NFC Android 스택의 현재 상태를 이해하는 데 도움이 될 수 있습니까? OS 2.3 은 소형 NFC 지원 (NXP 태그 읽기에만 제한)이 있었고, 나중에 Google은 OS 2.3.3 에서 oS 2.3.3 에서 API를 증가 시켰습니다. 태그가 지원되고 P2P도 가능합니다.

내 질문은 nfc 스택 열기 ( http://www.open) -nfc.org/ ) 현재 상태에 맞 춥니 다?

열린 NFC 스택이 병렬 활동이며 현재 스택에 대한 선택적 교체입니다. 그 설명으로 인해 Google NFC 스택 구현의 일부 제한을 극복하고 새로운 HW 적응 (즉, 새로운 태그 유형에 대한 지원)을 더 쉽게 할 수 있습니다 ...

내 이해 에이 스택은 모바일 개발자가 아닌 장치 제조업체가 사용하는 것으로 의도됩니다. 아니면 열린 NFC 스택을 다운로드하고 라이브러리로 컴파일하고 .apk에 넣고 Google 스택을 대안으로 사용할 수 있습니까?

그러나 응용 프로그램 개발자가 열린 NFC 스택을 사용하는 것이 가능합니다. 새로운 2.3.3 OS 기능으로 의미가 있습니까?

도움이 되었습니까?

해결책

Can someone help me understanding the current state of the NFC Android stack? With the OS 2.3 there was released small NFC support (limited only to NXP tags reading), later the Google augment the API, so in OS 2.3.3 the wider range of tags is supported and also p2p is possible.

My question is how the Open NFC stack (http://www.open-nfc.org/) fits into current state??

At the moment (Android 2.3.4), the Android platform does not integrate the Open NFC stack. This stack has several advantages: not limited to one particular NFC hardware, portable to many different environments (not only Android), many additional features compared to the current stack. On the other hand, because Open NFC is not part of the standard Android environment, it requires some work (but it is actually quite easy) to use this stack in an Android platform. The Open NFC documentation describes this process.

As I understand the Open NFC stack is parallel activity and is optional replacement to the current stack. Due to its description it overcomes some limits of the Google NFC stack implementation and makes new HW adaptions (i.e. support for new tag types) easier…

Correct.

To my understanding this stack is intended to by used by device manufacturers, not mobile developers – is that right? Or is it possible to download the Open NFC stack, compile it as a library, put into .apk and use as an alternative the Google stack?

Unfortunately, because the standard Android kernel does not support modules loading, the Open NFC stack cannot be simply installed as another application, it requires a kernel change. But once the kernel is replaced, it is quite easy to deploy and use the Open NFC stack.

But even it will be possible for application developers to use the Open NFC stack – does it make sense with the new 2.3.3 OS features?

An application developer should probably stick to the OS features, even if more limited, since they assure the portability of the code over any NFC-enabled phone. But if you are trying to use "more" features than what comes with Android, Open NFC is a good candidate.

Hope this helps...

다른 팁

To my understanding this stack is intended to by used by device manufacturers, not mobile developers – is that right?

According to the Open NFC site, yes.

라이센스 : CC-BY-SA ~와 함께 속성
제휴하지 않습니다 StackOverflow
scroll top