Register Guidelines E-Books Today's Posts Search

Go Back   MobileRead Forums > E-Book Readers > Amazon Kindle > Kindle Developer's Corner

Notices

Reply
 
Thread Tools Search this Thread
Old 08-06-2012, 04:55 AM   #466
diba
Addict
diba is generous with chocolatediba is generous with chocolatediba is generous with chocolatediba is generous with chocolatediba is generous with chocolatediba is generous with chocolatediba is generous with chocolatediba is generous with chocolatediba is generous with chocolatediba is generous with chocolatediba is generous with chocolate
 
Posts: 396
Karma: 33660
Join Date: Jul 2011
Device: Kindle 3, Kindle 4, Kindle PW, Nexus7 3G
Quote:
Originally Posted by ixtab View Post
All of the cover-view stuff is originally coded by Amazon, but simply deactivated. I merely patched three methods in the Home Booklet to allow setting and retrieving the view mode value, and two controller classes to return true instead of false when asked if they support cover view. You'll see that the code of the patch is pretty trivial: https://bitbucket.org/ixtab/jbpatche...ViewPatch.java
OK, tried to understand, but no chance ..., my question, do you think, by modifying the one or other file "manually" on a K4, coverview could be activated there as well? Where do I have to look for to give you an idea, if this could work?
diba is offline   Reply With Quote
Old 08-06-2012, 05:02 AM   #467
ixtab
(offline)
ixtab ought to be getting tired of karma fortunes by now.ixtab ought to be getting tired of karma fortunes by now.ixtab ought to be getting tired of karma fortunes by now.ixtab ought to be getting tired of karma fortunes by now.ixtab ought to be getting tired of karma fortunes by now.ixtab ought to be getting tired of karma fortunes by now.ixtab ought to be getting tired of karma fortunes by now.ixtab ought to be getting tired of karma fortunes by now.ixtab ought to be getting tired of karma fortunes by now.ixtab ought to be getting tired of karma fortunes by now.ixtab ought to be getting tired of karma fortunes by now.
 
ixtab's Avatar
 
Posts: 2,907
Karma: 6736092
Join Date: Dec 2011
Device: K3, K4, K5, KPW, KPW2
I repeat: I don't own a K4, so I have no idea

The first thing would be to port the JBPatch core to the K4.

Then you could decompile the Home Booklet and check whether it looks anything like the one of the K5 (in particular, if you find the strings "LIST_VIEW_MODE" and/or "COVER_VIEW_MODE") in there, it's probably possible. But it still wouldn't be a piece of cake, because you'd have to do all the reverse engineering work again (well, if you're lucky, you might be able to benefit from some of the stuff I did for the K5).

Remembering from back when I got a K4 image for testing, the K5 and K4 jars are radically different (probably an entirely different code base), so the chances to actually find substantial (code) similarities between these framework is minimal.
ixtab is offline   Reply With Quote
Old 08-06-2012, 06:23 AM   #468
techiemonkey
Tech Geek Forever
techiemonkey ought to be getting tired of karma fortunes by now.techiemonkey ought to be getting tired of karma fortunes by now.techiemonkey ought to be getting tired of karma fortunes by now.techiemonkey ought to be getting tired of karma fortunes by now.techiemonkey ought to be getting tired of karma fortunes by now.techiemonkey ought to be getting tired of karma fortunes by now.techiemonkey ought to be getting tired of karma fortunes by now.techiemonkey ought to be getting tired of karma fortunes by now.techiemonkey ought to be getting tired of karma fortunes by now.techiemonkey ought to be getting tired of karma fortunes by now.techiemonkey ought to be getting tired of karma fortunes by now.
 
techiemonkey's Avatar
 
Posts: 230
Karma: 568824
Join Date: Jun 2012
Location: USA
Device: Kindle Touch hacked
Does anyone know why amazon book covers look bigger than calibre generated book covers?
techiemonkey is offline   Reply With Quote
Old 08-06-2012, 06:30 AM   #469
Titano
Definitely not King Kong
Titano never is beset by a damp, drizzly November in his or her soul.Titano never is beset by a damp, drizzly November in his or her soul.Titano never is beset by a damp, drizzly November in his or her soul.Titano never is beset by a damp, drizzly November in his or her soul.Titano never is beset by a damp, drizzly November in his or her soul.Titano never is beset by a damp, drizzly November in his or her soul.Titano never is beset by a damp, drizzly November in his or her soul.Titano never is beset by a damp, drizzly November in his or her soul.Titano never is beset by a damp, drizzly November in his or her soul.Titano never is beset by a damp, drizzly November in his or her soul.Titano never is beset by a damp, drizzly November in his or her soul.
 
Titano's Avatar
 
