View Single Post
Old 05-15-2016, 07:22 PM   #1
oren64
I need a chapter break
oren64 ought to be getting tired of karma fortunes by now.oren64 ought to be getting tired of karma fortunes by now.oren64 ought to be getting tired of karma fortunes by now.oren64 ought to be getting tired of karma fortunes by now.oren64 ought to be getting tired of karma fortunes by now.oren64 ought to be getting tired of karma fortunes by now.oren64 ought to be getting tired of karma fortunes by now.oren64 ought to be getting tired of karma fortunes by now.oren64 ought to be getting tired of karma fortunes by now.oren64 ought to be getting tired of karma fortunes by now.oren64 ought to be getting tired of karma fortunes by now.
 
oren64's Avatar
 
Posts: 4,042
Karma: 56058267
Join Date: Mar 2015
Location: Israel
Device: Kobo Glo
Dismiss Tiles by Add A Trigger In Sqlite File.

You can dismiss tiles (Sync, Shelf, Library...) by adding trigger to sqlite file.

1) Download sqlite editor, I'm using SqliteStudio.

2) Backup the sqlite file from your device, X:\.kobo\KoboReader.sqlite, just in case, copy the file to folder in your PC.

3) Open SqliteStudio, database > add database ,X:\.kobo\KoboReader.sqlite.

4) Select Table:Activity and go to Data.

Click image for larger version

Name:	Capture.PNG
Views:	263
Size:	169.8 KB
ID:	148693

5) You can see all the tiles on the device, the tile Type and Enable (true or false).
go to Triggers > Create Trigger.

6) Now write a trigger to disable a tile, example Sync.

Name: Sync
Action: UPDATE
Code:
UPDATE Activity SET Enabled='false' WHERE Type='Sync';
Click image for larger version

Name:	Capture1.PNG
Views:	255
Size:	87.5 KB
ID:	148692

The tiles dismiss only after reboot the device, exiting nickle or connecting the the device to PC.

Last edited by oren64; 05-22-2016 at 04:36 PM.
oren64 is offline   Reply With Quote