SQLite 与 Android NDK [英] SQLite with Android NDK

查看:24
本文介绍了SQLite 与 Android NDK的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

是否有可能在 Android 手机上使用 SQLite 和 C++?我还没有找到任何关于如何做到这一点的文档.

Is it somehow possible to use SQLite with C++ on an Android phone? I haven't found any documentation around how this could be possible.

推荐答案

无法通过 NDK 使用内置 SQLite(或者当我研究这个时不是六个月前),只能可以用 Java 访问.但是,可以链接到您自己完全独立的 C++ 版本的 SQLite.

It isn't possible to use the built-in SQLite via NDK (or it wasn't six months ago when I looked into this), that can only be accessed with Java. However it may be possible to link in your own completely separate C++ build of SQLite.

这篇关于SQLite 与 Android NDK的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