codename one nfc beacon

谁都会走 提交于 2019-12-23 03:46:09

问题


i am trying to do some tests with nfc and beacons with Codename One. I'm reading that Codename One doesn't support them on some old posts, any news about it? It seems that the only way is going on native but i'm totally new to it. Any suggestions where to start or any hint?

Thanks in advance


回答1:


You might look at the source code for a couple of CN1Libs at http://www.codenameone.com/cn1libs.html

There you can see some of the native code implementations. It is more challenging to write a native interface, since the autocomplete won't generally work and the simulator can't test it. If you can find code examples similar to what you want to achieve written for Andriod, iOS, etc., on GitHub or other places, that can give you a head start.

Also, you can download the source code of your build and load it into Android Studio or XCode and debug it there.



来源:https://stackoverflow.com/questions/36279837/codename-one-nfc-beacon

易学教程内所有资源均来自网络或用户发布的内容,如有违反法律规定的内容欢迎反馈
该文章没有解决你所遇到的问题?点击提问,说说你的问题,让更多的人一起探讨吧!