Thread: HD3 dev
View Single Post
Old 03-13-2020, 01:15 PM   #2
rkomar
Wizard
rkomar ought to be getting tired of karma fortunes by now.rkomar ought to be getting tired of karma fortunes by now.rkomar ought to be getting tired of karma fortunes by now.rkomar ought to be getting tired of karma fortunes by now.rkomar ought to be getting tired of karma fortunes by now.rkomar ought to be getting tired of karma fortunes by now.rkomar ought to be getting tired of karma fortunes by now.rkomar ought to be getting tired of karma fortunes by now.rkomar ought to be getting tired of karma fortunes by now.rkomar ought to be getting tired of karma fortunes by now.rkomar ought to be getting tired of karma fortunes by now.
 
Posts: 3,055
Karma: 18821071
Join Date: Oct 2010
Location: Sudbury, ON, Canada
Device: PRS-505, PB 902, PRS-T1, PB 623, PB 840, PB 633
I guess it depends on what you want to do with these programs. If you want to display stuff on the screen and interact with it via the buttons and touch screen, then you are probably going to have to build in a layer of code that interfaces with libinkview. The latter is the API that the devices use, and that is provided to programmers in PocketBook's SDK. You might look at koreader as an example of a program that is written in another language (LUA), and that interfaces with libinkview.

It is the "requirement" of using libinkview that makes it hard to test applications off the device. There was an emulation library built for Windows over 10 years ago, but it is rudimentary and hasn't kept up with the changes to libinkview. The only way to seriously test new applications is to run them on the devices themselves.

That said, the OS on the devices is a pretty standard linux distribution. For stuff that doesn't use the screen and buttons, you can generally copy programs from the debian lenny armel distro onto the device and run them there. You may have to copy over missing libraries, too. That may provide a lot of what you need to do your development.
rkomar is offline   Reply With Quote