Register Guidelines E-Books Search Today's Posts Mark Forums Read

Go Back   MobileRead Forums > E-Book Readers > Amazon Kindle > Kindle Developer's Corner

Notices

Reply
 
Thread Tools Search this Thread
Old 07-08-2012, 03:06 PM   #1
digory
Enthusiast
digory is faster than a rolling 'o,' stronger than silent 'e,' and leaps capital 'T' in a single bound!digory is faster than a rolling 'o,' stronger than silent 'e,' and leaps capital 'T' in a single bound!digory is faster than a rolling 'o,' stronger than silent 'e,' and leaps capital 'T' in a single bound!digory is faster than a rolling 'o,' stronger than silent 'e,' and leaps capital 'T' in a single bound!digory is faster than a rolling 'o,' stronger than silent 'e,' and leaps capital 'T' in a single bound!digory is faster than a rolling 'o,' stronger than silent 'e,' and leaps capital 'T' in a single bound!digory is faster than a rolling 'o,' stronger than silent 'e,' and leaps capital 'T' in a single bound!digory is faster than a rolling 'o,' stronger than silent 'e,' and leaps capital 'T' in a single bound!digory is faster than a rolling 'o,' stronger than silent 'e,' and leaps capital 'T' in a single bound!digory is faster than a rolling 'o,' stronger than silent 'e,' and leaps capital 'T' in a single bound!digory is faster than a rolling 'o,' stronger than silent 'e,' and leaps capital 'T' in a single bound!
 
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. So I first post it without the FAQ...

EDIT: ...and then with it!
Attached Files
File Type: txt KINDLE HOWTO.txt (11.4 KB, 521 views)
digory is offline   Reply With Quote
Old 07-08-2012, 04:54 PM   #2
knc1
Going Viral
knc1 ought to be getting tired of karma fortunes by now.knc1 ought to be getting tired of karma fortunes by now.knc1 ought to be getting tired of karma fortunes by now.knc1 ought to be getting tired of karma fortunes by now.knc1 ought to be getting tired of karma fortunes by now.knc1 ought to be getting tired of karma fortunes by now.knc1 ought to be getting tired of karma fortunes by now.knc1 ought to be getting tired of karma fortunes by now.knc1 ought to be getting tired of karma fortunes by now.knc1 ought to be getting tired of karma fortunes by now.knc1 ought to be getting tired of karma fortunes by now.
 
knc1's Avatar
 
Posts: 17,212
Karma: 18210809
Join Date: Feb 2012
Location: Central Texas
Device: No K1, PW2, KV, KOA
Quote:
Originally Posted by digory View Post
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. So I first post it without the FAQ...

EDIT: ...and then with it!
Would you please index it at: prefix_index -> howto_index#Kindlet
Create that section of the howto_index page if it does not exist.
knc1 is offline   Reply With Quote
Old 07-08-2012, 05:36 PM   #3
geekmaster
Carpe diem, c'est la vie.
geekmaster ought to be getting tired of karma fortunes by now.geekmaster ought to be getting tired of karma fortunes by now.geekmaster ought to be getting tired of karma fortunes by now.geekmaster ought to be getting tired of karma fortunes by now.geekmaster ought to be getting tired of karma fortunes by now.geekmaster ought to be getting tired of karma fortunes by now.geekmaster ought to be getting tired of karma fortunes by now.geekmaster ought to be getting tired of karma fortunes by now.geekmaster ought to be getting tired of karma fortunes by now.geekmaster ought to be getting tired of karma fortunes by now.geekmaster ought to be getting tired of karma fortunes by now.
 
geekmaster's Avatar
 
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.
geekmaster is offline   Reply With Quote
Old 07-08-2012, 06:10 PM   #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
@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.
ixtab is offline   Reply With Quote
Old 07-09-2012, 07:06 AM   #5
geekmaster
Carpe diem, c'est la vie.
geekmaster ought to be getting tired of karma fortunes by now.geekmaster ought to be getting tired of karma fortunes by now.geekmaster ought to be getting tired of karma fortunes by now.geekmaster ought to be getting tired of karma fortunes by now.geekmaster ought to be getting tired of karma fortunes by now.geekmaster ought to be getting tired of karma fortunes by now.geekmaster ought to be getting tired of karma fortunes by now.geekmaster ought to be getting tired of karma fortunes by now.geekmaster ought to be getting tired of karma fortunes by now.geekmaster ought to be getting tired of karma fortunes by now.geekmaster ought to be getting tired of karma fortunes by now.
 
geekmaster's Avatar
 
Posts: 6,433
Karma: 10773668
Join Date: Nov 2011
Location: Multiverse 6627A
Device: K1 to PW3
Quote:
Originally Posted by ixtab View Post
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.
That is why I set up the master index and "prefix index" wiki pages. It took a lot of work on my part to get enough information into them (and a lot of begging others to contribute) before others began contributing to them. It seems that something like this needs the original author to provide a lot of content before others think it is valuable enough to support. This document looks like a great start, but it needs the attention of others who have kindlet development experience to become what it should be. Team efforts provide valuable content that may be outside the experience of the originator or the document.
geekmaster is offline   Reply With Quote
Old 07-09-2012, 07:20 AM   #6
MaPePeR
Connoisseur
MaPePeR can shake the floor when laughingMaPePeR can shake the floor when laughingMaPePeR can shake the floor when laughingMaPePeR can shake the floor when laughingMaPePeR can shake the floor when laughingMaPePeR can shake the floor when laughingMaPePeR can shake the floor when laughingMaPePeR can shake the floor when laughingMaPePeR can shake the floor when laughingMaPePeR can shake the floor when laughingMaPePeR can shake the floor when laughing
 
