first commit
This commit is contained in:
31
Sqlite.md
Executable file
31
Sqlite.md
Executable file
@@ -0,0 +1,31 @@
|
||||
## Build Sqlite for FTS5 Support
|
||||
##
|
||||
> wget "https://www.sqlite.org/src/tarball/sqlite.tar.gz?r=release" -O sqlite.tar.gz
|
||||
|
||||
> tar -xzvf sqlite.tar.gz
|
||||
|
||||
> cd sqlite
|
||||
|
||||
> ./configure --enable-fts5
|
||||
|
||||
> make
|
||||
|
||||
> sudo make install
|
||||
|
||||
## Sqlite in Android emulator
|
||||
```
|
||||
// list connected devices
|
||||
adb devices
|
||||
|
||||
// connect to the device
|
||||
adb -s device_id shell
|
||||
|
||||
// switch to root
|
||||
su
|
||||
|
||||
// change to database directory
|
||||
cd /data/data/package_name/databases
|
||||
|
||||
// open databae file with sqlite3
|
||||
sqlite3 database_file
|
||||
```
|
||||
Reference in New Issue
Block a user