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 09-01-2020, 07:22 PM   #1
chungtd94
Junior Member
chungtd94 began at the beginning.
 
Posts: 5
Karma: 10
Join Date: Aug 2020
Device: KoboGlo
I want to learn to write soft for Kobo

Sorry for my English.
I want to learn to write software that runs on Kobo ereader using Python. Where should I start? Can you show me the course on youtube or teach me step by step?
Many thanks.
chungtd94 is offline   Reply With Quote
Old 09-01-2020, 08:21 PM   #2
Elektron
Banned
Elektron ought to be getting tired of karma fortunes by now.Elektron ought to be getting tired of karma fortunes by now.Elektron ought to be getting tired of karma fortunes by now.Elektron ought to be getting tired of karma fortunes by now.Elektron ought to be getting tired of karma fortunes by now.Elektron ought to be getting tired of karma fortunes by now.Elektron ought to be getting tired of karma fortunes by now.Elektron ought to be getting tired of karma fortunes by now.Elektron ought to be getting tired of karma fortunes by now.Elektron ought to be getting tired of karma fortunes by now.Elektron ought to be getting tired of karma fortunes by now.
 
Posts: 2,296
Karma: 5300240
Join Date: Jun 2020
Location: Edmonton, AB
Device: Kobo Aura H2O Edition 2 (mark 7), Kobo Mini
I'd start with NiLuJe's FBInk library and KoboStuff, which has Python built in.
Elektron is offline   Reply With Quote
Advert
Old 09-01-2020, 10:36 PM   #3
chungtd94
Junior Member
chungtd94 began at the beginning.
 
Posts: 5
Karma: 10
Join Date: Aug 2020
Device: KoboGlo
Quote:
Originally Posted by Elektron View Post
I'd start with NiLuJe's FBInk library and KoboStuff, which has Python built in.
I'll learn more. Thanks.
chungtd94 is offline   Reply With Quote
Old 09-01-2020, 11:33 PM   #4
Elektron
Banned
Elektron ought to be getting tired of karma fortunes by now.Elektron ought to be getting tired of karma fortunes by now.Elektron ought to be getting tired of karma fortunes by now.Elektron ought to be getting tired of karma fortunes by now.Elektron ought to be getting tired of karma fortunes by now.Elektron ought to be getting tired of karma fortunes by now.Elektron ought to be getting tired of karma fortunes by now.Elektron ought to be getting tired of karma fortunes by now.Elektron ought to be getting tired of karma fortunes by now.Elektron ought to be getting tired of karma fortunes by now.Elektron ought to be getting tired of karma fortunes by now.
 
Posts: 2,296
Karma: 5300240
Join Date: Jun 2020
Location: Edmonton, AB
Device: Kobo Aura H2O Edition 2 (mark 7), Kobo Mini
I'll leave this to the smarter people now . I know about as much as a beginner when it comes to developing for Kobo.
Elektron is offline   Reply With Quote
Old 09-02-2020, 05:39 AM   #5
Mavireck
Connoisseur
Mavireck might easily be mistaken for a TexanMavireck might easily be mistaken for a TexanMavireck might easily be mistaken for a TexanMavireck might easily be mistaken for a TexanMavireck might easily be mistaken for a TexanMavireck might easily be mistaken for a TexanMavireck might easily be mistaken for a TexanMavireck might easily be mistaken for a TexanMavireck might easily be mistaken for a TexanMavireck might easily be mistaken for a TexanMavireck might easily be mistaken for a Texan
 
Posts: 63
Karma: 18290
Join Date: Jul 2016
Location: France
Device: Kobo H2O (broken), Kobo H2O Edition 2 v1 (stolen), Kobo Clara 2E
I did struggle at the beginning too, especially since I had absolutely no programming background.

The main tools :
- KoboStuff : A all-in-one package with a lot of useful stuff (usbnet, ssh, tmux, python, ...) to start developping
- FBInk : To draw stuff on the screen (included in KoboStuff)
- NickelMenu : To launch an app


What you will have to do :
- Your app must create images itself (you will have to tell it "Create a square, add a line" etc), which afterwards can be sent as images to FBInk.
- You must write some sort of a touch driver on your own (but do check Kobo-Input-Python to save a little bit of work - all credits go to shermp)
- If you want to handle Wifi, brigthness and all, there is no librairy for it, you will have write it manually (and as far as I am concerned, it is far over what I can do)


A way to skip some work
I started writing a GUI toolkit (a gui librairy) to avoid having to do all the above from scratch : PSSM. Do check the docs and the examples, and if you are ready, you can help me developp it. However I did stop working on it because of university, but I may be able to go back to that in the future. So far, it does work, but it may undergo some serious changes, and I really need to work on performance (though I think I will reach Python limits)



Do check YAWK - Yet Another Weather app for Kobo, which is the project which got me started.


