View Single Post
Old 09-12-2013, 05:44 AM   #562
silver18
THE NOOB
silver18 ought to be getting tired of karma fortunes by now.silver18 ought to be getting tired of karma fortunes by now.silver18 ought to be getting tired of karma fortunes by now.silver18 ought to be getting tired of karma fortunes by now.silver18 ought to be getting tired of karma fortunes by now.silver18 ought to be getting tired of karma fortunes by now.silver18 ought to be getting tired of karma fortunes by now.silver18 ought to be getting tired of karma fortunes by now.silver18 ought to be getting tired of karma fortunes by now.silver18 ought to be getting tired of karma fortunes by now.silver18 ought to be getting tired of karma fortunes by now.
 
silver18's Avatar
 
Posts: 708
Karma: 1545649
Join Date: Jan 2012
Location: Italy
Device: Kindle Touch 5.3.2
Quote:
Originally Posted by silver18 View Post
Ok, "power swiping" and calibration now works in every direction (well, not along the third dimension).
It's pretty easy now to navigate inside a page.
I could remove the arrows...
I tried the jQuery Ui draggable plugin...i still find my solution better (faster).

BTW, here's a call to arms: I can't get the damn pinch-to-zoom back!
I'm stuck with the stock amazon pinch-to-zoom feature and I can't write a custom function to mock it.
It seems I need to use a content window and enable the pinch-to-zoom on it but I really can't get it to work!

Another thing is the unload event.
Amazon API is a wrapper around
Code:
kindle.appmgr.onunload
but this doesn't fire at all when using the home button on the Kindle touch.

I don't care about the PW as it doesn't have any physical button so users will use the EXIT button. But on the Touch, I can't provide an autosave feature without the onunload event!
I just need to write inside the localStorage before leaving...

On a side note, I rewrote the exit function to actually close komic (instead of start the com.lab126.home) and clean (aka kill) any komic-related process.
silver18 is offline   Reply With Quote