View Single Post
Old 01-24-2010, 04:34 AM   #41
rfog
Guru
rfog ought to be getting tired of karma fortunes by now.rfog ought to be getting tired of karma fortunes by now.rfog ought to be getting tired of karma fortunes by now.rfog ought to be getting tired of karma fortunes by now.rfog ought to be getting tired of karma fortunes by now.rfog ought to be getting tired of karma fortunes by now.rfog ought to be getting tired of karma fortunes by now.rfog ought to be getting tired of karma fortunes by now.rfog ought to be getting tired of karma fortunes by now.rfog ought to be getting tired of karma fortunes by now.rfog ought to be getting tired of karma fortunes by now.
 
Posts: 696
Karma: 2383012
Join Date: Aug 2007
Location: Schiedam (The Netherlands)
Device: Lots of eInk devices and iOS stuff
Quote:
Originally Posted by Mackx View Post
Hi rfog,

You are looking for projects now that you got your development environment up and running


Someone else asked for a clock before, see this message for a clock program. I made a very simple modifications of the helloworld program. Its more a gimmick then a serious program.
I can see. From now it seems enough, but it would be great to have into toolbar...

Quote:
Originally Posted by Mackx View Post
That are a lot of questions. iRex has published (almost) all code at their site in the Sources folder. The CTB or ContentBrowser is the program that is responsible for showing the SD content (folder view) and for starting viewers to display the documents. The complete code of the CTB is published by iRex. Like in MS windows, files can be associated with programs using their extension. This is normally done via the gconf-mechanism (some kind of linux variant of the windows registry if I understand it correctly), but a copy of the associations are also stored in the dr1000.ini file (see the System-folder on your SD-card).
Well, I'm a silly man. I've only seen 1.7.1 folder. In 1.7 you have a lot of source code...

Quote:
Originally Posted by Mackx View Post
When you look in your dr1000.ini file, you will see that most extensions are associated with a programs called uds (I think it is for Universal Document system, or something like it). This is a generic viewer with plug-ins for the different formats. The plug-ins are published (document-viewer-plugins), but the generic part not. This generic part handles, among others, annotations, pagebar, (uniform) key-handling, etc.
So, to come back to your questions, the pdf viewer is, kind-of, published. The current pdf plug-in for the DR1000 uses the poppler library to scale and render pdf pages to bitmaps. It should also be possible to add extra plug-ins for other formats, but I have not looked into how this should be done.
However, since it is just linux, with gtk, running on your DR, other viewer programs can also be ported to the DR, like already done with FBReader, xournal, midori, evince, etc. This could also be done for the programs you mention I guess. How difficult this will be, depends on the programs themselves, are they gtk based and written in C, then it will not be difficult for an experienced linux programmer. Otherwise expect to spend a lot of your 'spare-hours' on it.
I know... Buf, for example, porting FBReader does not integrate it, it only allows to run separately... And Sudoky sample shows very big to be comfortably used...
rfog is offline   Reply With Quote