I did developp a few Python apps, you can check my Github to find some help.

For instance :
A WolframAlpha app
A dashboard


I however am no expert, so feel free to precise or react to what I said.
Mavireck is offline   Reply With Quote
Advert
Old 09-02-2020, 08:52 AM   #6
chungtd94
Junior Member
chungtd94 began at the beginning.
 
Posts: 5
Karma: 10
Join Date: Aug 2020
Device: KoboGlo
Quote:
Originally Posted by Mavireck View Post
I did struggle at the beginning too, especially since I had absolutely no programming background.

The main tools :
- KoboStuff : A all-in-one package with a lot of useful stuff (usbnet, ssh, tmux, python, ...) to start developping
- FBInk : To draw stuff on the screen (included in KoboStuff)
- NickelMenu : To launch an app


What you will have to do :
- Your app must create images itself (you will have to tell it "Create a square, add a line" etc), which afterwards can be sent as images to FBInk.
- You must write some sort of a touch driver on your own (but do check Kobo-Input-Python to save a little bit of work - all credits go to shermp)
- If you want to handle Wifi, brigthness and all, there is no librairy for it, you will have write it manually (and as far as I am concerned, it is far over what I can do)


A way to skip some work
I started writing a GUI toolkit (a gui librairy) to avoid having to do all the above from scratch : PSSM. Do check the docs and the examples, and if you are ready, you can help me developp it. However I did stop working on it because of university, but I may be able to go back to that in the future. So far, it does work, but it may undergo some serious changes, and I really need to work on performance (though I think I will reach Python limits)



Do check YAWK - Yet Another Weather app for Kobo, which is the project which got me started.


I did developp a few Python apps, you can check my Github to find some help.

For instance :
A WolframAlpha app
A dashboard


I however am no expert, so feel free to precise or react to what I said.
Thank you so much.
chungtd94 is offline   Reply With Quote
Old 09-02-2020, 12:30 PM   #7
Elektron
Banned
Elektron ought to be getting tired of karma fortunes by now.Elektron ought to be getting tired of karma fortunes by now.Elektron ought to be getting tired of karma fortunes by now.Elektron ought to be getting tired of karma fortunes by now.Elektron ought to be getting tired of karma fortunes by now.Elektron ought to be getting tired of karma fortunes by now.Elektron ought to be getting tired of karma fortunes by now.Elektron ought to be getting tired of karma fortunes by now.Elektron ought to be getting tired of karma fortunes by now.Elektron ought to be getting tired of karma fortunes by now.Elektron ought to be getting tired of karma fortunes by now.
 
Posts: 2,296
Karma: 5300240
Join Date: Jun 2020
Location: Edmonton, AB
Device: Kobo Aura H2O Edition 2 (mark 7), Kobo Mini
I'd also recommend KFMon as an app launcher. Just create a .png, put a <watch> on it, and link it to your .sh file. I look forward to seeing what you make .
Elektron is offline   Reply With Quote
Old 09-02-2020, 08:05 PM   #8
chungtd94
Junior Member
chungtd94 began at the beginning.
 
Posts: 5
Karma: 10
Join Date: Aug 2020
Device: KoboGlo
Quote:
Originally Posted by Elektron View Post
I'd also recommend KFMon as an app launcher. Just create a .png, put a <watch> on it, and link it to your .sh file. I look forward to seeing what you make .
I also think that is the best way to start a program.
chungtd94 is offline   Reply With Quote
Old 09-29-2020, 05:10 PM   #9
akn_39
Junior Member
akn_39 began at the beginning.
 
Posts: 6
Karma: 10
Join Date: Sep 2020
Device: Kobo Glo HD
Hello Mavireck: I too am looking to get started with developing an app that will run on my Kobo eReader and I was interested in the information that you posted. I have programming experience and I have written some simple Android apps, but I am having difficulty seeing the framework and workflow to create a Kobo app. I am wondering if there is a tutorial (preferably video) that starts from the beginning and goes through the installation and setup steps for the software required (on a Windows 10 computer), and shows how to create a very basic program e,g, Hello World.

Cheers. . .

Tony
akn_39 is offline   Reply With Quote
Old 10-01-2020, 09:45 AM   #10
geek1011
Wizard
geek1011 ought to be getting tired of karma fortunes by now.geek1011 ought to be getting tired of karma fortunes by now.geek1011 ought to be getting tired of karma fortunes by now.geek1011 ought to be getting tired of karma fortunes by now.geek1011 ought to be getting tired of karma fortunes by now.geek1011 ought to be getting tired of karma fortunes by now.geek1011 ought to be getting tired of karma fortunes by now.geek1011 ought to be getting tired of karma fortunes by now.geek1011 ought to be getting tired of karma fortunes by now.geek1011 ought to be getting tired of karma fortunes by now.geek1011 ought to be getting tired of karma fortunes by now.
 
