java - 是否有任何 API 允许您在 c/c++ 中调用部分 Android SDK?

标签 java android c++ qt cross-platform

我不想为 Android 和 iOS 构建跨平台游戏,但我担心如果我使用 Qt 之类的东西,我将无法使用 Game Center 的 Android 等价物和其他类似的东西。在 Qt 中构建游戏的同时,我可以使用这些工具吗?

最佳答案

您可以使用 Android NDK。请参阅:http://developer.android.com/tools/sdk/ndk/index.html

"The NDK is a toolset that allows you to implement parts of your app using native-code languages such as C and C++. For certain types of apps, this can be helpful so you can reuse existing code libraries written in these languages, but most apps do not need the Android NDK."

关于java - 是否有任何 API 允许您在 c/c++ 中调用部分 Android SDK?,我们在Stack Overflow上找到一个类似的问题: https://stackoverflow.com/questions/16005466/

相关文章:

c++ - 如何将 vector 传递给 function() 并将 vector [array]返回给 main function()

C++ 模板无法在 Linux GCC 上编译

java - 以编程方式重启 Android Things

Java 比较两个字符串返回 false,尽管字符串相同

java - 唱歌后在 Android 应用程序中保持 session 的最佳方式?

java - 使用 Fongo 覆盖 Spring Mongo 配置

android - 如何根据位置查询以根据位置显示编辑 View

c++ - 在辅助类中访问 boost 矩阵的子片

安卓棉花糖 : Files written by SAF are not immediatelly written

java - 使用来自蓝牙连接的传入数据来处理特定对象? C# Windows 窗体应用程序和 Java Android 应用程序