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 08-25-2012, 08:52 AM   #256
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
Quote:
Originally Posted by Akirainblack View Post
Thank you for the helpful response ixtab.
I'm new to this and have followed the available instructions I have found to the letter.
If my information isn't enough, possibly asking for more would be an idea rather than a facetious remark.

silver18 if your response was to me, would you please elaborate. Thank you.

To elaborate futher..
Start USBnetwork
Orientation
Launch Sudoku

have added whilst:
jbpatch
collections manager
haven't
You're getting something wrong here. It's not up to us to try to find out what your problem is, but it's up to you to give as detailed information as you can, so that we can try to help you. Look, I'm not trying to be an asshole, I just tried to tell you in a humorous way that you are providing *WAY* too little information. EDIT and yes, this may seem a little "grumpy" (and it actually is, at least a bit... we keep getting this kind of questions over and over, and we keep explaining to people that they need to provide details... again and again and again and again and... At some point it's just tiring.)/EDIT

Which Kindle Firmware version, which launcher version, and which extensions are you talking about? What *exactly* have you done? What *exactly* did you expect to be the outcome? (Well, I suppose this one is clear: there should have been launcher entries, but there aren't). Can you provide any other information? For example, is there anything suspicious in the logs?

You see, we can only try to help you if you provide enough information to start with. "It doesn't work" simply isn't enough information.

Last edited by ixtab; 08-25-2012 at 09:11 AM.
ixtab is offline   Reply With Quote
Old 08-25-2012, 02:22 PM   #257
Akirainblack
abibliophobic
Akirainblack ought to be getting tired of karma fortunes by now.Akirainblack ought to be getting tired of karma fortunes by now.Akirainblack ought to be getting tired of karma fortunes by now.Akirainblack ought to be getting tired of karma fortunes by now.Akirainblack ought to be getting tired of karma fortunes by now.Akirainblack ought to be getting tired of karma fortunes by now.Akirainblack ought to be getting tired of karma fortunes by now.Akirainblack ought to be getting tired of karma fortunes by now.Akirainblack ought to be getting tired of karma fortunes by now.Akirainblack ought to be getting tired of karma fortunes by now.Akirainblack ought to be getting tired of karma fortunes by now.
 
Posts: 220
Karma: 219708
Join Date: Aug 2012
Device: KV jailbroken
Hello ixtab, my apologies, I deal with "error messages" every day, from the "it's not working" to someone supplying the actual error. Oh and yes I know what you're doing is for free/donation. I've done alot of free support in my time on various forums EDIT as well as over the phone or via email 1/2 way around the world /EDIT so I know how frustrating it is. Not knowing much about this I didn't know what was pertinent and what was just fluff.

Kindle: Touch (obviously)
Firmware: 5.1.2
Jailbroken obviously
Using simple screensaver hack
KindKalc,
JBPatch
Kindlet hack
EDIT. Everything is latest version as of Friday /EDIT

unsure as to where to find the logs as I'm new.

Anything else I can proffer to help?

Last edited by Akirainblack; 08-25-2012 at 02:27 PM.
Akirainblack is offline   Reply With Quote
Old 08-26-2012, 01:12 PM   #258
silver18
THE NOOB
silver18 ought to be getting tired of karma fortunes by now.silver18 ought to be getting tired of karma fortunes by now.silver18 ought to be getting tired of karma fortunes by now.silver18 ought to be getting tired of karma fortunes by now.silver18 ought to be getting tired of karma fortunes by now.silver18 ought to be getting tired of karma fortunes by now.silver18 ought to be getting tired of karma fortunes by now.silver18 ought to be getting tired of karma fortunes by now.silver18 ought to be getting tired of karma fortunes by now.silver18 ought to be getting tired of karma fortunes by now.silver18 ought to be getting tired of karma fortunes by now.
 
silver18's Avatar
 
Posts: 701
Karma: 1545649
Join Date: Jan 2012
Location: Italy
Device: Kindle Touch 5.3.2
Here's the complete description of what happened to me and how I solved it.

I was testing the newly created .bin installation file for my Komic.
As I'm mindless, I created a wrong .bin and this led to unzipping a bin folder plus config.xml and menu.json directly in extensions folder.
I don't know what happened next. All I know is that the launcher showed only 3 extensions (HUR, orientation and usbnetwork) and nothing else (though all other extensions were there!).

I tried to uninstall the launcher using the .bin provided and install it again: nothing changed.

Finally, I decided to manually install the launcher.
I extracted KindleLauncher.jar and launcher.conf from launcher_1.2.2.zip (you can find them in src/install).
Then I copied them to my Kindle using WinSCP:
- KindleLauncher.jar in /opt/amazon/ebook/lib/
- launcher.conf in /etc/upstart/
I restarted my Kindle and now everything is working!

Spoiler:
BTW I can't understand what happened: I didn't overwrite anything in extension folder!
Moreover, the uninstall process worked, but the install process didn't work (though I didn't get any error). I had to manually move the files as they were missing in those folders even after installing the launcher twice.
I have my launcher back now (and working), but this still seems strange to me!
silver18 is offline   Reply With Quote
Old 08-26-2012, 03:53 PM   #259
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
Sounds like a name clash.
Isn't the practice to install each ap in a sub-directory of extensions?

Either the sub-directory name was missing or an option was passed to the un-packer to suppress the directory creation.
knc1 is offline   Reply With Quote
Old 08-26-2012, 06:19 PM   #260
silver18
THE NOOB
silver18 ought to be getting tired of karma fortunes by now.silver18 ought to be getting tired of karma fortunes by now.silver18 ought to be getting tired of karma fortunes by now.silver18 ought to be getting tired of karma fortunes by now.silver18 ought to be getting tired of karma fortunes by now.silver18 ought to be getting tired of karma fortunes by now.silver18 ought to be getting tired of karma fortunes by now.silver18 ought to be getting tired of karma fortunes by now.silver18 ought to be getting tired of karma fortunes by now.silver18 ought to be getting tired of karma fortunes by now.silver18 ought to be getting tired of karma fortunes by now.
 
silver18's Avatar
 
Posts: 701
Karma: 1545649
Join Date: Jan 2012
Location: Italy
Device: Kindle Touch 5.3.2
The problem was I forgot to pack the folder in the zip (I packed only bin folder, config.xml and menu.json). That's why there wasn't a subfolder!
Anyway, I can't understand the problem!
silver18 is offline   Reply With Quote
Old 08-26-2012, 11:04 PM   #261
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 silver18 View Post
The problem was I forgot to pack the folder in the zip (I packed only bin folder, config.xml and menu.json). That's why there wasn't a subfolder!
Anyway, I can't understand the problem!
All extensions use the same name(s).
So if one extension puts, say config.xml in the top level directory, the next one that does the same will overwrite the first.

I.E: Only the last installed (that doesn't us its own sub-directory) will win out in the over-write process and run as expected.
knc1 is offline   Reply With Quote
Old 08-27-2012, 04:09 AM   #262
silver18
THE NOOB
silver18 ought to be getting tired of karma fortunes by now.silver18 ought to be getting tired of karma fortunes by now.silver18 ought to be getting tired of karma fortunes by now.silver18 ought to be getting tired of karma fortunes by now.silver18 ought to be getting tired of karma fortunes by now.silver18 ought to be getting tired of karma fortunes by now.silver18 ought to be getting tired of karma fortunes by now.silver18 ought to be getting tired of karma fortunes by now.silver18 ought to be getting tired of karma fortunes by now.silver18 ought to be getting tired of karma fortunes by now.silver18 ought to be getting tired of karma fortunes by now.
 
silver18's Avatar
 
Posts: 701
Karma: 1545649
Join Date: Jan 2012
Location: Italy
Device: Kindle Touch 5.3.2
The point is: there weren't such files, so I didn't overwrite anything.
Moreover, I always install extensions with their folders, so that's not the problem!
Anyway, now it works...
silver18 is offline   Reply With Quote
Old 08-27-2012, 09:00 AM   #263
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
My point was you are not the only person writing extensions and that even if zip'd with the sub-directory name the archive can by un-zip'd without the sub-directory name.

So it is not possible to rule out a name clash without inspecting the file structure of the machine of the **other people** who have posted problems.
knc1 is offline   Reply With Quote
Old 08-27-2012, 09:36 AM   #264
silver18
THE NOOB
silver18 ought to be getting tired of karma fortunes by now.silver18 ought to be getting tired of karma fortunes by now.silver18 ought to be getting tired of karma fortunes by now.silver18 ought to be getting tired of karma fortunes by now.silver18 ought to be getting tired of karma fortunes by now.silver18 ought to be getting tired of karma fortunes by now.silver18 ought to be getting tired of karma fortunes by now.silver18 ought to be getting tired of karma fortunes by now.silver18 ought to be getting tired of karma fortunes by now.silver18 ought to be getting tired of karma fortunes by now.silver18 ought to be getting tired of karma fortunes by now.
 
silver18's Avatar
 
Posts: 701
Karma: 1545649
Join Date: Jan 2012
Location: Italy
Device: Kindle Touch 5.3.2
Mmmm...
Attached you can see what I unzip with the bin update.
And here's the relevant part of the script:
Code:
unzip komic.zip -d /mnt/us/extensions/
I take care of present komic folder before sending that command (backup important files!).
So, unless others create an extensions with the same folder name komic, it should be impossible to mess up anything.

What I did wrong when I had that problem is to forget packing up in the zip the whole komic folder. I packed only what's in it, and this led to having files unzipped directly in extensions.

Hope I managed to explain myself!
Attached Files
File Type: zip komic.zip (260.0 KB, 255 views)
silver18 is offline   Reply With Quote
Old 08-28-2012, 08:49 AM   #265
Akirainblack
abibliophobic
Akirainblack ought to be getting tired of karma fortunes by now.Akirainblack ought to be getting tired of karma fortunes by now.Akirainblack ought to be getting tired of karma fortunes by now.Akirainblack ought to be getting tired of karma fortunes by now.Akirainblack ought to be getting tired of karma fortunes by now.Akirainblack ought to be getting tired of karma fortunes by now.Akirainblack ought to be getting tired of karma fortunes by now.Akirainblack ought to be getting tired of karma fortunes by now.Akirainblack ought to be getting tired of karma fortunes by now.Akirainblack ought to be getting tired of karma fortunes by now.Akirainblack ought to be getting tired of karma fortunes by now.
 
Posts: 220
Karma: 219708
Join Date: Aug 2012
Device: KV jailbroken
Right, got it fixed. Had to uninstall and then reinstall launcher 1.2.2 before it would see the added extensions. Thanks to those who offered help.
Akirainblack is offline   Reply With Quote
Old 09-02-2012, 11:43 PM   #266
yiming
Zealot
yiming is kind to children and small, furry animalsyiming is kind to children and small, furry animalsyiming is kind to children and small, furry animalsyiming is kind to children and small, furry animalsyiming is kind to children and small, furry animalsyiming is kind to children and small, furry animalsyiming is kind to children and small, furry animalsyiming is kind to children and small, furry animalsyiming is kind to children and small, furry animalsyiming is kind to children and small, furry animalsyiming is kind to children and small, furry animals
 
Posts: 127
Karma: 6744
Join Date: Dec 2011
Device: Kindle Touch, PW2, PW5
Could someone pls tell me how the order of display of items is determined in the launcher. Can the order be customized? thanks.
yiming is offline   Reply With Quote
Old 09-03-2012, 12:04 AM   #267
Titano
Definitely not King Kong
Titano never is beset by a damp, drizzly November in his or her soul.Titano never is beset by a damp, drizzly November in his or her soul.Titano never is beset by a damp, drizzly November in his or her soul.Titano never is beset by a damp, drizzly November in his or her soul.Titano never is beset by a damp, drizzly November in his or her soul.Titano never is beset by a damp, drizzly November in his or her soul.Titano never is beset by a damp, drizzly November in his or her soul.Titano never is beset by a damp, drizzly November in his or her soul.Titano never is beset by a damp, drizzly November in his or her soul.Titano never is beset by a damp, drizzly November in his or her soul.Titano never is beset by a damp, drizzly November in his or her soul.
 
Titano's Avatar
 
Posts: 126
Karma: 59238
Join Date: Jul 2012
Location: United States
Device: Kindle Touch
Quote:
Originally Posted by yiming View Post
Could someone pls tell me how the order of display of items is determined in the launcher. Can the order be customized? thanks.
There is a menu.json in each programs dirrectory. There should be a part in that file that says "priority" like in the example below.
Code:
{"name": "Bla", "priority": 0, "action": "/bla/bla/bla.sh"}
Edit the number to the priority you want and save the file. So if you want the program "Bla" to be number 10 on the list then change the priority to 10 like below.

Code:
{"name": "Bla", "priority": 10, "action": "/bla/bla/bla.sh"}

Last edited by Titano; 09-03-2012 at 12:07 AM.
Titano is offline   Reply With Quote
Old 09-03-2012, 07:21 AM   #268
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
Quick question:
Isn't that field named: "priority" actually implementing "priority groups"?

I.E: More that one item could be set as: "priority":5 and will all of those be grouped together for display (between "priority":4 and "priority":6 items).

Translation: The end-user does not have to be concerned about duplicating an existing priority number?

Last edited by knc1; 09-03-2012 at 07:25 AM.
knc1 is offline   Reply With Quote
Old 09-03-2012, 07:49 AM   #269
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
Quote:
Originally Posted by knc1 View Post
Quick question:
Isn't that field named: "priority" actually implementing "priority groups"?

I.E: More that one item could be set as: "priority":5 and will all of those be grouped together for display (between "priority":4 and "priority":6 items).

Translation: The end-user does not have to be concerned about duplicating an existing priority number?
Yes, and no.

It's a very simple system: every extension can declare their own priority. The sorting is done once all extensions are loaded. If everybody declares a different priority, then all is fine, and entries are sorted in ascending order of their (numerical) declared priority.

If two or more extensions declare the same priority, then they are sorted according to the internal rules of the sort algorithm that is internally employed. There are no guarantees about the sort order though, so don't rely on any.
ixtab is offline   Reply With Quote
Old 09-03-2012, 12:13 PM   #270
yiming
Zealot
yiming is kind to children and small, furry animalsyiming is kind to children and small, furry animalsyiming is kind to children and small, furry animalsyiming is kind to children and small, furry animalsyiming is kind to children and small, furry animalsyiming is kind to children and small, furry animalsyiming is kind to children and small, furry animalsyiming is kind to children and small, furry animalsyiming is kind to children and small, furry animalsyiming is kind to children and small, furry animalsyiming is kind to children and small, furry animals
 
Posts: 127
Karma: 6744
Join Date: Dec 2011
Device: Kindle Touch, PW2, PW5
@Titano, @ixtab

thanks for the answers. managed to change the order of items in my launcher using the method, except HackedUpReader, which had been added to the launcher using the HackedUpReaderExtension. HackedUpReader has no menu.json and ends up as the 1st item on the list.
yiming is offline   Reply With Quote
Reply

Tags
kindle touch hacks


Forum Jump

Similar Threads
Thread Thread Starter Forum Replies Last Post
Extended Linux Functionality - GUI Launcher Kindle Touch dasmoover Kindle Developer's Corner 41 02-11-2013 06:05 PM
Removing Ads with the GUI Launcher vaniaspeedy Kindle Developer's Corner 54 01-23-2013 08:47 PM
Image Viewer: An extension for GUI Launcher on Kindle Touch 5.1 starsy Kindle Developer's Corner 20 08-04-2012 04:15 PM
Installing Yifan Lu's Launcher on Kindle Touch 5.03 pwright2 Amazon Kindle 2 02-12-2012 10:13 PM


All times are GMT -4. The time now is 03:15 AM.


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