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 02-24-2018, 06:22 PM   #1
xfbs
Junior Member
xfbs began at the beginning.
 
Posts: 2
Karma: 10
Join Date: Feb 2018
Device: Kobo Glo
Post Can someone get me up to speed with Kobo development?

Dear Community,

Could someone get me up to speed with developing apps for Kobo (specifically Kobo Glo)? I bought one for cheaps, planning to just glue it to my wall and use it as a fancy calendar or something like that.

Tiny setback is that I bricked the touchscreen while setting it up, but that's cool because I wasn't planning on using it anyways.

I've poked around a little bit and found that it uses Qt, specifically Qt 5.2. Is there a tutorial on how to get set up with Qt for arm (embedded)? Just like a hello world kind of situation that I can tinker with?

Also, how much of the default system can I delete? I mean I have a backup of anything, but is there a tutorial on how to just throw everything away (I don't need any of the default GUI stuff, I want it to boot right into my app).

For the wifi: I found some references to wpa_supplicant, am I right in assuming that it's using that to connect to wifi? If so, I think I can probably just hardcode my wifi into the config, and in case it changes I can manually edit it, right?

Cheers, xfbs!
xfbs is offline   Reply With Quote
Old 02-26-2018, 02:45 PM   #2
Ken Maltby
Wizard
Ken Maltby ought to be getting tired of karma fortunes by now.Ken Maltby ought to be getting tired of karma fortunes by now.Ken Maltby ought to be getting tired of karma fortunes by now.Ken Maltby ought to be getting tired of karma fortunes by now.Ken Maltby ought to be getting tired of karma fortunes by now.Ken Maltby ought to be getting tired of karma fortunes by now.Ken Maltby ought to be getting tired of karma fortunes by now.Ken Maltby ought to be getting tired of karma fortunes by now.Ken Maltby ought to be getting tired of karma fortunes by now.Ken Maltby ought to be getting tired of karma fortunes by now.Ken Maltby ought to be getting tired of karma fortunes by now.
 
Ken Maltby's Avatar
 
Posts: 4,465
Karma: 6900052
Join Date: Dec 2009
Location: The Heart of Texas
Device: Boox Note2, AuraHD, PDA,
You might want to check out Github projects for Kobo devices. Projects like KOReader include help in setting up proper toolchains for the devices.

Luck;
Ken
Ken Maltby is offline   Reply With Quote
Advert
Old 03-02-2018, 07:27 AM   #3
xfbs
Junior Member
xfbs began at the beginning.
 
Posts: 2
Karma: 10
Join Date: Feb 2018
Device: Kobo Glo
Of course, that repo (at https://github.com/kobolabs/Kobo-Reader) was super helpful. So you think it's a good idea to look at other projects to see if they have any guides on getting set up properly? There's koreader, okreader, kobo-hack, plato and also this thread from what I could find thus far.
xfbs is offline   Reply With Quote
Old 03-06-2018, 02:21 PM   #4
Frenzie
Wizard
Frenzie ought to be getting tired of karma fortunes by now.Frenzie ought to be getting tired of karma fortunes by now.Frenzie ought to be getting tired of karma fortunes by now.Frenzie ought to be getting tired of karma fortunes by now.Frenzie ought to be getting tired of karma fortunes by now.Frenzie ought to be getting tired of karma fortunes by now.Frenzie ought to be getting tired of karma fortunes by now.Frenzie ought to be getting tired of karma fortunes by now.Frenzie ought to be getting tired of karma fortunes by now.Frenzie ought to be getting tired of karma fortunes by now.Frenzie ought to be getting tired of karma fortunes by now.
 
Posts: 1,617
Karma: 724945
Join Date: Oct 2014
Location: Antwerp
Device: Kobo Aura H2O
KOreader is a bit extensive. Depending on what you want you really only need to take a look at some of the drawing stuff:

(probably not exhaustive; just some quick links)
https://github.com/koreader/koreader...i/einkfb_h.lua
https://github.com/koreader/koreader...fer_einkfb.lua
https://github.com/koreader/koreader.../einkfb_decl.c
https://github.com/koreader/koreader...clude/einkfb.h

Relevant stuff for Plato: https://github.com/baskerville/plato...rc/framebuffer

okreader doesn't include any GUI stuff afaik

But what do you mean by fancy calendar? You can easily display image and HTML files with what's included in KSM and a little scripting.

Quote:
Also, how much of the default system can I delete? I mean I have a backup of anything, but is there a tutorial on how to just throw everything away (I don't need any of the default GUI stuff, I want it to boot right into my app).
Just set starting your app as the default in KSM and leave the rest alone. Well, unless you just really, really, really want to get rid of Nickel for some reason but I generally wouldn't. In that case you could replace it all with okreader.

Edit: but if you like Lua, you could also take KSM + KOReader as a base, whether to display generated images or to create your own widgets. http://koreader.rocks/doc/modules/ui.widget.widget.html

In that case you could create a plugin, see some examples here: https://github.com/koreader/koreader...033cfb/plugins

You could do something similar with Plato if you like Rust, I suppose. :P

Last edited by Frenzie; 03-06-2018 at 02:28 PM.
Frenzie is offline   Reply With Quote
Old 05-27-2018, 12:41 PM   #5
OfficerAction
Connoisseur
OfficerAction can shake the floor when laughingOfficerAction can shake the floor when laughingOfficerAction can shake the floor when laughingOfficerAction can shake the floor when laughingOfficerAction can shake the floor when laughingOfficerAction can shake the floor when laughingOfficerAction can shake the floor when laughingOfficerAction can shake the floor when laughingOfficerAction can shake the floor when laughingOfficerAction can shake the floor when laughingOfficerAction can shake the floor when laughing
 
Posts: 80
Karma: 63118
Join Date: May 2018
Device: Kobo Aura One
Check out my tutorial ;-)
https://www.mobileread.com/forums/sh....php?p=3697794
OfficerAction is offline   Reply With Quote
Advert
Reply


Forum Jump

Similar Threads
Thread Thread Starter Forum Replies Last Post
building Kobo development environment pasquale8120 Kobo Developer's Corner 36 03-29-2019 09:02 AM
Kobo Development forum PeterT Feedback 2 07-17-2012 04:00 PM
Kobo Wi-Fi Page Turn Speed SonDan1 Kobo Reader 6 04-11-2012 10:46 PM
Touch Kobo Touch Speed and Wi-Fi Compatibility Zimbu Kobo Reader 5 04-07-2012 10:55 PM
Speed of Development of Open Inkpot ramjet1953 OpenInkpot 2 05-30-2010 04:15 AM


All times are GMT -4. The time now is 12:27 AM.


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