Posts: 126
Karma: 59238
Join Date: Jul 2012
Location: United States
Device: Kindle Touch
Quote:
Originally Posted by techiemonkey View Post
Does anyone know why amazon book covers look bigger than calibre generated book covers?
Just an idea but maybe your computer has a higher resolution then 600x800. Just messing with you . But your computer most likely does have a higher resolution and because of that (depending on your monitor size) the images will look smaller. Right?
Titano is offline   Reply With Quote
Old 08-06-2012, 06:42 AM   #470
techiemonkey
Tech Geek Forever
techiemonkey ought to be getting tired of karma fortunes by now.techiemonkey ought to be getting tired of karma fortunes by now.techiemonkey ought to be getting tired of karma fortunes by now.techiemonkey ought to be getting tired of karma fortunes by now.techiemonkey ought to be getting tired of karma fortunes by now.techiemonkey ought to be getting tired of karma fortunes by now.techiemonkey ought to be getting tired of karma fortunes by now.techiemonkey ought to be getting tired of karma fortunes by now.techiemonkey ought to be getting tired of karma fortunes by now.techiemonkey ought to be getting tired of karma fortunes by now.techiemonkey ought to be getting tired of karma fortunes by now.
 
techiemonkey's Avatar
 
Posts: 230
Karma: 568824
Join Date: Jun 2012
Location: USA
Device: Kindle Touch hacked
i dont think i undestood you completely but i am saying they look bigger on my kindle.
techiemonkey is offline   Reply With Quote
Old 08-06-2012, 06:49 AM   #471
geekmaster
Carpe diem, c'est la vie.
geekmaster ought to be getting tired of karma fortunes by now.geekmaster ought to be getting tired of karma fortunes by now.geekmaster ought to be getting tired of karma fortunes by now.geekmaster ought to be getting tired of karma fortunes by now.geekmaster ought to be getting tired of karma fortunes by now.geekmaster ought to be getting tired of karma fortunes by now.geekmaster ought to be getting tired of karma fortunes by now.geekmaster ought to be getting tired of karma fortunes by now.geekmaster ought to be getting tired of karma fortunes by now.geekmaster ought to be getting tired of karma fortunes by now.geekmaster ought to be getting tired of karma fortunes by now.
 
geekmaster's Avatar
 
Posts: 6,433
Karma: 10773668
Join Date: Nov 2011
Location: Multiverse 6627A
Device: K1 to PW3
Quote:
Originally Posted by techiemonkey View Post
Does anyone know why amazon book covers look bigger than calibre generated book covers?
The cover image is stored inside the ebook file. Calibre has some rules that it follows when adding a cover image to a converted ebook, as documented here:
http://manual.calibre-ebook.com/conversion.html

Amazon may use different rules when converting ebooks, giving a different cover image size.
geekmaster is offline   Reply With Quote
Old 08-06-2012, 07:15 AM   #472
Abradoks
Member
Abradoks can read faster than his screen refreshesAbradoks can read faster than his screen refreshesAbradoks can read faster than his screen refreshesAbradoks can read faster than his screen refreshesAbradoks can read faster than his screen refreshesAbradoks can read faster than his screen refreshesAbradoks can read faster than his screen refreshesAbradoks can read faster than his screen refreshesAbradoks can read faster than his screen refreshesAbradoks can read faster than his screen refreshesAbradoks can read faster than his screen refreshes
 
Posts: 19
Karma: 14064
Join Date: Jul 2012
Device: Kindle Touch
Quote:
Originally Posted by ixtab View Post
More info about the Kindlet jailbreak (including source code) here: https://www.mobileread.com/forums/sho....php?p=1905690
I tried to derive from SuicidalKindlet, then call "jailbreak.getContext().requestPermission(new AllPermission())". It returns "true", but exec doesn't work.
Abradoks is offline   Reply With Quote
Old 08-06-2012, 07:23 AM   #473
ixtab
(offline)
ixtab ought to be getting tired of karma fortunes by now.ixtab ought to be getting tired of karma fortunes by now.ixtab ought to be getting tired of karma fortunes by now.ixtab ought to be getting tired of karma fortunes by now.ixtab ought to be getting tired of karma fortunes by now.ixtab ought to be getting tired of karma fortunes by now.ixtab ought to be getting tired of karma fortunes by now.ixtab ought to be getting tired of karma fortunes by now.ixtab ought to be getting tired of karma fortunes by now.ixtab ought to be getting tired of karma fortunes by now.ixtab ought to be getting tired of karma fortunes by now.
 
ixtab's Avatar
 
Posts: 2,907
Karma: 6736092
Join Date: Dec 2011
Device: K3, K4, K5, KPW, KPW2
Quote:
Originally Posted by Abradoks View Post
I tried to derive from SuicidalKindlet, then call "jailbreak.getContext().requestPermission(new AllPermission())". It returns "true", but exec doesn't work.
Give it a little time after loading, like I do in my Kindlets with the splash screens. Alternatively, try to do it in the onStart() method instead of onCreate() (untested).