Posts: 2,804
Karma: 7025947
Join Date: May 2016
Location: Ontario, Canada
Device: Kobo Mini, Aura Edition 2 v1, Clara HD
Quote:
Originally Posted by akn_39 View Post
Hello Mavireck: I too am looking to get started with developing an app that will run on my Kobo eReader and I was interested in the information that you posted. I have programming experience and I have written some simple Android apps, but I am having difficulty seeing the framework and workflow to create a Kobo app. I am wondering if there is a tutorial (preferably video) that starts from the beginning and goes through the installation and setup steps for the software required (on a Windows 10 computer), and shows how to create a very basic program e,g, Hello World.

Cheers. . .

Tony
It's pretty much the same as embedded GUI development on Linux, except that you throw in a bunch of code every time something doesn't work with e-ink or touch (or you just use FBInk to skip all the e-ink nonsense). There's not really much of a framework; it's custom-built for almost all the apps for Kobo devices (see Plato for a easy-to-understand implementation of most required things).

It'll be nothing like Android app development, though.
geek1011 is offline   Reply With Quote
Old 10-01-2020, 12:48 PM   #11
akn_39
Junior Member
akn_39 began at the beginning.
 
Posts: 6
Karma: 10
Join Date: Sep 2020
Device: Kobo Glo HD
Hi geek1011: Thanks for responding to my question on eReader app development - I really appreciate your comments. And greetings from Parksville, BC.

My starting point is a Windows 10 system and I'm wondering what is the first thing I do to get started. I did find this guide from OfficerAction - is this information still current and would it be a good place to start? Am I right in assuming that a Linux system (real or virtual) is a requirement i.e. there is no Windows emulation available? Also, would you be able to send me a link for the Plato reference that you mentioned.

Regards. . .

Tony
akn_39 is offline   Reply With Quote
Old 10-01-2020, 03:16 PM   #12
geek1011
Wizard
geek1011 ought to be getting tired of karma fortunes by now.geek1011 ought to be getting tired of karma fortunes by now.geek1011 ought to be getting tired of karma fortunes by now.geek1011 ought to be getting tired of karma fortunes by now.geek1011 ought to be getting tired of karma fortunes by now.geek1011 ought to be getting tired of karma fortunes by now.geek1011 ought to be getting tired of karma fortunes by now.geek1011 ought to be getting tired of karma fortunes by now.geek1011 ought to be getting tired of karma fortunes by now.geek1011 ought to be getting tired of karma fortunes by now.geek1011 ought to be getting tired of karma fortunes by now.
 
Posts: 2,804
Karma: 7025947
Join Date: May 2016
Location: Ontario, Canada
Device: Kobo Mini, Aura Edition 2 v1, Clara HD
Quote:
Originally Posted by akn_39 View Post
Hi geek1011: Thanks for responding to my question on eReader app development - I really appreciate your comments. And greetings from Parksville, BC.

My starting point is a Windows 10 system and I'm wondering what is the first thing I do to get started. I did find this guide from OfficerAction - is this information still current and would it be a good place to start? Am I right in assuming that a Linux system (real or virtual) is a requirement i.e. there is no Windows emulation available? Also, would you be able to send me a link for the Plato reference that you mentioned.

Regards. . .

Tony
That tutorial is OK as a starting point. If you are on Windows 10, you can use WSL instead of a native Linux installation, but it will be quite slow when working with toolchains. So yes, a Linux system of some sort is a requirement. For Plato, see https://github.com/baskerville/plato/tree/master/src.
geek1011 is offline   Reply With Quote
Old 10-01-2020, 03:36 PM   #13
akn_39
Junior Member
akn_39 began at the beginning.
 
Posts: 6
Karma: 10
Join Date: Sep 2020
Device: Kobo Glo HD
geek1011: That's great - thanks for your help. . .
akn_39 is offline   Reply With Quote
Reply


Forum Jump

Similar Threads
Thread Thread Starter Forum Replies Last Post
Is possible sync just books from Kobo, avoiding soft upgrades? mg10 Kobo Developer's Corner 4 09-20-2017 02:28 PM
Book Jacket Soft Warning (100% Occurrence) and stars on Kobo glo Cherry Picker Calibre 9 03-11-2017 06:12 PM
Free (Kobo/Kindle/ePub) Invincible: 10 Lies You Learn… [Domestic Violence Self-Help] ATDrake Deals and Resources (No Self-Promotion or Affiliate Links) 0 08-29-2014 12:06 AM
How did kobo write such slow software? notzed Kobo Developer's Corner 4 01-15-2013 11:12 PM
Kobo Wireless unable to write to (most) SD cards Ayukawa Kobo Reader 19 01-27-2011 08:10 PM


All times are GMT -4. The time now is 03:28 AM.


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