Hi there,
first of all: I'd like to call it
KKJB as "Kindle Jailbreak" and "Kindle
t jailbreak" looks too much the same.
This project is based on the source code of KUAL and ixtab's KKJB.
If you simply use the template, read the following
The things I've struggled with most:(don't get the same problems)
Complete walk-through for binding the KKJB in your Project. Just take the pieces out, that you need
Spoiler:
- create a new project
- (add the kindle-jars to the project)
- create a "libs" folder in your project
- Add the KKJB-jar to the "libs" folder (simply drag&drop it into the project)
- now you can go to project properties -> build path -> libraries -> add jar
and add the KKJB jar
- create a new file "build.xml" in your project (we're going to build our file using ant)
the file should have a content like this (edit the file with your data)
! Make sure that the KKJB-jar is located in the "lib
s" folder. If not, change the location of the KKJB or edit the entry in the build.xml (at the position "this includes the KKJB jailbreak")
! the build.xml file will also sign the output for you, if you provide a proper path (see next point)
- create a "file build.properties" in your project
- the file should have a structure as follows (edit the content with your data)
- create a new package com.mobileread.ixtab
- copy the following files in there:
at least from here, you should look into the files included in this post. If you mostly know what to do, you can follow the steps on here
- create a new class, that extends SuicidalKindlet in the package com.mobileread.KKJBConnector
- you also need to import the KKJB classes with
- create the following method
(this is important!):
Spoiler:
Code:
protected Jailbreak instantiateJailbreak() {
return new LauncherKindletJailbreak();
}
- if LauncherKindletJailbreak could not be found:
it's declared in "LauncherKindletJailbreak.java". Make sure it is included in your project and imported in the file
- create a method "onstart" that looks at least like this
Spoiler:
Add a boolean variable to the class called "started" (initial value = false)
Code:
public void onStart()
{
// apparently this method gets called various times
if (started) {
return;
}
super.onStart();
started = true;
/***
your Code might come here
***/
}
- create an onCreateMethod:
Where do I find the KKJB?
Please let me know, if there a any issues with the project. I hope I've removed all the my-computer-specific-stuff.
And it would be nice, if this is helpful for anybody