I don't know why that is, but immediately trying it in onCreate() seems to fail most of the time. And of course, be sure to follow the syslog and /mnt/us/developer/AppName/work/crash.log.

Last edited by ixtab; 08-06-2012 at 07:27 AM.
ixtab is offline   Reply With Quote
Old 08-06-2012, 07:26 AM   #474
techiemonkey
Tech Geek Forever
techiemonkey ought to be getting tired of karma fortunes by now.techiemonkey ought to be getting tired of karma fortunes by now.techiemonkey ought to be getting tired of karma fortunes by now.techiemonkey ought to be getting tired of karma fortunes by now.techiemonkey ought to be getting tired of karma fortunes by now.techiemonkey ought to be getting tired of karma fortunes by now.techiemonkey ought to be getting tired of karma fortunes by now.techiemonkey ought to be getting tired of karma fortunes by now.techiemonkey ought to be getting tired of karma fortunes by now.techiemonkey ought to be getting tired of karma fortunes by now.techiemonkey ought to be getting tired of karma fortunes by now.
 
techiemonkey's Avatar
 
Posts: 230
Karma: 568824
Join Date: Jun 2012
Location: USA
Device: Kindle Touch hacked
@so is there a way to change the calibre-generated covers so that they are equal in size to that of amazon book covers?
techiemonkey is offline   Reply With Quote
Old 08-06-2012, 08:02 AM   #475
Abradoks
Member
Abradoks can read faster than his screen refreshesAbradoks can read faster than his screen refreshesAbradoks can read faster than his screen refreshesAbradoks can read faster than his screen refreshesAbradoks can read faster than his screen refreshesAbradoks can read faster than his screen refreshesAbradoks can read faster than his screen refreshesAbradoks can read faster than his screen refreshesAbradoks can read faster than his screen refreshesAbradoks can read faster than his screen refreshesAbradoks can read faster than his screen refreshes
 
Posts: 19
Karma: 14064
Join Date: Jul 2012
Device: Kindle Touch
Quote:
Originally Posted by ixtab View Post
Give it a little time after loading, like I do in my Kindlets with the splash screens. Alternatively, try to do it in the onStart() method instead of onCreate() (untested).

I don't know why that is, but immediately trying it in onCreate() seems to fail most of the time. And of course, be sure to follow the syslog and /mnt/us/developer/AppName/work/crash.log.
Well, I call it from onStart() (as in CollectionManagerKindlet.java, so I guess it is tested ). Adding "Thread.sleep(1000);" around it changes nothing. It doesn't crash, and I'm not sure what to look for in messages. They are pretty verbose with ;debugOn.
Is it too much to ask for sample app, that works for you?
Abradoks is offline   Reply With Quote
Old 08-06-2012, 08:04 AM   #476
geekmaster
Carpe diem, c'est la vie.
geekmaster ought to be getting tired of karma fortunes by now.geekmaster ought to be getting tired of karma fortunes by now.geekmaster ought to be getting tired of karma fortunes by now.geekmaster ought to be getting tired of karma fortunes by now.geekmaster ought to be getting tired of karma fortunes by now.geekmaster ought to be getting tired of karma fortunes by now.geekmaster ought to be getting tired of karma fortunes by now.geekmaster ought to be getting tired of karma fortunes by now.geekmaster ought to be getting tired of karma fortunes by now.geekmaster ought to be getting tired of karma fortunes by now.geekmaster ought to be getting tired of karma fortunes by now.
 
geekmaster's Avatar
 
Posts: 6,433
Karma: 10773668
Join Date: Nov 2011
Location: Multiverse 6627A
Device: K1 to PW3
Quote:
Originally Posted by techiemonkey View Post
@so is there a way to change the calibre-generated covers so that they are equal in size to that of amazon book covers?
If you had read the calibre page at the link that I provided in my previous post, you would have known that the answer to your question is "yes" and you would not have needed to ask it here.

Go back and read the calibre web page at the link provided in my previous post. Pay attention to the fact that calibre can insert an cover image of your choice into the ebook. You can resize an image before giving it to calibre.
geekmaster is offline   Reply With Quote
Old 08-06-2012, 08:08 AM   #477
techiemonkey
Tech Geek Forever
techiemonkey ought to be getting tired of karma fortunes by now.techiemonkey ought to be getting tired of karma fortunes by now.techiemonkey ought to be getting tired of karma fortunes by now.techiemonkey ought to be getting tired of karma fortunes by now.techiemonkey ought to be getting tired of karma fortunes by now.techiemonkey ought to be getting tired of karma fortunes by now.techiemonkey ought to be getting tired of karma fortunes by now.techiemonkey ought to be getting tired of karma fortunes by now.techiemonkey ought to be getting tired of karma fortunes by now.techiemonkey ought to be getting tired of karma fortunes by now.techiemonkey ought to be getting tired of karma fortunes by now.
 
