将一个“单词表.txt(包含单词和意思)”导入到Android Studio中的SQLite中,要如何实现?
阿神
阿神 2017-04-17 17:49:25
0
1
581

刚接触SQLite,求指导。

阿神
阿神

闭关修行中......

reply all(1)
巴扎黑

It’s almost the same as mysql.

There is a sqlite3.exe command in the android sdk, which can directly operate the sqlite3 database.

Create database

create table xxx(word text, mean text)

If the file contains sql, use

.read sql文件

If the data is separated in the file, use

.separator 列分隔符 
.import 数据文件
Latest Downloads
More>
Web Effects
Website Source Code
Website Materials
Front End Template