Posts: 58
Karma: 63518
Join Date: Apr 2012
Device: KT
I also would like some information about:
  • which classes from amazon should i put into the classpath of my eclipse.
  • which is the Java-Target-Version i need to select in eclipse (i guess 1.4?)

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.
MaPePeR is offline   Reply With Quote
Old 07-09-2012, 10:16 AM   #7
aditya3098
Guru
aditya3098 ought to be getting tired of karma fortunes by now.aditya3098 ought to be getting tired of karma fortunes by now.aditya3098 ought to be getting tired of karma fortunes by now.aditya3098 ought to be getting tired of karma fortunes by now.aditya3098 ought to be getting tired of karma fortunes by now.aditya3098 ought to be getting tired of karma fortunes by now.aditya3098 ought to be getting tired of karma fortunes by now.aditya3098 ought to be getting tired of karma fortunes by now.aditya3098 ought to be getting tired of karma fortunes by now.aditya3098 ought to be getting tired of karma fortunes by now.aditya3098 ought to be getting tired of karma fortunes by now.
 
Posts: 608
Karma: 1588610
Join Date: Jan 2012
Device: Kindle Scribe
Quote:
Originally Posted by MaPePeR View Post
I also would like some information about:
  • which classes from amazon should i put into the classpath of my eclipse.
  • which is the Java-Target-Version i need to select in eclipse (i guess 1.4?)

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.
Java1.4
aditya3098 is offline   Reply With Quote
Old 07-09-2012, 03:14 PM   #8
MaPePeR
Connoisseur
MaPePeR can shake the floor when laughingMaPePeR can shake the floor when laughingMaPePeR can shake the floor when laughingMaPePeR can shake the floor when laughingMaPePeR can shake the floor when laughingMaPePeR can shake the floor when laughingMaPePeR can shake the floor when laughingMaPePeR can shake the floor when laughingMaPePeR can shake the floor when laughingMaPePeR can shake the floor when laughingMaPePeR can shake the floor when laughing
 
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
MaPePeR is offline   Reply With Quote
Old 07-09-2012, 03:28 PM   #9
digory
Enthusiast
digory is faster than a rolling 'o,' stronger than silent 'e,' and leaps capital 'T' in a single bound!digory is faster than a rolling 'o,' stronger than silent 'e,' and leaps capital 'T' in a single bound!digory is faster than a rolling 'o,' stronger than silent 'e,' and leaps capital 'T' in a single bound!digory is faster than a rolling 'o,' stronger than silent 'e,' and leaps capital 'T' in a single bound!digory is faster than a rolling 'o,' stronger than silent 'e,' and leaps capital 'T' in a single bound!digory is faster than a rolling 'o,' stronger than silent 'e,' and leaps capital 'T' in a single bound!digory is faster than a rolling 'o,' stronger than silent 'e,' and leaps capital 'T' in a single bound!digory is faster than a rolling 'o,' stronger than silent 'e,' and leaps capital 'T' in a single bound!digory is faster than a rolling 'o,' stronger than silent 'e,' and leaps capital 'T' in a single bound!digory is faster than a rolling 'o,' stronger than silent 'e,' and leaps capital 'T' in a single bound!digory is faster than a rolling 'o,' stronger than silent 'e,' and leaps capital 'T' in a single bound!
 
Posts: 28
Karma: 50000
Join Date: Jun 2012
Device: kindle touch
Quote:
Originally Posted by ixtab View Post
@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,
OK, here you are:
https://wiki.mobileread.com/wiki/Kindlet_Developer_HowTo

Cheers
digory is offline   Reply With Quote
Old 07-09-2012, 03:52 PM   #10
MaPePeR
Connoisseur
MaPePeR can shake the floor when laughingMaPePeR can shake the floor when laughingMaPePeR can shake the floor when laughingMaPePeR can shake the floor when laughingMaPePeR can shake the floor when laughingMaPePeR can shake the floor when laughingMaPePeR can shake the floor when laughingMaPePeR can shake the floor when laughingMaPePeR can shake the floor when laughingMaPePeR can shake the floor when laughingMaPePeR can shake the floor when laughing
 
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.
MaPePeR is offline   Reply With Quote
Old 07-09-2012, 04:11 PM   #11
NiLuJe
BLAM!
NiLuJe ought to be getting tired of karma fortunes by now.NiLuJe ought to be getting tired of karma fortunes by now.NiLuJe ought to be getting tired of karma fortunes by now.NiLuJe ought to be getting tired of karma fortunes by now.NiLuJe ought to be getting tired of karma fortunes by now.NiLuJe ought to be getting tired of karma fortunes by now.NiLuJe ought to be getting tired of karma fortunes by now.NiLuJe ought to be getting tired of karma fortunes by now.NiLuJe ought to be getting tired of karma fortunes by now.NiLuJe ought to be getting tired of karma fortunes by now.NiLuJe ought to be getting tired of karma fortunes by now.
 
