![]() |
#46 |
Wizard
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 1,379
Karma: 2155307
Join Date: Nov 2010
Location: Goettingen, Germany
Device: Kindle Paperwhite, Kobo Mini
|
errm, could you upload the resulting .azw2 file?
|
![]() |
![]() |
![]() |
#47 |
Connoisseur
![]() Posts: 50
Karma: 70
Join Date: Nov 2010
Device: Kindle DXG / Kindle 3
|
Yes, here is itMyWorld.zip.
|
![]() |
![]() |
![]() |
#48 |
Connoisseur
![]() Posts: 50
Karma: 70
Join Date: Nov 2010
Device: Kindle DXG / Kindle 3
|
Here is my src
|
![]() |
![]() |
![]() |
#49 |
Wizard
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 1,379
Karma: 2155307
Join Date: Nov 2010
Location: Goettingen, Germany
Device: Kindle Paperwhite, Kobo Mini
|
ah, well, the MyWorld.class ended up in the root directory again. Whereas in the Manifest, it is declared to be "Hello.MyWorld", so the kindle would search for "Hello/MyWorld.class". I'm just guessing here, but you might just have issued "jar cvfm [...] Hello/MyWorld.class", but it should have been "jar cvfm [...] Hello".
You can check the contents of the .azw2 with a ZIP reader to make sure that the layout within matches the data in the Manifest. Edit: or just use the jar tool's "t" command... |
![]() |
![]() |
![]() |
#50 | |
Connoisseur
![]() Posts: 50
Karma: 70
Join Date: Nov 2010
Device: Kindle DXG / Kindle 3
|
Quote:
Thank you very much. Liuto |
|
![]() |
![]() |
![]() |
#51 |
Wizard
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 1,379
Karma: 2155307
Join Date: Nov 2010
Location: Goettingen, Germany
Device: Kindle Paperwhite, Kobo Mini
|
Sorry, I'd love to, but I managed to break some permission files on my K3 and won't get to fix them before weekend (which starts in about 20 hours here:-)).
Edit: That means I'll do it if noone beats me to it before! |
![]() |
![]() |
![]() |
#52 | |
Connoisseur
![]() Posts: 50
Karma: 70
Join Date: Nov 2010
Device: Kindle DXG / Kindle 3
|
Quote:
And Thank you for your kindly help. Liuto |
|
![]() |
![]() |
![]() |
#53 |
Connoisseur
![]() Posts: 50
Karma: 70
Join Date: Nov 2010
Device: Kindle DXG / Kindle 3
|
OK!!!
Finally, by comparing the project configurations with others, I found that we have to compile the source code with '-target 1.4 -source 1.4' options if JDK version is 1.6.x That will work! Thanks all. Liuto |
![]() |
![]() |
![]() |
#54 |
Wizard
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 1,379
Karma: 2155307
Join Date: Nov 2010
Location: Goettingen, Germany
Device: Kindle Paperwhite, Kobo Mini
|
Hi, great that the problem is solved! And good to make this point in this thread.
|
![]() |
![]() |
![]() |
#55 |
Connoisseur
![]() Posts: 50
Karma: 70
Join Date: Nov 2010
Device: Kindle DXG / Kindle 3
|
just test
Last edited by liuto; 09-14-2011 at 04:54 PM. |
![]() |
![]() |
![]() |
#56 |
Junior Member
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 8
Karma: 1126
Join Date: Oct 2011
Device: Amazon Kindle 3G
|
Have anyone managed to bypass the "This title is not authorized to use the current network connection in this location. Please try connecting to a Wi-Fi network" exception ?
I played around /opt/amazon/ebook/security/external.policy, but it won't allow me to connect via 3G anyway. Any ideas ? |
![]() |
![]() |
![]() |
#57 | |
Connoisseur
![]() Posts: 50
Karma: 70
Join Date: Nov 2010
Device: Kindle DXG / Kindle 3
|
Quote:
Network-Access-Grants: sponsored |
|
![]() |
![]() |
![]() |
#58 |
Junior Member
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 8
Karma: 1126
Join Date: Oct 2011
Device: Amazon Kindle 3G
|
|
![]() |
![]() |
![]() |
#59 | |
Zealot
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 133
Karma: 52836
Join Date: Feb 2012
Location: São Paulo / Brazil
Device: Kindles: Touch, Voyage, Oasis 9th, Oasis 10th / Kobo: Libra Colour
|
Quote:
Any chance to port KindleChess to Touch? Regards. |
|
![]() |
![]() |
![]() |
#60 |
Enthusiast
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 28
Karma: 50000
Join Date: Jun 2012
Device: kindle touch
|
Hi there. I'm trying to get the HelloWorld to work. So far I've copied the jars and have the following directory structure:
- lib/ - lotsa jars, including Kindlet-2.1.jar - sdk/ ---- lib/ - more jars - HelloWorld/ ---- Main.java ---- Main.manifest Now if I do: cd HelloWorld javac -classpath ../lib/Kindlet-2.1.jar Main.java I get: Main.java:5: cannot find symbol symbol : class KTextArea location: package com.amazon.kindle.kindlet.ui import com.amazon.kindle.kindlet.ui.KTextArea; -----------------------------------------^ Main.java:17: cannot find symbol symbol : class KTextArea location: class test.Main ctx.getRootContainer().add(new KTextArea("Hello World!")); ---------------------------------------^ I tried including ../lib/kafui.jar in the classpath also (because it has ui in the name), and others: javac -classpath ../lib/Kindlet-2.1.jar:../lib/kafui.jar:../lib/utilities.jar:../KindletImplementation.jar Main.java but to no avail. ![]() EDIT: Added dashes--- because this editor does not preserve the formatting. Last edited by digory; 07-01-2012 at 03:41 PM. |
![]() |
![]() |
![]() |
|
![]() |
||||
Thread | Thread Starter | Forum | Replies | Last Post |
How do I write Kindlets? | nathansuchy | Kindle Developer's Corner | 3 | 11-17-2012 04:16 PM |
Kindlets crashing | ger1972 | Kindle Developer's Corner | 8 | 06-28-2012 11:26 PM |
Developing kindlets on the K4 NT | ger1972 | Kindle Developer's Corner | 10 | 06-15-2012 11:45 AM |
List of Kindlets available | inameiname | Kindle Developer's Corner | 27 | 04-14-2012 07:16 AM |
iLiad jharker:would you please write a guide on installing iLiadPowerManagement | tudou331100 | iRex Developer's Corner | 10 | 01-22-2009 11:19 PM |