Find centralized, trusted content and collaborate around the technologies you use most.
Teams
Q&A for work
Connect and share knowledge within a single location that is structured and easy to search.
我知道与 mySQL 或其他数据库不同,SQlite DB 不需要服务器。我们可以直接从文件中读取它。(我错了吗?).. 那么是否可以在 apache 服务器路径上创建 SQLiteDB 并对其进行读写?(我的电脑现在作为在线 apache 服务器工作,我有一个静态 ip。我想在运行同一个 android 项目的多个设备中使用这个数据库。)
您可以参考本教程,但您确实需要一个网络服务器。
请求机制 Android App ----> webserver ------> 数据库(mysql)
响应机制 Android App <---- webserver <----- database (mysql)
Android App 将使用JSON或其他方式获取数据并显示