NiLuJe's Avatar
 
Posts: 13,477
Karma: 26012492
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.
NiLuJe is offline   Reply With Quote
Old 07-09-2012, 04:19 PM   #12
MaPePeR
Connoisseur
MaPePeR can shake the floor when laughingMaPePeR can shake the floor when laughingMaPePeR can shake the floor when laughingMaPePeR can shake the floor when laughingMaPePeR can shake the floor when laughingMaPePeR can shake the floor when laughingMaPePeR can shake the floor when laughingMaPePeR can shake the floor when laughingMaPePeR can shake the floor when laughingMaPePeR can shake the floor when laughingMaPePeR can shake the floor when laughing
 
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)
MaPePeR is offline   Reply With Quote
Old 07-09-2012, 05:09 PM   #13
knc1
Going Viral
knc1 ought to be getting tired of karma fortunes by now.knc1 ought to be getting tired of karma fortunes by now.knc1 ought to be getting tired of karma fortunes by now.knc1 ought to be getting tired of karma fortunes by now.knc1 ought to be getting tired of karma fortunes by now.knc1 ought to be getting tired of karma fortunes by now.knc1 ought to be getting tired of karma fortunes by now.knc1 ought to be getting tired of karma fortunes by now.knc1 ought to be getting tired of karma fortunes by now.knc1 ought to be getting tired of karma fortunes by now.knc1 ought to be getting tired of karma fortunes by now.
 
knc1's Avatar
 
Posts: 17,212
Karma: 18210809
Join Date: Feb 2012
Location: Central Texas
Device: No K1, PW2, KV, KOA
Quote:
Originally Posted by digory View Post
It isn't done until it gets indexed.
at least as an entry: prefix_index -> kindlet_index
probably should also be an entry: prefix_index -> howto_index
knc1 is offline   Reply With Quote
Old 07-09-2012, 05:21 PM   #14
geekmaster
Carpe diem, c'est la vie.
geekmaster ought to be getting tired of karma fortunes by now.geekmaster ought to be getting tired of karma fortunes by now.geekmaster ought to be getting tired of karma fortunes by now.geekmaster ought to be getting tired of karma fortunes by now.geekmaster ought to be getting tired of karma fortunes by now.geekmaster ought to be getting tired of karma fortunes by now.geekmaster ought to be getting tired of karma fortunes by now.geekmaster ought to be getting tired of karma fortunes by now.geekmaster ought to be getting tired of karma fortunes by now.geekmaster ought to be getting tired of karma fortunes by now.geekmaster ought to be getting tired of karma fortunes by now.
 
geekmaster's Avatar
 
Posts: 6,433
Karma: 10773668
Join Date: Nov 2011
Location: Multiverse 6627A
Device: K1 to PW3
Quote:
Originally Posted by knc1 View Post
It isn't done until it gets indexed.
at least as an entry: prefix_index -> kindlet_index
probably should also be an entry: prefix_index -> howto_index
I indexed it in Kindlet and HowTo indexes.

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.
geekmaster is offline   Reply With Quote
Old 07-10-2012, 11:33 AM   #15
digory
Enthusiast
digory is faster than a rolling 'o,' stronger than silent 'e,' and leaps capital 'T' in a single bound!digory is faster than a rolling 'o,' stronger than silent 'e,' and leaps capital 'T' in a single bound!digory is faster than a rolling 'o,' stronger than silent 'e,' and leaps capital 'T' in a single bound!digory is faster than a rolling 'o,' stronger than silent 'e,' and leaps capital 'T' in a single bound!digory is faster than a rolling 'o,' stronger than silent 'e,' and leaps capital 'T' in a single bound!digory is faster than a rolling 'o,' stronger than silent 'e,' and leaps capital 'T' in a single bound!digory is faster than a rolling 'o,' stronger than silent 'e,' and leaps capital 'T' in a single bound!digory is faster than a rolling 'o,' stronger than silent 'e,' and leaps capital 'T' in a single bound!digory is faster than a rolling 'o,' stronger than silent 'e,' and leaps capital 'T' in a single bound!digory is faster than a rolling 'o,' stronger than silent 'e,' and leaps capital 'T' in a single bound!digory is faster than a rolling 'o,' stronger than silent 'e,' and leaps capital 'T' in a single bound!
 
Posts: 28
Karma: 50000
Join Date: Jun 2012
Device: kindle touch
Quote:
Originally Posted by MaPePeR View Post
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.
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.
digory is offline   Reply With Quote
Reply

Tags
kindlet, kindlets

Thread Tools Search this Thread
Search this Thread:

Advanced Search

Forum Jump

Similar Threads
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


All times are GMT -4. The time now is 05:22 PM.


MobileRead.com is a privately owned, operated and funded community.