Register Guidelines E-Books Today's Posts Search

Go Back   MobileRead Forums > E-Book Readers > Kobo Reader > Kobo Developer's Corner

Notices

Reply
 
Thread Tools Search this Thread
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:	269
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:	259
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
Old 05-15-2016, 08:00 PM   #2
davidfor
Grand Sorcerer
davidfor ought to be getting tired of karma fortunes by now.davidfor ought to be getting tired of karma fortunes by now.davidfor ought to be getting tired of karma fortunes by now.davidfor ought to be getting tired of karma fortunes by now.davidfor ought to be getting tired of karma fortunes by now.davidfor ought to be getting tired of karma fortunes by now.davidfor ought to be getting tired of karma fortunes by now.davidfor ought to be getting tired of karma fortunes by now.davidfor ought to be getting tired of karma fortunes by now.davidfor ought to be getting tired of karma fortunes by now.davidfor ought to be getting tired of karma fortunes by now.
 
Posts: 24,907
Karma: 47303748
Join Date: Jul 2011
Location: Sydney, Australia
Device: Kobo:Touch,Glo, AuraH2O, GloHD,AuraONE, ClaraHD, Libra H2O; tolinoepos
And for anyone who uses calibre, my Kobo Utilities plugin has this as a function.

As a suggestion here create the trigger as:

Code:
UPDATE Activity SET Enabled='false' WHERE Type IN ('Sync', 'Recommendations');
That will dismiss the sync and recommendations tiles.

The last time I checked, the full list of tiles is : Award, Bookstore, CategoryFTE, Extras, GlobalStats, Library, QuickTour, RecentPocketArticle, Recommendations, RelatedItems, WhatsNew, Shelf, Sync, Top50.

As to how well this works, it depends on the tile. Some it can completely block. Others will appear and then disappear on the next home screen update and some it seems will only disappear when you restart the device. And this has changed with the firmware versions.
davidfor is offline   Reply With Quote
Old 05-16-2016, 03:53 AM   #3
tshering
Wizard
tshering ought to be getting tired of karma fortunes by now.tshering ought to be getting tired of karma fortunes by now.tshering ought to be getting tired of karma fortunes by now.tshering ought to be getting tired of karma fortunes by now.tshering ought to be getting tired of karma fortunes by now.tshering ought to be getting tired of karma fortunes by now.tshering ought to be getting tired of karma fortunes by now.tshering ought to be getting tired of karma fortunes by now.tshering ought to be getting tired of karma fortunes by now.tshering ought to be getting tired of karma fortunes by now.tshering ought to be getting tired of karma fortunes by now.
 
Posts: 3,489
Karma: 2914715
Join Date: Jun 2012
Device: kobo touch
Some people might be interested in Refj's script, which does something somehow related to dismissing tiles (actually the opposite).
tshering is offline   Reply With Quote
Reply


Forum Jump

Similar Threads
Thread Thread Starter Forum Replies Last Post
2.x UI bug: How to dismiss dropdown menu in Tags field? MelBr Calibre 10 10-19-2014 04:18 PM
Apple and Google agree to dismiss all Lawsuits frahse News 3 05-18-2014 01:31 AM
Motion to dismiss e-book suit rejected carld News 27 05-18-2012 08:41 PM


All times are GMT -4. The time now is 07:30 PM.


MobileRead.com is a privately owned, operated and funded community.