11-17-2012, 05:11 PM | #1 |
Enthusiast
Posts: 47
Karma: 12694
Join Date: May 2012
Device: Kindle Keyboard Wifi
|
I am having trouble signing my Kindlets please help,
I have been using my Kindle more and more lately and have noticed that the web browser is kinda basic and have wanted to add more features to it, but don't want to have to o that through USB Networking so instead I am re-writing opera mini for android (UI and Code). I have been unable to load the Hello World kindlet because I am unable to sign it. Attached is a zip file with what I am using.
|
11-17-2012, 05:26 PM | #2 |
( ͡° ͜ʖ ͡°){ʇlnɐɟ ƃǝs}Tır
Posts: 6,586
Karma: 6299991
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
|
|
11-17-2012, 06:02 PM | #3 |
Enthusiast
Posts: 47
Karma: 12694
Join Date: May 2012
Device: Kindle Keyboard Wifi
|
I though this worked but it did not.
Last edited by nathansuchy; 11-17-2012 at 06:11 PM. Reason: Post Content Untrue :( |
11-17-2012, 06:06 PM | #4 |
Enthusiast
Posts: 47
Karma: 12694
Join Date: May 2012
Device: Kindle Keyboard Wifi
|
Ok still not working. Attached is my zip file will you please tell me what is wrong with it?
|
11-17-2012, 06:08 PM | #5 |
Enthusiast
Posts: 47
Karma: 12694
Join Date: May 2012
Device: Kindle Keyboard Wifi
|
I have gcj-4.6-jdk installed for jarsigner will that work if not please send me a .deb file (please compress this and make it small as possible as I use an android tether for internet I prefer files compressed with 7zip if possible)
|
11-17-2012, 06:14 PM | #6 | |
Going Viral
Posts: 17,212
Karma: 18210809
Join Date: Feb 2012
Location: Central Texas
Device: No K1, PW2, KV, KOA
|
Quote:
use ar to open them if required, Debian ignores your personal preferences. |
|
11-17-2012, 06:29 PM | #7 |
Enthusiast
Posts: 47
Karma: 12694
Join Date: May 2012
Device: Kindle Keyboard Wifi
|
Is there something wrong with the zip file I uploaded earlier?
|
11-17-2012, 06:38 PM | #8 |
Going Viral
Posts: 17,212
Karma: 18210809
Join Date: Feb 2012
Location: Central Texas
Device: No K1, PW2, KV, KOA
|
|
11-17-2012, 06:58 PM | #9 |
Wizard
Posts: 1,379
Karma: 2155307
Join Date: Nov 2010
Location: Goettingen, Germany
Device: Kindle Paperwhite, Kobo Mini
|
nathansuchy: Just to make sure - other developer (!) Kindlets are working fine, i.e. your Kindle is correctly set up?
|
11-18-2012, 02:29 PM | #10 |
Enthusiast
Posts: 47
Karma: 12694
Join Date: May 2012
Device: Kindle Keyboard Wifi
|
Yes other kindlets signed with the merged developer keystore which I am trying to use to sign my Kindlets work fine but my computer is not signing the jar file and I have tried everything I can as you can see the zip file I uploaded earlier. Download ZIPFILE here
|
11-18-2012, 03:21 PM | #11 |
Enthusiast
Posts: 47
Karma: 12694
Join Date: May 2012
Device: Kindle Keyboard Wifi
|
My New Zip File(Still does not work though :()
This is my new zipfile can someone please tell me what is wrong with it?
|
11-18-2012, 06:56 PM | #12 | |||
( ͡° ͜ʖ ͡°){ʇlnɐɟ ƃǝs}Tır
Posts: 6,586
Karma: 6299991
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 - you don't say exactly "how" you run the ./sign.sh
nor do you give the exact error. if the error is Quote:
If the error is something else then I don't understand. as I can sign it fine. Quote:
Quote:
(peruse the source luke) Last edited by twobob; 11-18-2012 at 07:02 PM. |
|||
11-19-2012, 08:45 AM | #13 |
(offline)
Posts: 2,907
Karma: 6736092
Join Date: Dec 2011
Device: K3, K4, K5, KPW, KPW2
|
^ what twobob said.
There are so many things wrong with this file, I don't know where to even start... First: the .azw2 file is not signed at all. Answer twobob's questions to find out out why this is so. Second: the included META-INF/manifest.mf file should be called MANIFEST.MF (all CAPITAL letters). That's not a big deal, but still. Third: your main class should be called "Main", not "main". Java doesn't really care about this, but you'll do yourself (and everyone else) a favor if you follow the commonly accepted Java Naming Conventions. Fourth: Your .class file is actually the SOURCE file, not the COMPILED bytecode!!! All in all, I suggest you start with "an introduction to Java for beginners" first, before diving into Kindlet development. You seem to be lacking the very basics. Don't get this wrong, I'm not trying to offend you - I'm just stating the facts... |
11-19-2012, 09:52 AM | #14 |
( ͡° ͜ʖ ͡°){ʇlnɐɟ ƃǝs}Tır
Posts: 6,586
Karma: 6299991
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
|
I'm not 100% sure that Kindlets are the best target anyways.
(Okay I am 99.999% sure they are not the right thing to use really) You strike me as an exuberant man with lot's of drive, a bit of direction is of course always helpful. To that end: I politely suggest you consider other targets. What about an X target for your output. We are just on the verge of providing a reasonable X implementation for the 3 (even got input working when aping with debian) - yep - it's a challenge but hey That would probably simplify the "Getting it on screen" section. I can provide a (mostly) working X to play with if you are up for that one. (or hawhill has actually posted a far easier to "just use" one) In the absence of X you should probably consider QT (or gtk perhaps) targets for the rendering (and widgets) - there is also some built-in display functionality for the device (you have a 3 right?) that is used to display menu's etc... (blanket perhaps via pillow?) if you really wanted to be extra clever you could look into reusing some of that. If you imagine that Kindlets will be some fully featured way of getting stuff "to screen" I can assure you (IMHO) they are a locked-down bumache. (see my many threads on attempting to make kindlets do something "amazing") they never failed to disappoint. It MAY be that they would be a great testbed for super solid browsing. My gut says NO. Hope that helps somewhat And I too spent my first three days swearing like a solider at kindlets. for the record. (Also noted it all on here, provided error outputs and worked examples of "Howto" when I was done) - Thank goodness now it seems (I used my hello world to test yours) Fingers crossed that the stumbling block of "getting Sexy to screen" on the 3 doesn't tumble you. It was the bane of my life for a good long while there too. nice to meet. good luck. |
11-19-2012, 10:13 AM | #15 | |
(offline)
Posts: 2,907
Karma: 6736092
Join Date: Dec 2011
Device: K3, K4, K5, KPW, KPW2
|
Quote:
(*) Not so on the K3, because that doesn't support standard Swing UI components. You'll have to reinvent the wheel for many UI things, and even then, it'll still look ugly. I'm still not sure about the K4, but my guess is that it's similar to the K3, i.e., "not good". |
|
Thread Tools | Search this Thread |
|
Similar Threads | ||||
Thread | Thread Starter | Forum | Replies | Last Post |
Guide: How to write Kindlets | KukMan | Kindle Developer's Corner | 67 | 07-08-2013 07:23 AM |
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 |