Register Guidelines E-Books Search Today's Posts Mark Forums Read

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

Notices

Reply
 
Thread Tools Search this Thread
Old 01-19-2025, 11:35 AM   #1
Zinco
Junior Member
Zinco began at the beginning.
 
Posts: 2
Karma: 10
Join Date: Jan 2025
Device: kobo
Starting in kobo developing

Hi everyone, I'm not an expert in developing (I created 2 apps with python for android with Kivi) but now I wanna start create a my software in a Kobo Aura H2O. I'have read about NicketTC and NickelHook for creating app for Kobo devices, but i haven't understend how work these.
Someone can explain me, in simple words and with a list of step how I can create the setup for start? Thanks so much!
Zinco is offline   Reply With Quote
Old 01-22-2025, 08:19 AM   #2
pazos
cosiñeiro
pazos ought to be getting tired of karma fortunes by now.pazos ought to be getting tired of karma fortunes by now.pazos ought to be getting tired of karma fortunes by now.pazos ought to be getting tired of karma fortunes by now.pazos ought to be getting tired of karma fortunes by now.pazos ought to be getting tired of karma fortunes by now.pazos ought to be getting tired of karma fortunes by now.pazos ought to be getting tired of karma fortunes by now.pazos ought to be getting tired of karma fortunes by now.pazos ought to be getting tired of karma fortunes by now.pazos ought to be getting tired of karma fortunes by now.
 
Posts: 1,377
Karma: 2200169
Join Date: Apr 2014
Device: BQ Cervantes 4
NickelHook relies on a particular toolchain (NickelTC). It is used to develop mods that work on Nickel (the blob that runs on your kobo, a qt app).

For standalone apps (ie: apps where you kill nickel before launch and restart nickel after exit) NickelHook won't work.

For standalone apps there're plenty of ways to develop. I would suggest to give it a try to fbink (as a binary and as a library) to simplify EPD stuff.

If you want to do your own EPD routines have a look at Plato (KOReader works the same way but the device abstraction is splitted across multiple repos, so it isn't as intuitive to read that code).
pazos is offline   Reply With Quote
Advert
Old 01-22-2025, 05:07 PM   #3
elinkser
Addict
elinkser has survived committing the World's Second Greatest Blunder.elinkser has survived committing the World's Second Greatest Blunder.elinkser has survived committing the World's Second Greatest Blunder.elinkser has survived committing the World's Second Greatest Blunder.elinkser has survived committing the World's Second Greatest Blunder.elinkser has survived committing the World's Second Greatest Blunder.elinkser has survived committing the World's Second Greatest Blunder.elinkser has survived committing the World's Second Greatest Blunder.elinkser has survived committing the World's Second Greatest Blunder.elinkser has survived committing the World's Second Greatest Blunder.elinkser has survived committing the World's Second Greatest Blunder.
 
Posts: 229
Karma: 146236
Join Date: Oct 2022
Device: Kobo Clara HD
Just browse back through the Developer pages to find a project or topic that's helpful.

For example, on python you would find about projects like:

https://www.mobileread.com/forums/sh...d.php?t=254214

https://github.com/Mavireck/Python-S...er/tree/master

https://github.com/SheepWizard/kobo-minesweeper

https://github.com/Slalamander/inkBoard


Similarly, you could find rmkit for C++, go-fbink for golang, plato for rust, chroot for anything, etc...


If you want your app to run on your Kobo ereader, your Android phone, AND your linux desktop, check out the portability phenomenon that is KOReader. Download this calculator plugin and prove to yourself it works AS IS on all three platforms:

https://github.com/zwim/calculator.koplugin

https://koreader.rocks/doc/index.html


(I "made" an instant app by copying this philosopher app and changed it to a "ConfuciusSay" joke app, just by changing the text file and a couple of lines. You can make your own, e.g. "BruceLeeSays", "AristotleSays", or whatever!)
https://github.com/cxzx150133/philosopher.koplugin


Note: If your app has simple GUI requirements like this, you could just implement it as a script in KOReader terminal, or invoke from a Telnet/SSH client. (Or if you install Kobo WebPortal, you could invoke script from remote web browser.)
If not too interactive, you could invoke the script from NickelMenu, with the script directly calling the fbink lib, mentioned by previous commenter, for output (install NickelDBus as well if more user interaction required.)

https://www.mobileread.com/forums/sh...d.php?t=299110

Or html output!
https://www.mobileread.com/forums/sh...postcount=1472

* There have been brave souls venturing into NickelHook programming, but I believe that has portability and maintenance challenges to go with the learning curve. It is nice to let the OG gurus do that heavy lifting.

https://www.mobileread.com/forums/sh...d.php?t=340938

https://www.mobileread.com/forums/sh...d.php?t=364903

https://www.mobileread.com/forums/sh...d.php?t=357540

Last edited by elinkser; 02-05-2025 at 04:38 PM. Reason: note,html
elinkser is offline   Reply With Quote
Reply

Thread Tools Search this Thread
Search this Thread:

Advanced Search

Forum Jump

Similar Threads
Thread Thread Starter Forum Replies Last Post
Where to start for developing in Kobo? AlgusDark Kobo Developer's Corner 20 06-26-2023 07:33 AM
Kobo Aura v2 not starting sand3r Kobo Reader 6 12-21-2017 09:14 AM
Developing Qt apps for Kobo in 2016? sherman Kobo Developer's Corner 3 01-03-2017 02:23 PM
Kobo is developing a 7.8 eReader RZetlin Kobo Reader 552 08-31-2016 04:23 AM
Developing on the Kobo Arc slate Kobo Tablets 9 02-08-2013 02:11 AM


All times are GMT -4. The time now is 01:24 PM.


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