techiemonkey's Avatar
 
Posts: 230
Karma: 568824
Join Date: Jun 2012
Location: USA
Device: Kindle Touch hacked
i read your link.i should resize the cover to 600*800 right
techiemonkey is offline   Reply With Quote
Old 08-06-2012, 08:12 AM   #478
ixtab
(offline)
ixtab ought to be getting tired of karma fortunes by now.ixtab ought to be getting tired of karma fortunes by now.ixtab ought to be getting tired of karma fortunes by now.ixtab ought to be getting tired of karma fortunes by now.ixtab ought to be getting tired of karma fortunes by now.ixtab ought to be getting tired of karma fortunes by now.ixtab ought to be getting tired of karma fortunes by now.ixtab ought to be getting tired of karma fortunes by now.ixtab ought to be getting tired of karma fortunes by now.ixtab ought to be getting tired of karma fortunes by now.ixtab ought to be getting tired of karma fortunes by now.
 
ixtab's Avatar
 
Posts: 2,907
Karma: 6736092
Join Date: Dec 2011
Device: K3, K4, K5, KPW, KPW2
Quote:
Originally Posted by Abradoks View Post
Well, I call it from onStart() (as in CollectionManagerKindlet.java, so I guess it is tested ). Adding "Thread.sleep(1000);" around it changes nothing. It doesn't crash, and I'm not sure what to look for in messages. They are pretty verbose with ;debugOn.
Is it too much to ask for sample app, that works for you?
https://www.mobileread.com/forums/sho...&postcount=293
That's a pretty minimal application with only two classes.
ixtab is offline   Reply With Quote
Old 08-06-2012, 12:01 PM   #479
veezh
plus ça change
veezh does all things with Zen-like beautyveezh does all things with Zen-like beautyveezh does all things with Zen-like beautyveezh does all things with Zen-like beautyveezh does all things with Zen-like beautyveezh does all things with Zen-like beautyveezh does all things with Zen-like beautyveezh does all things with Zen-like beautyveezh does all things with Zen-like beautyveezh does all things with Zen-like beautyveezh does all things with Zen-like beauty
 
veezh's Avatar
 
Posts: 101
Karma: 32134
Join Date: Dec 2009
Location: France
Device: Kindle PW2, Voyage
Possible idea for patch

After upgrading from a Kindle Keyboard to a Kindle Touch in March, I have to admit there's one feature I do miss -- the progress bar at the bottom of the screen showing where you are at all times in a book.

If the TOC was formatted correctly, the chapters would also appear on the bar as nodes, which I found useful, too.

The Touch does show a progress bar, but only for periodicals, as far as I know.

IMHO, it would be great to be able to have this old functionality back, at least for those who miss it.

I'm a complete and utter noob when it comes to Java (but am planning to have a look at your tutorial, ixtab! ). Anyway, just thought I'd put the idea out there.
Attached Thumbnails
Click image for larger version

Name:	1percentkindle.gif
Views:	296
Size:	11.1 KB
ID:	90232  
veezh is offline   Reply With Quote
Old 08-06-2012, 12:25 PM   #480
NiLuJe
BLAM!
NiLuJe ought to be getting tired of karma fortunes by now.NiLuJe ought to be getting tired of karma fortunes by now.NiLuJe ought to be getting tired of karma fortunes by now.NiLuJe ought to be getting tired of karma fortunes by now.NiLuJe ought to be getting tired of karma fortunes by now.NiLuJe ought to be getting tired of karma fortunes by now.NiLuJe ought to be getting tired of karma fortunes by now.NiLuJe ought to be getting tired of karma fortunes by now.NiLuJe ought to be getting tired of karma fortunes by now.NiLuJe ought to be getting tired of karma fortunes by now.NiLuJe ought to be getting tired of karma fortunes by now.
 
NiLuJe's Avatar
 
Posts: 13,477
Karma: 26012492
Join Date: Jun 2010
Location: Paris, France
Device: Kindle 2i, 3g, 4, 5w, PW, PW2, PW5; Kobo H2O, Forma, Elipsa, Sage, C2E
@veezh/ixtab: FWIW, there was a reader setting to enable/disable the progress bar in FW 3/[4?]. I don't remember if it was properly hooked to anything, but it existed .

Last edited by NiLuJe; 08-06-2012 at 01:53 PM.
NiLuJe is offline   Reply With Quote
Reply

Tags
jbpatch, kindle touch hacks


Forum Jump


All times are GMT -4. The time now is 07:56 PM.


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