Register Guidelines E-Books Search Today's Posts Mark Forums Read

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

Notices

Reply
 
Thread Tools Search this Thread
Old 02-23-2013, 12:48 PM   #1
shakaote
Member
shakaote knows what's going on.shakaote knows what's going on.shakaote knows what's going on.shakaote knows what's going on.shakaote knows what's going on.shakaote knows what's going on.shakaote knows what's going on.shakaote knows what's going on.shakaote knows what's going on.shakaote knows what's going on.shakaote knows what's going on.
 
Posts: 12
Karma: 25452
Join Date: Jun 2012
Device: kindle touch
ACX, as requested...

As requested, here's some of what I know about acx files.

acx is a zip, unzip it and looks just like waf (maybe with more hooks into amazon's system than I've seen in waf examples. Of course, waf is pretty much html5 with extra js apis for amazon.

The signature looks like xmlsec, which I'm just getting into. Once I've got that work out, I can play for real. I suspect a nice thing to do for ourselves is to just sign index.html with a link to an unsigned js file, then in the js file load whatever else you want and don't bother with the signing anymore (at least for hacking) - I don't think there's anyway for the system to know that's happening, but we'll see.

There used to (5.1) be a reader_plugins.xml where you could I suppose add your own, but it's gone. So I'm going to hijack another plugin and go from there (don't need wikipedia lookups, for instance).

Gotta go. Will post more as I find it.

PS Anyone who's already fiddled with signing xml or even acx, pls hop in. It's not really the fun part... but it's needed to get things working.
shakaote is offline   Reply With Quote
Old 02-23-2013, 01:21 PM   #2
twobob
( ͡° ͜ʖ ͡°){ʇlnɐɟ ƃǝs}Tır
twobob ought to be getting tired of karma fortunes by now.twobob ought to be getting tired of karma fortunes by now.twobob ought to be getting tired of karma fortunes by now.twobob ought to be getting tired of karma fortunes by now.twobob ought to be getting tired of karma fortunes by now.twobob ought to be getting tired of karma fortunes by now.twobob ought to be getting tired of karma fortunes by now.twobob ought to be getting tired of karma fortunes by now.twobob ought to be getting tired of karma fortunes by now.twobob ought to be getting tired of karma fortunes by now.twobob ought to be getting tired of karma fortunes by now.
 
twobob's Avatar
 
Posts: 5,143
Karma: 5329011
Join Date: Jun 2012
Location: uti gratia usura (Yao ying da ying; Mo ying da yieng)
Device: PW-WIFI|K5-3G+WIFI|K4|K3-3G|DXG|Ematic E6+E8|Rooted Nook Touch|NO K2!!
https://kdp.amazon.com/self-publishi...A3CISEMGMV9KR5

the audio creation exchange stuff right?

they appear to have some blogs going on http://blog.acx.com/2013/01/24/every...afraid-to-ask/

perhaps they would be kind enough to share the info


Wrong again!!! yay me
__________________
Audiophile and electron bully.
My tunes (for free) soundcloud.com/twobob. DONATE TO KUAL BY CLICKING THIS SIMPLE LINK
Kung-Fu. Hard work over time to accomplish skill. A painter can have kung-fu... The musician can have kung-fu, or the poet who paints pictures with words and makes emperors weep. This, too, is kung-fu. Formless, nameless, the true master dwells within. Only you can free him.
The album I'm headlining on at the moment: s.beatport.com/OCp9dT - FREE: 2012 Award winning set

Last edited by twobob; 02-23-2013 at 02:23 PM.
twobob is offline   Reply With Quote
 
Enthusiast
Old 02-23-2013, 01:33 PM   #3
shakaote
Member
shakaote knows what's going on.shakaote knows what's going on.shakaote knows what's going on.shakaote knows what's going on.shakaote knows what's going on.shakaote knows what's going on.shakaote knows what's going on.shakaote knows what's going on.shakaote knows what's going on.shakaote knows what's going on.shakaote knows what's going on.
 
Posts: 12
Karma: 25452
Join Date: Jun 2012
Device: kindle touch
Errr, no. Forgot about the little point of confusion there.

acx as in reader plugins, /opt/amazon/acw/*.acx.

Someone named eureka asked at the end of jbpatch discussion to dump what I'd got so far.
shakaote is offline   Reply With Quote
Old 02-23-2013, 02:00 PM   #4
eureka
discoverer of principles
eureka ought to be getting tired of karma fortunes by now.eureka ought to be getting tired of karma fortunes by now.eureka ought to be getting tired of karma fortunes by now.eureka ought to be getting tired of karma fortunes by now.eureka ought to be getting tired of karma fortunes by now.eureka ought to be getting tired of karma fortunes by now.eureka ought to be getting tired of karma fortunes by now.eureka ought to be getting tired of karma fortunes by now.eureka ought to be getting tired of karma fortunes by now.eureka ought to be getting tired of karma fortunes by now.eureka ought to be getting tired of karma fortunes by now.
 
Posts: 610
Karma: 1758576
Join Date: Dec 2011
Location: bath
Device: Kindle Touch
Thanks for response. I really appreciate it. Documentation about ACX (which stands for Active Content Extensions) could really improve developing experience, as they are much easier to poke with than reader's Java code.

BTW, ACX are in fact W3C Widgets (there is also doc on signing at the linked page).

reader_plugins.xml is embedded in /opt/amazon/ebook/lib/ReaderSDK-impl.jar in new firmwares.

UPD: another doc about Widget's signing. Amazon's keys are stored in /opt/amazon/ebook/security/keystore_mesquite.xml. I guess, you should add your own key to that file to be able to sign widgets.

UPD2: another one doc

Last edited by eureka; 02-26-2013 at 04:19 AM.
eureka is offline   Reply With Quote
Old 02-23-2013, 02:32 PM   #5
knc1
Embedded Cheerleader
knc1 ought to be getting tired of karma fortunes by now.knc1 ought to be getting tired of karma fortunes by now.knc1 ought to be getting tired of karma fortunes by now.knc1 ought to be getting tired of karma fortunes by now.knc1 ought to be getting tired of karma fortunes by now.knc1 ought to be getting tired of karma fortunes by now.knc1 ought to be getting tired of karma fortunes by now.knc1 ought to be getting tired of karma fortunes by now.knc1 ought to be getting tired of karma fortunes by now.knc1 ought to be getting tired of karma fortunes by now.knc1 ought to be getting tired of karma fortunes by now.
 
knc1's Avatar
 
Posts: 4,262
Karma: 3921781
Join Date: Feb 2012
Device: K0
OH, boy - a another kind of "Dev. Certs" - -

Let it be a test of our readers on how well they are keeping up with changes.
__________________
"Hack is just a four letter word." - - With apologies to B. Dylan - -> JB on BD
knc1 is offline   Reply With Quote
Old 02-23-2013, 02:48 PM   #6
shakaote
Member
shakaote knows what's going on.shakaote knows what's going on.shakaote knows what's going on.shakaote knows what's going on.shakaote knows what's going on.shakaote knows what's going on.shakaote knows what's going on.shakaote knows what's going on.shakaote knows what's going on.shakaote knows what's going on.shakaote knows what's going on.
 
Posts: 12
Karma: 25452
Join Date: Jun 2012
Device: kindle touch
Quote:
Originally Posted by knc1 View Post
OH, boy - a another kind of "Dev. Certs" - -

Let it be a test of our readers on how well they are keeping up with changes.
That's what I'm poking at. Or hoping to get time to. Most of what I've dug up about xmlsec1 is informative, but not terribly helpful for getting started. It might be possible to use keys stored in pubdevkeys.pem, or whatever it's called.

Incidentally, where are the private keys for that? Is the password "password"? It's what I would choose :-)
shakaote is offline   Reply With Quote
Old 02-26-2013, 09:17 PM   #7
eureka
discoverer of principles
eureka ought to be getting tired of karma fortunes by now.eureka ought to be getting tired of karma fortunes by now.eureka ought to be getting tired of karma fortunes by now.eureka ought to be getting tired of karma fortunes by now.eureka ought to be getting tired of karma fortunes by now.eureka ought to be getting tired of karma fortunes by now.eureka ought to be getting tired of karma fortunes by now.eureka ought to be getting tired of karma fortunes by now.eureka ought to be getting tired of karma fortunes by now.eureka ought to be getting tired of karma fortunes by now.eureka ought to be getting tired of karma fortunes by now.
 
Posts: 610
Karma: 1758576
Join Date: Dec 2011
Location: bath
Device: Kindle Touch
I know something about signing Kindle_Touch_ACX.

But wait (a day or two), howto is missing ATM, I'm just teasing...
Attached Thumbnails
Click image for larger version

Name:	homebrew_acx_in_menu.png
Views:	43
Size:	17.2 KB
ID:	102071   Click image for larger version

Name:	homebrew_acx_window.png
Views:	40
Size:	18.1 KB
ID:	102072  
eureka is offline   Reply With Quote
Old 02-26-2013, 11:12 PM   #8
shakaote
Member
shakaote knows what's going on.shakaote knows what's going on.shakaote knows what's going on.shakaote knows what's going on.shakaote knows what's going on.shakaote knows what's going on.shakaote knows what's going on.shakaote knows what's going on.shakaote knows what's going on.shakaote knows what's going on.shakaote knows what's going on.
 
Posts: 12
Karma: 25452
Join Date: Jun 2012
Device: kindle touch
Oh, very cool!

This will make my kindle much more fun!
shakaote is offline   Reply With Quote
Old 02-27-2013, 06:33 PM   #9
eureka
discoverer of principles
eureka ought to be getting tired of karma fortunes by now.eureka ought to be getting tired of karma fortunes by now.eureka ought to be getting tired of karma fortunes by now.eureka ought to be getting tired of karma fortunes by now.eureka ought to be getting tired of karma fortunes by now.eureka ought to be getting tired of karma fortunes by now.eureka ought to be getting tired of karma fortunes by now.eureka ought to be getting tired of karma fortunes by now.eureka ought to be getting tired of karma fortunes by now.eureka ought to be getting tired of karma fortunes by now.eureka ought to be getting tired of karma fortunes by now.
 
Posts: 610
Karma: 1758576
Join Date: Dec 2011
Location: bath
Device: Kindle Touch
Wiki page had been updated.
eureka is offline   Reply With Quote
Old 02-27-2013, 07:43 PM   #10
twobob
( ͡° ͜ʖ ͡°){ʇlnɐɟ ƃǝs}Tır
twobob ought to be getting tired of karma fortunes by now.twobob ought to be getting tired of karma fortunes by now.twobob ought to be getting tired of karma fortunes by now.twobob ought to be getting tired of karma fortunes by now.twobob ought to be getting tired of karma fortunes by now.twobob ought to be getting tired of karma fortunes by now.twobob ought to be getting tired of karma fortunes by now.twobob ought to be getting tired of karma fortunes by now.twobob ought to be getting tired of karma fortunes by now.twobob ought to be getting tired of karma fortunes by now.twobob ought to be getting tired of karma fortunes by now.
 
twobob's Avatar
 
Posts: 5,143
Karma: 5329011
Join Date: Jun 2012
Location: uti gratia usura (Yao ying da ying; Mo ying da yieng)
Device: PW-WIFI|K5-3G+WIFI|K4|K3-3G|DXG|Ematic E6+E8|Rooted Nook Touch|NO K2!!
if I knew a more awesome word than awesome I would use that one...

Awesomer!!!
__________________
Audiophile and electron bully.
My tunes (for free) soundcloud.com/twobob. DONATE TO KUAL BY CLICKING THIS SIMPLE LINK
Kung-Fu. Hard work over time to accomplish skill. A painter can have kung-fu... The musician can have kung-fu, or the poet who paints pictures with words and makes emperors weep. This, too, is kung-fu. Formless, nameless, the true master dwells within. Only you can free him.
The album I'm headlining on at the moment: s.beatport.com/OCp9dT - FREE: 2012 Award winning set
twobob is offline   Reply With Quote
Old 02-27-2013, 09:01 PM   #11
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,326
Karma: 4941079
Join Date: Dec 2011
Device: K3/K4/K5/PW
Quote:
Originally Posted by eureka View Post
Wiki page had been updated.
eureka, you seriously ROCK!

Fantastic work!!!

Unfortunately, I probably won't have the time to look into this in the near future. But I'll still post this request:

Please make available one "standard" signing keypair, and encourage everyone to use it from the start.

It's exactly the same fundamental problem as with the jailbreak or the Kindlet developer keys. We have to settle on (ideally) a single keypair which everybody can use to develop, and which users can install to run (any) custom software published here.

If every developer creates his own keypair instead of using the common one, we'll be in the same configuration hell that we've previously been in with the Kindlets.

IMHO, now -- i.e., before people actually start developing -- is the only chance to "standardize" ACX development and deployment (at least in terms of the required certificates/keys), so please do it.
ixtab is offline   Reply With Quote
Old 02-27-2013, 09:22 PM   #12
twobob
( ͡° ͜ʖ ͡°){ʇlnɐɟ ƃǝs}Tır
twobob ought to be getting tired of karma fortunes by now.twobob ought to be getting tired of karma fortunes by now.twobob ought to be getting tired of karma fortunes by now.twobob ought to be getting tired of karma fortunes by now.twobob ought to be getting tired of karma fortunes by now.twobob ought to be getting tired of karma fortunes by now.twobob ought to be getting tired of karma fortunes by now.twobob ought to be getting tired of karma fortunes by now.twobob ought to be getting tired of karma fortunes by now.twobob ought to be getting tired of karma fortunes by now.twobob ought to be getting tired of karma fortunes by now.
 
twobob's Avatar
 
Posts: 5,143
Karma: 5329011
Join Date: Jun 2012
Location: uti gratia usura (Yao ying da ying; Mo ying da yieng)
Device: PW-WIFI|K5-3G+WIFI|K4|K3-3G|DXG|Ematic E6+E8|Rooted Nook Touch|NO K2!!
I will happily embed the keys in kual-system for all to use. cheers
__________________
Audiophile and electron bully.
My tunes (for free) soundcloud.com/twobob. DONATE TO KUAL BY CLICKING THIS SIMPLE LINK
Kung-Fu. Hard work over time to accomplish skill. A painter can have kung-fu... The musician can have kung-fu, or the poet who paints pictures with words and makes emperors weep. This, too, is kung-fu. Formless, nameless, the true master dwells within. Only you can free him.
The album I'm headlining on at the moment: s.beatport.com/OCp9dT - FREE: 2012 Award winning set
twobob is offline   Reply With Quote
Old 02-28-2013, 03:49 AM   #13
aditya3098
Zombie's worst nightmare
aditya3098 ought to be getting tired of karma fortunes by now.aditya3098 ought to be getting tired of karma fortunes by now.aditya3098 ought to be getting tired of karma fortunes by now.aditya3098 ought to be getting tired of karma fortunes by now.aditya3098 ought to be getting tired of karma fortunes by now.aditya3098 ought to be getting tired of karma fortunes by now.aditya3098 ought to be getting tired of karma fortunes by now.aditya3098 ought to be getting tired of karma fortunes by now.aditya3098 ought to be getting tired of karma fortunes by now.aditya3098 ought to be getting tired of karma fortunes by now.aditya3098 ought to be getting tired of karma fortunes by now.
 
aditya3098's Avatar
 
Posts: 481
Karma: 1351474
Join Date: Jan 2012
Location: Far, far away (from radio shack) :(
Device: Kindle touch (hacked to the core) 5.3.2.1
I smell google translate....
__________________
Annoying orange:
Creepers, Beepers, where'd ya get those peepers?
Creepers, Beepers, where'd ya get those eyes?
Steve: (Where did I put that diamond sword again?)
aditya3098 is offline   Reply With Quote
Old 02-28-2013, 05:56 AM   #14
eureka
discoverer of principles
eureka ought to be getting tired of karma fortunes by now.eureka ought to be getting tired of karma fortunes by now.eureka ought to be getting tired of karma fortunes by now.eureka ought to be getting tired of karma fortunes by now.eureka ought to be getting tired of karma fortunes by now.eureka ought to be getting tired of karma fortunes by now.eureka ought to be getting tired of karma fortunes by now.eureka ought to be getting tired of karma fortunes by now.eureka ought to be getting tired of karma fortunes by now.eureka ought to be getting tired of karma fortunes by now.eureka ought to be getting tired of karma fortunes by now.
 
Posts: 610
Karma: 1758576
Join Date: Dec 2011
Location: bath
Device: Kindle Touch
Quote:
Originally Posted by twobob View Post
if I knew a more awesome word than awesome I would use that one...

Awesomer!!!
Quote:
Originally Posted by ixtab View Post
eureka, you seriously ROCK!

Fantastic work!!!
Thanks, guys.

Quote:
Originally Posted by ixtab View Post
IMHO, now -- i.e., before people actually start developing -- is the only chance to "standardize" ACX development and deployment (at least in terms of the required certificates/keys), so please do it.
I will not post my test key. But, I think, shakaote will post his key, because it will be requirement for using his ACX. So, I guess, his key will become standard, because it will be the first posted key.

But I'd like to add some recommendations:
  • please, set name parameter in PKCS#12 file generation to "HomebrewActiveContentExtensions" -- on a par with "AmazonActiveContentExtensions". Also use this name in XML Signature snippet (it set by default in Python script).
  • don't set any encryption (i.e. passwords) on private key and PKCS#12 file. Just for convenience.
eureka is offline   Reply With Quote
Old 02-28-2013, 06:18 AM   #15
twobob
( ͡° ͜ʖ ͡°){ʇlnɐɟ ƃǝs}Tır
twobob ought to be getting tired of karma fortunes by now.twobob ought to be getting tired of karma fortunes by now.twobob ought to be getting tired of karma fortunes by now.twobob ought to be getting tired of karma fortunes by now.twobob ought to be getting tired of karma fortunes by now.twobob ought to be getting tired of karma fortunes by now.twobob ought to be getting tired of karma fortunes by now.twobob ought to be getting tired of karma fortunes by now.twobob ought to be getting tired of karma fortunes by now.twobob ought to be getting tired of karma fortunes by now.twobob ought to be getting tired of karma fortunes by now.
 
twobob's Avatar
 
Posts: 5,143
Karma: 5329011
Join Date: Jun 2012
Location: uti gratia usura (Yao ying da ying; Mo ying da yieng)
Device: PW-WIFI|K5-3G+WIFI|K4|K3-3G|DXG|Ematic E6+E8|Rooted Nook Touch|NO K2!!
Quote:
Originally Posted by aditya3098 View Post
I smell google translate....
Help, don't chelp

It is a WIKI after all :P
__________________
Audiophile and electron bully.
My tunes (for free) soundcloud.com/twobob. DONATE TO KUAL BY CLICKING THIS SIMPLE LINK
Kung-Fu. Hard work over time to accomplish skill. A painter can have kung-fu... The musician can have kung-fu, or the poet who paints pictures with words and makes emperors weep. This, too, is kung-fu. Formless, nameless, the true master dwells within. Only you can free him.
The album I'm headlining on at the moment: s.beatport.com/OCp9dT - FREE: 2012 Award winning set
twobob is offline   Reply With Quote
Reply

Thread Tools Search this Thread
Search this Thread:

Advanced Search

Forum Jump

Similar Threads
Thread Thread Starter Forum Replies Last Post
General Recipe Help Requested ACheshireCat Recipes 1 01-09-2013 04:29 AM
Have you requested/gotten a replacement Paperwhite? jswinden Amazon Kindle 103 10-11-2012 11:35 PM
Wording help requested :) VydorScope Writers' Corner 20 11-20-2011 09:17 AM
Removing Headers help requested Arainais Calibre 9 01-16-2011 05:03 PM
Seriously thoughtful Coding Help Requested poohbear_nc Lounge 10 08-24-2010 10:42 AM


All times are GMT -4. The time now is 10:08 PM.


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