I started porting the Coolreader to my PB302.
It is not finished yet, but it can display books.
This is pretty much beta software so don't be surprised if it crashes often.

Get the zip from this post and unzip it.
Move cr3.app to /system/bin/
Move crengine/ to /system/share
Add cr3.app to epub and fb2 in /system/config/extentions.cfg

Now you should be able to read books with the Coolreader.
The keymapping is made for the PB302 but you can change it in crengine/keymaps/keymaps.ini
E.g. for the PB360 replace KEY_PREV / KEY_NEXT with KEY_UP / KEY_DOWN (probably, I can't test this) and so on.
It is possible to map two keys to the same action:
KEY_PLUS = DCMD_PAGEDOWN
KEY_DOWN = DCMD_PAGEDOWN

Only parts of the menu work so far. You get there with the power-key
Navigation is with the left keys Enter with the right. OK is the power key, ESC the round Back-key.

I started porting the Coolreader to my PB302.
It is not finished yet, but it can display books.
This is pretty much beta software so don't be surprised if it crashes often.

Get the zip from this post and unzip it.
Move cr3.app to /system/bin/
Move crengine/ to /system/share
Add cr3.app to epub and fb2 in /system/config/extentions.cfg

Now you should be able to read books with the Coolreader.
The keymapping is made for the PB302 but you can change it in crengine/keymaps/keymaps.ini
E.g. for the PB360 replace KEY_PREV / KEY_NEXT with KEY_UP / KEY_DOWN (probably, I can't test this) and so on.
It is possible to map two keys to the same action:
KEY_PLUS = DCMD_PAGEDOWN
KEY_DOWN = DCMD_PAGEDOWN

Only parts of the menu work so far. You get there with the power-key
Navigation is with the left keys Enter with the right. OK is the power key, ESC the round Back-key.

And there is no support for the touchscreen so far...

Great job.
Could your sources be used for compiling version for PB360?

For those who would like the tool translate.google.com will translate most any langege into most any languege for nothing. Simply copy the foreign languege text into the box given on the web site and tell it from what langeuge and to what langeuge and you can selct detect languege. In this case google translated the german to english for me and it was very understandable.

Now you should be able to read books with the Coolreader.
The keymapping is made for the PB302 but you can change it in crengine/keymaps/keymaps.ini
E.g. for the PB360 replace KEY_PREV / KEY_NEXT with KEY_UP / KEY_DOWN (probably, I can't test this) and so on.

This version of Coolreader does run on my PB360.
I will experiment with keymaps.ini later.

New version available. The zip is attached to the first post in the German forum.
Some improvement in the menu are made, especially there is now touch screen support!
Please update keymaps.ini and keydefs.ini, they have changed.

I thought you might be able to compare notes, but it looks as though he's refusing to share with the community "... as matter of principle in relation to other, bad PB officials who continue to insult me on their russian forum even when I'm out there anymore... Would be better if they spend this time to fix the bad firmware..." Looks like a bad combination of a star-sized ego (no apologies for the pun) with hurt pride. Or something like that. A lot of attitude, too, of course, to round it off.

The idea is, that you connect the keys (KEY_*) with the actions ( DCMD_*, MCMD_*, CMD_* )

So if the Down-Key should got to the next page (in the "main"-view aka the book itself) you write in the [main] section:

Code:

KEY_DOWN = DCMD_PAGEDOWN

or to jump 5 pages

Code:

KEY_DOWN = DCMD_PAGEDOWN, 5

Today I can't experiment, but I definitely will later.
(I shouldn't even be sitting at the computer at the moment, but how can I not to? ;-) - the doctor was quite strict, I feel much better now anyway )

KEY_DOWN
KEY_UP
KEY_RIGHT
KEY_LEFT
are keys in a 5-way "D-pad"
with KEY_OK in center, used as enter or as menu access key.
KEY_BUTTON1 and KEY_BUTTON2 (or perhaps KEY_NEXT and KEY_PREV accordind to header files in SDK) are the two big page-turning keys.

Default keys for turning pages in FBReader are
KEY_RIGHT and KEY_BUTTON1 for page forward
KEY_LEFT and KEY_BUTTON2 for previous page

KEY_DOWN and KEY_UP are used to increase and decrease the font size in FBReader.

The menu for setting reading application options is operated by KEY_OK
(This is different from your menu. Because what you call menu is in fact Library view)

If you need to test something (like non-public beta, or some setting), do not hesitate to contact me.

[rant mode]
By the way. It is absolutely amazing how you can do any development *at all* with the level of documentation in SDK. I was looking at header files to see how the buttons are called in PB360, and it is awful. There are quite a few #define statements for KEY_[SOMETHING] present that obviously have no corresponding hardware buttons in any device, without any explanation.
The only document, *in Russian*(!), in /doc/ directory merely states that there is no documentation and that we should see usr/include/inkview.h file. They didn't even bother translating this 30 line file to English [/rant mode].

First of all, a big thank you for starting the port. There are some things in the current fbreader180 which could be better. Hopefully CoolReader will become stable enough do be an alternative reader.

Wouldn't it be useful to set up a public repository for the sources somewhere, so that other developers could contribute? There are enough sites for this: github, bitbucket, launchpad, sourceforge, google code, ... there should be one suitable.

Please!! for PB902!!! and thanks to take the initiative. There is someone that ported to PB902, but he was very angry about PB programmers and decided to buy a sony PRS-950, so he will not share the coolreader for PB902...