View Single Post
Old 07-21-2012, 10:48 AM   #4
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
Some more:

Maybe the easiest Booklet to dissect would be the com.lab126.booklet.test, because it's pretty small (the entire jar is only 33kB, and it only contains a dozen or so classes (including inner classes)).

It can be started using lipc-set-prop com.lab126.appmgrd start app://com.lab126.booklet.test

I haven't figured out how to "operate" it, probably by interacting with it through lipc itself:
Code:
[root@kindle root]# (lipc-probe -a -v|grep -A 7 '^com.lab126.booklet.test') 2>/dev/null
com.lab126.booklet.test
	w 	Str	runtest
	w	Str	pause
	w	Str	unload
	w	Str	stoptest
	w	Str	load
	w	Str	go
	w	Str	startresult
And here are the relevant entries in the registry:
Spoiler:

INSERT INTO "handlerIds" VALUES('com.lab126.booklet.test');
INSERT INTO "properties" VALUES('com.lab126.booklet.test','lipcId','com.lab 126.booklet.test');
INSERT INTO "properties" VALUES('com.lab126.booklet.test','jar','/opt/amazon/ebook/booklet/KAFtest.jar');
INSERT INTO "mimetypes" VALUES('runtest','MT:application/x-amazon-testrunner');
INSERT INTO "extenstions" VALUES('runtest','MT:application/x-amazon-testrunner');
INSERT INTO "associations" VALUES('com.lab126.booklet.test','application','MT :application/x-amazon-testrunner','true');


HTH
ixtab is offline   Reply With Quote