Android的NDK wifi的例子 [英] Android NDK wifi example
问题描述
我想用WIFI功能与C code与Android中使用NDK的帮助。我不想使用Java API支持WIFI。我试着在谷歌以及对计算器,但我没有得到它的任何实例。我只是想知道,让我知道是否有可能或不?
I want to use features of WIFI with the help of c code by using NDK in android. I don't want to use Java API for WIFI. I tried on Google as well as on stackoverflow, but I didn't got any example for it. I am just wondering , let me know is it possible or not ?
我已经找到了 WIFI 某些Android API。但我没有实现的知识。
I have found some android API for WIFI. but I haven't any knowledge of implementation.
推荐答案
您可能会想看看libcurl的,但不能肯定。
因为我使用了cocos2d-X开发游戏(这是采用了android NDK),并且是的libcurl在cocos2d-X架构网络实现,所以我想这可能会有帮助。
You may wanna look at libcurl, but not quite sure. Because I am developing games using cocos2d-x (which is using android ndk), and libcurl is the network implementation in cocos2d-x framework, so i guess that might help.
这篇关于Android的NDK wifi的例子的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!