NFC的跨平台移动开发框架

NFC的跨平台移动开发框架

本文介绍了NFC的跨平台移动开发框架的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我想为多个移动平台(android,BB,iOS等)创建一个应用程序,该应用程序具有使用nfc对等功能的能力. (例如,读取/写入NFC读取器/写入器).

I want to create an application for several mobile platforms (android, BB, iOS etc) which has the capability to use nfc peer to peer functionality. (for example, to read/write to a nfc reader/writer).

我看了mosync(因为它允许我们编写我很喜欢的C/C ++代码),但是他们的API没有指定有关对等nfc的任何内容.它仅支持对nfc标签的读写.

I looked at mosync (because it allows us to write C/C++ code which i'm comfortable with) but their API does not specify anything about peer-to-peer nfc. It only supports read/write to/from nfc tags.

那么,哪个是我可以用来满足此需求的最佳平台? (最好的意思是灵活的,它支持最大数量的平台)

So, which is the best platform that i can use to fulfill this need? (by best i mean flexible and which supports the maximum number of platforms)

还可以将libnfc与任何"这样的框架一起使用吗?

Also, can libnfc be used with "any" such framework?

推荐答案

如果您不打算像本机应用程序那样利用设备的功能,建议您查看 PhoneGap .当我们谈论跨平台应用程序时,它是最常见的框架.您也可以使用 phonegap-nfc 插件来支持android,bb和Windows Phone8.

If you don't plan to take advantage of the capabilities of the devices like a native app can, I suggest you to take a look at PhoneGap. When we talk about cross platform apps, it is the most common framework. Also you can use phonegap-nfc plugin to support android, bb and windows phone 8.

这篇关于NFC的跨平台移动开发框架的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持!

08-21 15:30