我怎样才能在Android开放SQLite数据库? [英] How can I open a SQLite database in android?

查看:153
本文介绍了我怎样才能在Android开放SQLite数据库?的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

如果我使用其他应用程序无法通过Android的运行时创建一个数据库,比方说使用'SQLite的经理(火狐延伸),我怎么能那么使用该数据库(生成的.Sqlite文件)在我的Andr​​oid应用程序?

If I created a database using another application not through android runtime, let's say using 'SQLite Manager'(firefox extention), how can I then use that database (the .Sqlite file that is generated) in my android application?

由于SQLite是原生的android的不是外人数据库。

Since the SQLite is native in the android not an outsider database.

推荐答案

您可以通过preparing数据库文件做(.sqlite)从sqlite的管理器(火狐延伸),然后用它在Android中看到的 示例

you can do it by preparing database file(.sqlite) from Sqlite Manager(firefox extention) and then use it in android see example

这篇关于我怎样才能在Android开放SQLite数据库?的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

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