![]() |
#1 |
Enthusiast
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 28
Karma: 50000
Join Date: Jun 2012
Device: kindle touch
|
Kindle Developer HOWTO/FAQ
I've started a little HOWTO/FAQ for Kindlet developers. I hope this helps people who intend to start developing for the Kindle.
NOTE: Some information in this document may be outdated, incomplete, inaccurate or even downright wrong. Please post corrections, suggestions to this thread. A bootstrapping problem: I want to include the link to this thread in the FAQ, but as long as I haven't posted it, there's no link. ![]() EDIT: ...and then with it! |
![]() |
![]() |
![]() |
#2 | |
Going Viral
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 17,212
Karma: 18210809
Join Date: Feb 2012
Location: Central Texas
Device: No K1, PW2, KV, KOA
|
Quote:
Create that section of the howto_index page if it does not exist. |
|
![]() |
![]() |
Advert | |
|
![]() |
#3 |
Carpe diem, c'est la vie.
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 6,433
Karma: 10773668
Join Date: Nov 2011
Location: Multiverse 6627A
Device: K1 to PW3
|
It would also be good to insert a license into the file (like what I use in my mobileread post signature). For documentation, a creative commons license is a good choice. Just click the link in my post signature to go to the creative commons site.
And thanks for gathering this information into a document for us. ![]() |
![]() |
![]() |
![]() |
#4 |
(offline)
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 2,907
Karma: 6736094
Join Date: Dec 2011
Device: K3, K4, K5, KPW, KPW2
|
@digory: thanks for spending the effort to create this!
I seriously suggest to "outsource" this into a Wiki page though (you can create one right here at the mobileread Wiki, maybe called "Kindlet HowTo" or so). You could start by simply "dumping" your current HOWTO into Wiki format, perhaps including a section for a simple "Hello World" Kindlet, and creating links from the known K4/K5 Wiki pages to it. The major advantage of a Wiki page over a forum thread is that everybody can improve it, anytime, without you having to keep track of it. For a working example, check out the Kindle Touch Hacking Wiki page. It may take off slowly, but if there is enough interesting/useful content, people will contribute and gradually make it more and more valuable. PS: I just tried to find my post where I originally proposed to introduce a Wiki for Kindle Touch-related hacking. It was only half a year ago, and yet no search engine (neither mobileread's own, nor Google, nor anything else) would turn up anything. But that just proves my point, which led me to initiate that other Wiki page: there is a lot of information in forum posts, but it tends to get buried quickly. Let's extract and refine the important parts of that information, and let it flow into the more "durable" Wiki pages. |
![]() |
![]() |
![]() |
#5 | |
Carpe diem, c'est la vie.
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 6,433
Karma: 10773668
Join Date: Nov 2011
Location: Multiverse 6627A
Device: K1 to PW3
|
Quote:
|
|
![]() |
![]() |
Advert | |
|
![]() |
#6 |
Connoisseur
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 58
Karma: 63518
Join Date: Apr 2012
Device: KT
|
I also would like some information about:
also this thread should be named "Kindlet Developer HOWTO/FAQ" instead of "Kindle Developer...". Also there IS already a thread in this forum, which has exactly the same topic, but burried down(but indexed in the master index), but maybe a good starting point for indexing information into a wiki page instead of just indexing links to threads. |
![]() |
![]() |
![]() |
#7 | |
Guru
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 608
Karma: 1588610
Join Date: Jan 2012
Device: Kindle Scribe
|
Quote:
|
|
![]() |
![]() |
![]() |
#8 |
Connoisseur
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 58
Karma: 63518
Join Date: Apr 2012
Device: KT
|
Then we should provide some information how to install this jdk/jre.
for example debian/ubuntu package names. Also a link to the Old thread: https://www.mobileread.com/forums/sho...d.php?t=102386 |
![]() |
![]() |
![]() |
#9 | |
Enthusiast
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 28
Karma: 50000
Join Date: Jun 2012
Device: kindle touch
|
Quote:
https://wiki.mobileread.com/wiki/Kindlet_Developer_HowTo Cheers |
|
![]() |
![]() |
![]() |
#10 |
Connoisseur
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 58
Karma: 63518
Join Date: Apr 2012
Device: KT
|
You encourage to set mntroot rw to default, because you moved the home of root to there.
i dont think thats a good place. why not take /mnt/us or the config partition, that are allways rw. the root is read only for a reason. |
![]() |
![]() |
![]() |
#11 |
BLAM!
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 13,506
Karma: 26047190
Join Date: Jun 2010
Location: Paris, France
Device: Kindle 2i, 3g, 4, 5w, PW, PW2, PW5; Kobo H2O, Forma, Elipsa, Sage, C2E
|
@MaPePeR: +1. The config part is also a bad idea, because it's tiny, tmpfs, we don't really want to potentially waste more RAM by resizing it, and it produces "unpredictable" results when it's full.
|
![]() |
![]() |
![]() |
#12 |
Connoisseur
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 58
Karma: 63518
Join Date: Apr 2012
Device: KT
|
diags might also not be the best place for the root-home-folder, so there is only one place left: /mnt/us!
(I hope, that the kindle does not need the root-home-folder, because i fear, that /mnt/us might not always be mounted) |
![]() |
![]() |
![]() |
#13 | |
Going Viral
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 17,212
Karma: 18210809
Join Date: Feb 2012
Location: Central Texas
Device: No K1, PW2, KV, KOA
|
Quote:
at least as an entry: prefix_index -> kindlet_index probably should also be an entry: prefix_index -> howto_index |
|
![]() |
![]() |
![]() |
#14 | |
Carpe diem, c'est la vie.
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 6,433
Karma: 10773668
Join Date: Nov 2011
Location: Multiverse 6627A
Device: K1 to PW3
|
Quote:
I also added the HowTo index to the Master Index sticky thread first post. Last edited by geekmaster; 07-09-2012 at 05:24 PM. |
|
![]() |
![]() |
![]() |
#15 |
Enthusiast
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 28
Karma: 50000
Join Date: Jun 2012
Device: kindle touch
|
Hmm, good point. An even better way would be, to create a user that's not root, and usually do things with that user unless you really must use root.
|
![]() |
![]() |
![]() |
Tags |
kindlet, kindlets |
|
![]() |
||||
Thread | Thread Starter | Forum | Replies | Last Post |
Debian on kindle: howto | supert | Kindle Developer's Corner | 31 | 05-01-2015 06:15 AM |
Howto localize Kindle Launcher for KT? | Dracula | Kindle Developer's Corner | 5 | 02-21-2012 12:48 PM |
AndroidCentral: Amazon updates Appstore Developer Portal FAQ for Kindle Fire | kjk | News | 22 | 10-12-2011 09:12 PM |
FAQ for the Kindle in our Wiki | DaleDe | Amazon Kindle | 0 | 05-26-2011 05:57 PM |
Is there a Kindle hack FAQ? | wayner | Kindle Developer's Corner | 5 | 11-28-2009 09:44 AM |