02-20-2009, 02:01 PM | #1 |
Member
Posts: 24
Karma: 58
Join Date: Aug 2008
Device: Sony PRS-505, iRex DR1000S
|
Xournal note taking app ported
Official xournal website
It took more than a week to finally get this working. Not that it was hard, in the end, but more because I didn't know what I was doing. There are some problems, of course. One, the refresh is inconsistent. Two, don't click the "print" menu item. I took out all the printing code because a) it seemed useless and b) it required a bunch more libraries for something that wouldn't get used. I'll look at taking out the menu item, although I might look at how "Print to PDF" works, and putting it back in there. Seems like it would be useful, if it's possible to implement. I haven't done a lot of testing so far, just enough to confirm that it runs. You, mobileread readers, are the guinea pigs for this experiment. Let me know what sorts of issues you run into and I'll try to fix them. Also, I see that iRex has posted some more comprehensive documentation, including putting icons in the taskbar and such, so I'll look into that. Download: Here Installation: Unzip to the root folder of the device. When you disconnect from the computer you'll find two new shortcuts on the Home screen: InstallXournal and Xournal. Run InstallXournal first. It should take 30 seconds or so. Then run Xournal and enjoy. |
02-20-2009, 02:50 PM | #2 |
Fanatic
Posts: 597
Karma: 430
Join Date: Aug 2008
Location: Ellesmere Port, UK
Device: DR1000S Sony PRS505 iPad iPhone
|
Oh this looks useful. The Print to pdf if it could get done would be nice. As I've just sent my DR back for fixing, it will be a couple of weeks before I can try this though I look forward to other member reviews.
regards Howard |
Advert | |
|
02-20-2009, 02:50 PM | #3 |
Member
Posts: 10
Karma: 10
Join Date: Feb 2009
Device: dr1000s
|
Downloading... many thanks.
|
02-20-2009, 03:34 PM | #4 |
Addicted to Porting
Posts: 1,697
Karma: 7194
Join Date: Oct 2006
Location: Indianapolis, IN
Device: iRex iLiad, Nokia 770, Samsung i760
|
How's the refresh when writing? Is it as quick as the default writing app?
That was the biggest issue when I tried porting it to the iLiad... |
02-20-2009, 03:50 PM | #5 |
Member
Posts: 24
Karma: 58
Join Date: Aug 2008
Device: Sony PRS-505, iRex DR1000S
|
Heh, there is no refresh when writing. you have to actually click a button to refresh the writing, unfortunately. I'm not sure how to fix that, and it remains the biggest problem with the app at the moment.
I'm thinking of checking the scribble code from iRex to see if there's any useful information in there as to how the refreshes are done, but I have a feeling it's all done in the background, and there's no way to manually refresh. |
Advert | |
|
02-20-2009, 04:28 PM | #6 |
Member
Posts: 24
Karma: 58
Join Date: Aug 2008
Device: Sony PRS-505, iRex DR1000S
|
From liberscribble's driver.c:
Code:
void erscribble_driver_update_display() { // Send update message to display manager // // Syntax: !I,cmd,pid,x,y,w,h,ignore,window,type,widget,focus // - paint full screen (w=768,h=1024) // - skip the normal rules (ignore=1) // - special widget (widget=erscribble) // - rest unused (0) const char *msg = "!I,0,0,0,768,1024,1,0,0,erscribble,0"; sendto(fd, msg, strlen(msg), 0, (struct sockaddr*) &server_addr, sizeof(server_addr)); LOGPRINTF("Sent message `%s` to display manager", msg); } |
02-20-2009, 04:42 PM | #7 | |
Guru
Posts: 999
Karma: 19985
Join Date: Dec 2008
Location: Netherlands
Device: iRex DR1000S
|
Hi,
Quote:
I see if I can find some time to play with it coming week. |
|
02-20-2009, 07:04 PM | #8 |
Enthusiast
Posts: 40
Karma: 10
Join Date: Dec 2008
Location: zurich, switzerland
Device: irex dr 1000s, sony prs 700, 505, iliad BE. N800, SL6000, SL3200...
|
fantastic news! thanks a lot UtterInanity!
just tried the app, still some way to go but almost there! |
02-27-2009, 01:51 AM | #9 |
Enthusiast
Posts: 31
Karma: 10
Join Date: Jan 2009
Device: iRex DR1000, Kindle 3G, Kobo Glo
|
Thanks UtterInanity.
|
02-27-2009, 03:30 AM | #10 |
Connoisseur
Posts: 70
Karma: 816
Join Date: Dec 2007
Device: KindleDX, iPhone3Gs
|
wow, this app is really promising..much better than iRex's notetaking app. If refresh is solved, it should be the perfect notetaking app for DR. Thanks UtterInanity.
|
02-27-2009, 01:48 PM | #11 |
Addict
Posts: 371
Karma: 1002274
Join Date: Mar 2008
Location: Australia
Device: Kindle
|
Great work UtterInanity - this app is amazing! It does so many things that I didn't even realise would be possible on the DR1000S. I hope you can get the ink refresh bug fixed but I love Xournal just for the text input and Save As functions.
|
03-02-2009, 09:38 AM | #12 |
Member
Posts: 14
Karma: 10
Join Date: Jul 2007
Device: DR1000S
|
Xournal installation
Just a question, when you say unzip to the root device folder you mean the root folder of the SD card?
|
03-02-2009, 11:57 AM | #13 |
Connoisseur
Posts: 70
Karma: 816
Join Date: Dec 2007
Device: KindleDX, iPhone3Gs
|
Yes I think so..it will unzip every files into the corresponding directories. It won't remove any files in the sd card (it can replace files with same name though).
|
03-03-2009, 06:21 PM | #14 |
Junior Member
Posts: 3
Karma: 10
Join Date: Mar 2009
Device: irex 1000s
|
Almost amazing
This is (almost) amazing - just what I'm after. Many, many thanks for taking the time to make this available to all of us.
Is there any news on the code to automatically refresh the text? |
03-05-2009, 12:24 PM | #15 |
Member
Posts: 24
Karma: 58
Join Date: Aug 2008
Device: Sony PRS-505, iRex DR1000S
|
Refreshing is certainly possible, but there's a problem.
The code I posted earlier works, but it seems to interrupt everything else. This means that, if you're drawing a circle, you get maybe a quarter of the way through before it decides to refresh. For some reason, it seems to want to refresh the whole screen, no matter what variables I use in the message. So when it refreshes, it stops drawing for the amount of time it takes to refresh. Of course, your pen is still moving during this time, so by the time it's done and the app takes over again, you've finished drawing the circle. So it picks up from there, and you end up with a straight line from where the pen was when the refresh started to where the pen was when the refresh ended, instead of a nice circle. I have no ideas at the moment as to how to get around that. Some possibilities: 1) Only refresh a small section - say 5x5 or 2x2 pixels. However, I don't know how to do that, and I don't know how to get the position of the pen so that I know where to update. This also might still take too long, resulting in more delays. 2) Run the refresh separately from the main program. This way, the main program wouldn't get interrupted by the refresh. But again, no ideas how to do this. 3) Somehow send a refresh call to the system, like the text box does. Even if it's a slow update speed, at least it would be better than nothing, and when the text box refreshes, it doesn't interrupt the typing (as far as I know). I'd post the version with the updated refresh, but it's actually far more usable without it. |
|
Similar Threads | ||||
Thread | Thread Starter | Forum | Replies | Last Post |
Note-taking: please help! | goldzim | Which one should I buy? | 9 | 06-03-2010 05:59 PM |
Note Taking? | thewriterkid | Which one should I buy? | 6 | 02-10-2010 11:05 PM |
Note Taking? | thewriterkid | Sony Reader | 3 | 02-10-2010 10:26 PM |
note taking | artemisblossom | Sony Reader | 9 | 08-27-2009 10:05 PM |
Note taking | jjtbsomhorst | iRex | 1 | 03-11-2009 11:05 AM |