View Single Post
Old 01-01-2012, 06:00 PM   #6
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,903
Karma: 6677557
Join Date: Dec 2011
Device: K3, K4, K5, KPW, KPW2
Quote:
Originally Posted by LittleLui View Post
oh dear... thanks, ixtab! I'd love to see the sourcecode for the json_simple (well.. the breaking free from classloader limitations part at least) though
There you go. Source project is attached.

A few more things to note:
You will need to bundle the "frontend" jar with your application (see build.xml) of the sample app. Take a look at the SuicidalKindlet and Jailbreak classes in there. You can also start and stop jailbreak mode at runtime (jailbreak.enable() and jailbreak.disable() etc.), or you can subclass Jailbreak to get additional permissions directly when the application launches. Or, from within your own code, you can request them when needed:
Code:
jailbreak.getContext().requestPermission(new FilePermission(...));
Et cetera. From a "user" (Kindlet developer) perspective, the frontend is more interesting. From a "hacker" perspective, it may be the backend

EDIT (2014-02-02): The source code now has an "official" home. I removed the attachment from this post, please get the sources from the repository.

Last edited by ixtab; 02-02-2014 at 02:54 PM.
ixtab is offline   Reply With Quote