10-19-2009, 11:03 PM | #1 |
Junior Member
Posts: 1
Karma: 10
Join Date: Oct 2009
Device: Kindle 2
|
Starting Kindle Development
Hi All,
I want to start the Kindle development from the scratch. But I do not have enough knowledge to start and what development tools is required. As I know there is no Kindle SDK available. Would you please suggest what development kit and what knowledge is required to start development from the scratch ? Hope to hear some nice advice from you. Have a good day. Mostafa |
10-19-2009, 11:55 PM | #2 |
Time Enough at Last
Posts: 387
Karma: 1151316
Join Date: Feb 2008
Location: New England
Device: iPad 3, iPhone 5, Kindle 3, Fire, Sony PRS-350
|
I misread your header as "Startling Kindle Development."
|
Advert | |
|
10-26-2009, 06:46 PM | #3 | |
Junior Member
Posts: 9
Karma: 10
Join Date: Oct 2009
Device: kindle2
|
Quote:
2) You'll need a Linux box. Download Scratchbox (http://scratchbox.org/) and install it enough to get the "cs2007q3-glibc2.5-arm6" compiler. 3) cross-compile your code using the cs2007* compiler and transfer the file to your kindle via ssh 4) ssh into your kindle and execute the program. cheers |
|
10-26-2009, 06:55 PM | #4 |
Junior Member
Posts: 9
Karma: 10
Join Date: Oct 2009
Device: kindle2
|
Here's a sample log:
Add the cross-compiler to your path: Code:
export PATH=$PATH:/scratchbox/compilers/cs2007q3-glibc2.5-arm6/bin Code:
~> cat hello.c #include <stdio.h> int main(int argc, char **argv) { printf("Hello, World.\n"); return 0; } Code:
arm-none-linux-gnueabi-gcc hello.c -o hello-kindle Code:
file hello-kindle hello-kindle: ELF 32-bit LSB executable, ARM, version 1 (SYSV), for GNU/Linux 2.6.14, dynamically linked (uses shared libs), not stripped Code:
cat hello-kindle | ssh root@192.168.2.2 "cat - > /tmp/hello-arm" Code:
~> ssh root@192.168.2.2 root@192.168.2.2's password: [root@kindle root]# cd /tmp/ [root@kindle tmp]# ls -la hello-arm -rw-r--r-- 1 root root 5064 Oct 26 15:49 hello-arm [root@kindle tmp]# chmod +x hello-arm [root@kindle tmp]# ./hello-arm Hello, World. |
10-27-2009, 08:36 AM | #5 |
Member
Posts: 19
Karma: 12
Join Date: Aug 2009
Device: Kindle DX
|
Hi,
what about /opt/amazon/ebook/booklet folder? Did Someone Already reverse engineer the firmware? |
Advert | |
|
10-27-2009, 09:38 PM | #6 | |
Connoisseur
Posts: 63
Karma: 2600
Join Date: Oct 2008
Device: PRS-505
|
Quote:
the following interfaces: com.amazon.ebook.framework.a - Booklet interface com.amazon.ebook.framework.gui.event.a = java.awt.event.KeyListener com.amazon.ebook.framework.kos.event.b = Kindle OS Events listener For the booklet interface, you have to implement the following methods: public abstract interface a { public abstract String C(); // Returns the booklet name as String public abstract void c(); // Init booklet, set up keypad/mimetype hooks? public abstract void B(); // Load booklet ? // Use com.amazon.ebook.framework.gui.d.d.j().a(String booklet_title); to set booklet titles public abstract void b(); // Some method gets called in the init chain. deals with filenames public abstract void A(); /** @deprecated */ public abstract void a(y paramy, Graphics paramGraphics); // Painting surface - y is some Component similar to JFrame/Frame /* It's just toooo hard to peek through the obfuscated codes. That's why I'd suggest to only decode the JNI part and 'reinvent the wheels' with Java. |
|
05-28-2011, 10:01 AM | #7 |
Junior Member
Posts: 1
Karma: 10
Join Date: May 2011
Device: kindle3 3g UK
|
Would just like to say thank for the info.
I have managed the "hello world" bit. |
05-28-2011, 10:51 AM | #8 |
Junior Member
Posts: 2
Karma: 10
Join Date: Mar 2011
Device: Kindle 3
|
|
06-01-2011, 04:59 PM | #9 | |
Connoisseur
Posts: 50
Karma: 70
Join Date: Nov 2010
Device: Kindle DXG / Kindle 3
|
Quote:
|
|
12-12-2011, 11:06 AM | #10 |
Member
Posts: 22
Karma: 12
Join Date: Oct 2011
Device: kindle 3
|
btw, scratchbox-toolchain-cs2007q3-glibc2.5-arm6_1.0.12-9_i386.deb can be found at
http://www.scratchbox.org/download/f...s/apophis/deb/ |
|
Similar Threads | ||||
Thread | Thread Starter | Forum | Replies | Last Post |
Starting a Second Library? | Fith | Calibre | 9 | 03-07-2010 08:28 AM |
Shelby Foote's Civil War Kindle starting with Vol2? | dwallbaum | Amazon Kindle | 3 | 01-28-2010 03:45 PM |
Amazon Announces Kindle Development Kit | koland | News | 56 | 01-23-2010 03:36 PM |
Starting dev on Kindle | JPDeckers | Kindle Developer's Corner | 1 | 09-21-2009 03:22 AM |
Starting out on the right format | Vulcan | Sony Reader | 15 | 12-30-2008 10:09 PM |