Register Guidelines E-Books Today's Posts Search

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

Notices

Reply
 
Thread Tools Search this Thread
Old 09-05-2012, 07:49 AM   #16
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: 6736094
Join Date: Dec 2011
Device: K3, K4, K5, KPW, KPW2
Code:
[root@kindle root]# cat /mnt/us/developer/Test/work/crash.log 
--------------------------------------------------------------------------------
[05.09.12 11:42] Test (v. 1.0)

java.lang.NoClassDefFoundError: com.amazon.kindle.kindlet.ui.KTextArea
	at java.lang.Class.getConstructor0(Native Method)
	at com.amazon.kindle.kindlet.internal.vb.D(nzc:370)
	at com.amazon.kindle.kindlet.internal.vb.B(nzc:1684)
	at com.amazon.kindle.kindlet.internal.lifecycle.l.call(cfd:738)
	at edu.emory.mathcs.backport.java.util.concurrent.FutureTask.run(FutureTask.java:178)
	at edu.emory.mathcs.backport.java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1029)
	at edu.emory.mathcs.backport.java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:547)
	at java.lang.Thread.run(Unknown Source)
	at java.lang.Thread.startup(Unknown Source)
Ah... I vaguely remember that the K3 used these Amazon-specific classes, while the K5 just uses plain Java Swing. So maybe the kindlet version actually isn't 2.x, but 1.x? Which kindlet-x.y.jar are you using? (it's kindlet-2.1.jar on the K5, obviously).

So yeah, it won't run on the K5 as is, but it actually should on yours. If it's really version 1.x, then it's probably counterproductive to put in all the Specification-Version stuff in the manifest. But then I'm out of the game, as are all other users of newer Kindles.

One last idea: give it a try with a JTextArea instead of a KTextArea. This will work on my device, but I'm not sure about yours
ixtab is offline   Reply With Quote
Old 09-05-2012, 08:06 AM   #17
twobob
( ͡° ͜ʖ ͡°){ʇlnɐɟ ƃǝs}Týr
twobob ought to be getting tired of karma fortunes by now.twobob ought to be getting tired of karma fortunes by now.twobob ought to be getting tired of karma fortunes by now.twobob ought to be getting tired of karma fortunes by now.twobob ought to be getting tired of karma fortunes by now.twobob ought to be getting tired of karma fortunes by now.twobob ought to be getting tired of karma fortunes by now.twobob ought to be getting tired of karma fortunes by now.twobob ought to be getting tired of karma fortunes by now.twobob ought to be getting tired of karma fortunes by now.twobob ought to be getting tired of karma fortunes by now.
 
twobob's Avatar
 
Posts: 6,586
Karma: 6299993
Join Date: Jun 2012
Location: uti gratia usura (Yao ying da ying; Mo ying da yieng)
Device: PW-WIFI|K5-3G+WIFI| K4|K3-3G|DXG|K2| Rooted Nook Touch
1.2 mate.

Maybe just use an object that is in both specs. like a button?
twobob is offline   Reply With Quote
Advert
Old 09-05-2012, 08:21 AM   #18
twobob
( ͡° ͜ʖ ͡°){ʇlnɐɟ ƃǝs}Týr
twobob ought to be getting tired of karma fortunes by now.twobob ought to be getting tired of karma fortunes by now.twobob ought to be getting tired of karma fortunes by now.twobob ought to be getting tired of karma fortunes by now.twobob ought to be getting tired of karma fortunes by now.twobob ought to be getting tired of karma fortunes by now.twobob ought to be getting tired of karma fortunes by now.twobob ought to be getting tired of karma fortunes by now.twobob ought to be getting tired of karma fortunes by now.twobob ought to be getting tired of karma fortunes by now.twobob ought to be getting tired of karma fortunes by now.
 
twobob's Avatar
 
Posts: 6,586
Karma: 6299993
Join Date: Jun 2012
Location: uti gratia usura (Yao ying da ying; Mo ying da yieng)
Device: PW-WIFI|K5-3G+WIFI| K4|K3-3G|DXG|K2| Rooted Nook Touch
okay. I updated the spec to 1.2, used a button and now it works. I will retrace my steps and see if I can find what made it work okay.

Thanks ever so much for all your help.

I'll make some notes about what I did and from where.

EDIT...

and now much much later.... On the 5.3.2 YAYNESS
Attached Thumbnails
Click image for larger version

Name:	ImageMagick: kindle.fb.pgm_059.png
Views:	251
Size:	9.5 KB
ID:	91841   Click image for larger version

Name:	TightVNC: kindle:0.0_109.png
Views:	220
Size:	31.2 KB
ID:	99175   Click image for larger version

Name:	TightVNC: kindle:0.0_108.png
Views:	214
Size:	15.5 KB
ID:	99176  

Last edited by twobob; 01-10-2013 at 06:47 PM.
twobob is offline   Reply With Quote
Reply


Forum Jump

Similar Threads
Thread Thread Starter Forum Replies Last Post
Tic Tac Toe for kindle touch aditya3098 Kindle Developer's Corner 4 03-11-2012 02:53 PM
New Kindle Game - Tic Tac Toe koland Deals and Resources (No Self-Promotion or Affiliate Links) 2 02-05-2011 10:31 AM
New Western/Mystery Novella From Pete Peterson: CATCH A KILLER BY THE TOE UntreedReads Self-Promotions by Authors and Publishers 0 09-02-2010 12:17 PM


All times are GMT -4. The time now is 10:02 PM.


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