Register Guidelines E-Books Today's Posts Search

Go Back   MobileRead Forums > E-Book Readers > Sony Reader > Sony Reader Dev Corner

Notices

Reply
 
Thread Tools Search this Thread
Old 08-14-2007, 02:22 AM   #46
diabloNL
Gadget Force®
diabloNL plays well with othersdiabloNL plays well with othersdiabloNL plays well with othersdiabloNL plays well with othersdiabloNL plays well with othersdiabloNL plays well with othersdiabloNL plays well with othersdiabloNL plays well with othersdiabloNL plays well with othersdiabloNL plays well with othersdiabloNL plays well with others
 
diabloNL's Avatar
 
Posts: 705
Karma: 2733
Join Date: Jun 2006
Location: The Netherlands
Device: Sony PRS-300 + Cybook with funny screen :P
Quote:
Originally Posted by ns66 View Post
positive, holding next for 5 sec get you to the end of all 50 pages, not going next 10 pages. so basically you can flip from beginning or from end of book list, that's it
Hmmm.. that's indeed not very helpful.
diabloNL is offline   Reply With Quote
Old 08-14-2007, 02:52 AM   #47
Nogg
Literate!
Nogg knows what time it isNogg knows what time it isNogg knows what time it isNogg knows what time it isNogg knows what time it isNogg knows what time it isNogg knows what time it isNogg knows what time it isNogg knows what time it isNogg knows what time it isNogg knows what time it is
 
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.
Nogg is offline   Reply With Quote
Old 08-14-2007, 03:15 AM   #48
diabloNL
Gadget Force®
diabloNL plays well with othersdiabloNL plays well with othersdiabloNL plays well with othersdiabloNL plays well with othersdiabloNL plays well with othersdiabloNL plays well with othersdiabloNL plays well with othersdiabloNL plays well with othersdiabloNL plays well with othersdiabloNL plays well with othersdiabloNL plays well with others
 
diabloNL's Avatar
 
Posts: 705
Karma: 2733
Join Date: Jun 2006
Location: The Netherlands
Device: Sony PRS-300 + Cybook with funny screen :P
Quote:
Originally Posted by Nogg View Post
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.

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.
diabloNL is offline   Reply With Quote
Old 08-14-2007, 03:34 AM   #49
Nogg
Literate!
Nogg knows what time it isNogg knows what time it isNogg knows what time it isNogg knows what time it isNogg knows what time it isNogg knows what time it isNogg knows what time it isNogg knows what time it isNogg knows what time it isNogg knows what time it isNogg knows what time it is
 
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.
Nogg is offline   Reply With Quote
Old 08-14-2007, 05:53 AM   #50
diabloNL
Gadget Force®
diabloNL plays well with othersdiabloNL plays well with othersdiabloNL plays well with othersdiabloNL plays well with othersdiabloNL plays well with othersdiabloNL plays well with othersdiabloNL plays well with othersdiabloNL plays well with othersdiabloNL plays well with othersdiabloNL plays well with othersdiabloNL plays well with others
 
diabloNL's Avatar
 
Posts: 705
Karma: 2733
Join Date: Jun 2006
Location: The Netherlands
Device: Sony PRS-300 + Cybook with funny screen :P
Quote:
Originally Posted by Nogg View Post
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.

Let me know how you go otherwise I will see if I can do something with VB.
diabloNL is offline   Reply With Quote
Old 08-14-2007, 07:33 PM   #51
ns66
Connoisseur
ns66 doesn't litterns66 doesn't litter
 
Posts: 78
Karma: 156
Join Date: Jul 2007
Device: sony reader
Quote:
Originally Posted by ns66 View Post
to help with finding book due to ereader flat file structure, some possibilities

