![]() |
#46 |
Gadget Force®
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 705
Karma: 2733
Join Date: Jun 2006
Location: The Netherlands
Device: Sony PRS-300 + Cybook with funny screen :P
|
|
![]() |
![]() |
![]() |
#47 |
Literate!
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 256
Karma: 2247
Join Date: Mar 2007
Device: PRS-500
|
I've succeeded in bricking my reader trying to get it to overwrite current settings with a new xml file in the scripts directory. That's good news in that it means it was loading the xml file, but bad news in that what I tried didn't work. I'll have to try some more later this week.
|
![]() |
![]() |
![]() |
#48 | |
Gadget Force®
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 705
Karma: 2733
Join Date: Jun 2006
Location: The Netherlands
Device: Sony PRS-300 + Cybook with funny screen :P
|
Quote:
The Reader bricks with one little typo. Also unknown functions will brick it. I think in the process of making the different hack I bricked it at least 100 time already. ![]() The clock writes its settings to a file. You can use that as an example how to use file access. Last edited by diabloNL; 08-14-2007 at 05:57 AM. |
|
![]() |
![]() |
![]() |
#49 |
Literate!
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 256
Karma: 2247
Join Date: Mar 2007
Device: PRS-500
|
Yeah, typical of most embedded code.
I noticed the stream access for the clock. That's not exactly what I'm looking for. I was hoping I could supersede some of the applicationStart button mappings in a file in "scripts". It appears as if the reader automatically loads any file in that dir, but my initial attempts haven't gotten me the functionality I'm looking for. |
![]() |
![]() |
![]() |
#50 | |
Gadget Force®
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 705
Karma: 2733
Join Date: Jun 2006
Location: The Netherlands
Device: Sony PRS-300 + Cybook with funny screen :P
|
Quote:
Let me know how you go otherwise I will see if I can do something with VB. ![]() |
|
![]() |
![]() |
![]() |
#51 | |
Connoisseur
![]() ![]() Posts: 78
Karma: 156
Join Date: Jul 2007
Device: sony reader
|
Quote:
<function id="doDigit" params="part"> ... </function> in group id="MENU_GROUP"? don't know what method calls jump to n% pages |
|
![]() |
![]() |
![]() |
#52 |
Junior Member
![]() Posts: 2
Karma: 10
Join Date: Aug 2007
Device: Sony Reader
|
There's a minor problem with the clock. Times from 00:00 to 00:59 are shown as PM when using 12 hour mode. This is because the hour is set to 12 before the am/pm check is done. Line 835 should be after the if block immediately after, i.e.
Code:
if (hours > 11) { m = "pm"; if (hours > 12) hours -= 12 } if (hours == 0) hours = 12; Code:
if (hours == 0) hours = 12; if (hours > 11) { m = "pm"; if (hours > 12) hours -= 12 } |
![]() |
![]() |
![]() |
#53 |
Enthusiast
![]() Posts: 26
Karma: 10
Join Date: Jul 2007
Location: Spain
Device: PRS500 / N-Gage QD
|
Divide and conquer
I would like to suggest another possibility for navigation that differs from the current Direct Page Control in that it only needs two buttons (or three, counting a reset). I think this idea would be specially good for navigating dictionaries or sorted lists (like the TOC!).
The idea is based in the divide and conquer search: basically, right takes you to the middle of the right half of data, left to the middle of the left half of data. This way you can very quickly (in logarithmic time) get near the part you're interested in. I don't know, however, if this can be programmed in the reader (since it requires memory from the search start). So let's say you're in page 1 and want to locate page 700 of a 1000 page book. The sequence would be: Right: reaches page 500 ((1000 + 1) / 2) Right: reaches page 750 ((500 + 1000) / 2) Left: reaches page 625 ((500 + 750) / 2) Right: reaches page 687 ((625 + 750) / 2) Right: reaches page 718 ((687 + 750) / 2) Left: reaches page 702 ((687 + 718) / 2) And for dictionaries, it is just left when you overturn, right when you turn short. What do you think? Doable? It basically saves you the work of mentally trying to guess the page you want to jump to, at the cost of maybe requiring more jumps if you are good at guessing. The reset would simply say "consider the whole text again". |
![]() |
![]() |
![]() |
#54 | |
Gadget Force®
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 705
Karma: 2733
Join Date: Jun 2006
Location: The Netherlands
Device: Sony PRS-300 + Cybook with funny screen :P
|
Quote:
![]() I will take a look at it when I'm back over a week. First it's time to enjoy my holiday in Spain. ![]() |
|
![]() |
![]() |
![]() |
#55 |
Enthusiast
![]() Posts: 26
Karma: 10
Join Date: Jul 2007
Location: Spain
Device: PRS500 / N-Gage QD
|
|
![]() |
![]() |
![]() |
#56 |
Gadget Force®
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 705
Karma: 2733
Join Date: Jun 2006
Location: The Netherlands
Device: Sony PRS-300 + Cybook with funny screen :P
|
|
![]() |
![]() |
![]() |
#57 |
Enthusiast
![]() Posts: 26
Karma: 10
Join Date: Jul 2007
Location: Spain
Device: PRS500 / N-Gage QD
|
|
![]() |
![]() |
![]() |
#58 |
Gadget Force®
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 705
Karma: 2733
Join Date: Jun 2006
Location: The Netherlands
Device: Sony PRS-300 + Cybook with funny screen :P
|
I won't be taking it with me on the air bed in the pool. Es no buena idea!
![]() |
![]() |
![]() |
![]() |
#59 |
Gizmologist
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 11,615
Karma: 929550
Join Date: Jan 2006
Location: Republic of Texas Embassy at Jackson, TN
Device: Pocketbook Touch HD3
|
Ziploks, my friend, Ziploks!
|
![]() |
![]() |
![]() |
#60 |
Gadget Force®
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 705
Karma: 2733
Join Date: Jun 2006
Location: The Netherlands
Device: Sony PRS-300 + Cybook with funny screen :P
|
|
![]() |
![]() |
![]() |
|
![]() |
||||
Thread | Thread Starter | Forum | Replies | Last Post |
Hacks Appeal For Negative Kindle Text Hack/Control/Setting | vugtitan | Amazon Kindle | 20 | 10-04-2010 12:29 PM |
remember the last page for Newspaper Direct? | HansTWN | iRex | 4 | 08-10-2010 04:13 AM |
PRS505 Direct Page Control? | volwrath | Sony Reader Dev Corner | 6 | 01-02-2009 10:17 AM |
PRS-500 Direct Page Control with Enter | Nogg | Sony Reader Dev Corner | 81 | 02-28-2008 02:11 AM |
PRS-500 Help modifying the Direct Page Control hack | DoctorBri | Sony Reader Dev Corner | 4 | 12-30-2007 04:52 PM |