The entries in the table of contents are sorted in the usual way, with the added caveat that numbers are combined numerically into integers and then compared. The latter does not account for decimal points, so 2.5 comes before 2.c in your example above. I'll look into handling decimal points in numbers, but I'm not sure at this point if I have a good way of doing that.
The OpenContents dialog is rather old, and seems to be falling into disrepair on newer PocketBook systems (along with the OpenPageSelector and OpenDirectorySelector dialogs). It still works on my Inkpad1, but the buttons in the top corners are finicky (you often have to press a few times to get them to work). The inkview API doesn't offer any newer dialogs, so I suspect that they are using a newer internal API for their own apps that they haven't made public. There doesn't seem to be much I can do to make it better on newer devices.
The SDK does not offer any dialogs for searching for files. They seem to have made the design decision that the Library app would be used for that. So, pbimageviewer only offers to browse directories rather than files. I might be able to co-opt the OpenContents dialog to show files on the system, but as you already have problems using that for the table of contents, it probably would not help you much as a file browser.
|