MobileRead Forums

MobileRead Forums (https://www.mobileread.com/forums/index.php)
-   Kindle Developer's Corner (https://www.mobileread.com/forums/forumdisplay.php?f=150)
-   -   [Help] How can I write kindlet with KT 5.1.0? (https://www.mobileread.com/forums/showthread.php?t=175718)

isaac.hu 04-17-2012 11:48 PM

[Help] How can I write kindlet with KT 5.1.0?
 
After reading the <Guide: How to write Kindlete>
https://www.mobileread.com/forums/sho...d.php?t=102386

And follow the step, find out:
There are Kindlet2.1.jar in the sdk, No KTextArea, No KLabel, and so on in KT 5.1.0. Leak many ui component in this sdk.

You can see the differences of the two sdks' javadoc.
https://kdk-javadocs.s3.amazonaws.com/2.0/index.html
https://kdk-javadocs.s3.amazonaws.com/1.0/index.html

Just wanna write a notepad for fun. How can I write kindlet?

Or tall me how to write panel with GUI Launcher.
Thanks Yifan Lu!
Using GUI Launcher with java, I can write menus to do some simple functions(e.g. get ip address). But how to write panel or dialog?

Zuljin 04-18-2012 04:02 AM

Few days ago I faced the same issue. And it looks like amazon replaced most of the kindle specific forms with standard Java swing stuff. I found that Jbutton, JLabel, Jspinner and grid layout works pretty well.
On this forum there is somewhere source code for fonthack for kindle touch. I based on this project to setup and build my first kindlet. It is good source of examples.

isaac.hu 04-19-2012 11:37 PM

Can you tell me the url?

Quote:

Originally Posted by Zuljin (Post 2047227)
Few days ago I faced the same issue. And it looks like amazon replaced most of the kindle specific forms with standard Java swing stuff. I found that Jbutton, JLabel, Jspinner and grid layout works pretty well.
On this forum there is somewhere source code for fonthack for kindle touch. I based on this project to setup and build my first kindlet. It is good source of examples.


isaac.hu 04-19-2012 11:49 PM

Thank you very much!

Now I understand what you mean correctly.
:thumbsup: I find the "Font hack".
https://www.mobileread.com/forums/sho...ight=Font+Hack



Quote:

Originally Posted by Zuljin (Post 2047227)
Few days ago I faced the same issue. And it looks like amazon replaced most of the kindle specific forms with standard Java swing stuff. I found that Jbutton, JLabel, Jspinner and grid layout works pretty well.
On this forum there is somewhere source code for fonthack for kindle touch. I based on this project to setup and build my first kindlet. It is good source of examples.



All times are GMT -4. The time now is 04:59 PM.

Powered by: vBulletin
Copyright ©2000 - 3.8.5, Jelsoft Enterprises Ltd.
MobileRead.com is a privately owned, operated and funded community.