1. make number button N-> N% of book list pages, just like within a book, instead of picking on a particular book (because we usually won't have that many pages for book list, this option should suffice)
to do this, seems add the method

<function id="doDigit" params="part">
...
</function>

in group id="MENU_GROUP"? don't know what method calls jump to n% pages
ns66 is offline   Reply With Quote
Old 08-15-2007, 02:55 PM   #52
b0lt
Junior Member
b0lt began at the beginning.
 
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;
instead of
Code:
if (hours == 0) hours = 12;
if (hours > 11) {
	m = "pm";
	if (hours > 12) hours -= 12
}
b0lt is offline   Reply With Quote
Old 08-16-2007, 11:15 AM   #53
mosteo
Enthusiast
mosteo began at the beginning.
 
mosteo's Avatar
 
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".
mosteo is offline   Reply With Quote
Old 08-17-2007, 10:07 AM   #54
diabloNL
Gadget Force®
diabloNL plays well with othersdiabloNL plays well with othersdiabloNL plays well with othersdiabloNL plays well with othersdiabloNL plays well with othersdiabloNL plays well with othersdiabloNL plays well with othersdiabloNL plays well with othersdiabloNL plays well with othersdiabloNL plays well with othersdiabloNL plays well with others
 
diabloNL's Avatar
 
Posts: 705
Karma: 2733
Join Date: Jun 2006
Location: The Netherlands
Device: Sony PRS-300 + Cybook with funny screen :P
Quote:
Originally Posted by mosteo View Post
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".
Doable?

I will take a look at it when I'm back over a week. First it's time to enjoy my holiday in Spain.
diabloNL is offline   Reply With Quote
Old 08-17-2007, 10:14 AM   #55
mosteo
Enthusiast
mosteo began at the beginning.
 
mosteo's Avatar
 
Posts: 26
Karma: 10
Join Date: Jul 2007
Location: Spain
Device: PRS500 / N-Gage QD
Quote:
Originally Posted by diabloNL View Post
Doable?

I will take a look at it when I'm back over a week. First it's time to enjoy my holiday in Spain.
Ey! I'm from Spain . Which regions are you to visit?
mosteo is offline   Reply With Quote
Old 08-17-2007, 10:22 AM   #56
diabloNL
Gadget Force®
diabloNL plays well with othersdiabloNL plays well with othersdiabloNL plays well with othersdiabloNL plays well with othersdiabloNL plays well with othersdiabloNL plays well with othersdiabloNL plays well with othersdiabloNL plays well with othersdiabloNL plays well with othersdiabloNL plays well with othersdiabloNL plays well with others
 
diabloNL's Avatar
 
Posts: 705
Karma: 2733
Join Date: Jun 2006
Location: The Netherlands
Device: Sony PRS-300 + Cybook with funny screen :P
Quote:
Originally Posted by mosteo View Post
Ey! I'm from Spain . Which regions are you to visit?
I'm going to Montgó Javea. Me and my girlfriend rented a villa with our own private swimming pool. So I will be lying in the swimming pool all week.
diabloNL is offline   Reply With Quote
Old 08-17-2007, 10:25 AM   #57
mosteo
Enthusiast
mosteo began at the beginning.
 
mosteo's Avatar
 
Posts: 26
Karma: 10
Join Date: Jul 2007
Location: Spain
Device: PRS500 / N-Gage QD
Quote:
Originally Posted by diabloNL View Post
I'm going to Montgó Javea. Me and my girlfriend rented a villa with our own private swimming pool. So I will be lying in the swimming pool all week.
Wow, sounds good. Don't let your reader to get wet...
mosteo is offline   Reply With Quote
Old 08-17-2007, 10:29 AM   #58
diabloNL
Gadget Force®
diabloNL plays well with othersdiabloNL plays well with othersdiabloNL plays well with othersdiabloNL plays well with othersdiabloNL plays well with othersdiabloNL plays well with othersdiabloNL plays well with othersdiabloNL plays well with othersdiabloNL plays well with othersdiabloNL plays well with othersdiabloNL plays well with others
 
diabloNL's Avatar
 
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!
diabloNL is offline   Reply With Quote
Old 08-17-2007, 12:04 PM   #59
NatCh
Gizmologist
NatCh ought to be getting tired of karma fortunes by now.NatCh ought to be getting tired of karma fortunes by now.NatCh ought to be getting tired of karma fortunes by now.NatCh ought to be getting tired of karma fortunes by now.NatCh ought to be getting tired of karma fortunes by now.NatCh ought to be getting tired of karma fortunes by now.NatCh ought to be getting tired of karma fortunes by now.NatCh ought to be getting tired of karma fortunes by now.NatCh ought to be getting tired of karma fortunes by now.NatCh ought to be getting tired of karma fortunes by now.NatCh ought to be getting tired of karma fortunes by now.
 
NatCh's Avatar
 
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!
NatCh is offline   Reply With Quote
Old 08-17-2007, 12:08 PM   #60
diabloNL
Gadget Force®
diabloNL plays well with othersdiabloNL plays well with othersdiabloNL plays well with othersdiabloNL plays well with othersdiabloNL plays well with othersdiabloNL plays well with othersdiabloNL plays well with othersdiabloNL plays well with othersdiabloNL plays well with othersdiabloNL plays well with othersdiabloNL plays well with others
 
diabloNL's Avatar
 
Posts: 705
Karma: 2733
Join Date: Jun 2006
Location: The Netherlands
Device: Sony PRS-300 + Cybook with funny screen :P
Quote:
Originally Posted by NatCh View Post
Ziploks, my friend, Ziploks!
Good tip NatCh, thanks!
diabloNL is offline   Reply With Quote
Reply


Forum Jump

Similar Threads
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


All times are GMT -4. The time now is 01:26 AM.


MobileRead.com is a privately owned, operated and funded community.