08-07-2013, 05:36 PM | #526 |
( ͡° ͜ʖ ͡°){ʇ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
|
|
08-07-2013, 05:41 PM | #527 | |
THE NOOB
Posts: 701
Karma: 1545649
Join Date: Jan 2012
Location: Italy
Device: Kindle Touch 5.3.2
|
Quote:
In the end, I found a working jshon...I just need to link dynamic libraries. I will place the jshon binary and libraries in: Code:
/mnt/us/extensions/komic/bin/resource/Utilities Code:
LD_LIBRARY_PATH=/mnt/us/extensions/komic/bin/resource/Utilities export $LD_LIBRARY_PATH I'm new to libraries.... |
|
08-07-2013, 05:43 PM | #528 |
( ͡° ͜ʖ ͡°){ʇ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
|
you could put it inline like
LD_LIBRARY_PATH=/mnt/us/extensions/komic/bin/resource/Utilities thing that will work EDIT: The other way you cited will work for the duration of the script. The way I outline there will work for the duration of the single call. depends on what you are trying to achieve Last edited by twobob; 08-07-2013 at 07:02 PM. |
08-07-2013, 07:06 PM | #529 | |
Going Viral
Posts: 17,212
Karma: 18210809
Join Date: Feb 2012
Location: Central Texas
Device: No K1, PW2, KV, KOA
|
Quote:
I have that link, somewhere, if I haven't mis-placed it. Found it: http://pegjs.majda.cz/ And the on-line version: http://pegjs.majda.cz/online Just enter the declaration of the parser you want (PEG is very much like EBNF) and that web page will crank out the parser you declared, in js. PS: Tizen apps are coded in Javascript, not Java. So if you ever need something parsed in your Javascript app (WAF or Tizen) then bookmark the site above. PPS: Also a thought to keep in mind for anyone thinking of winning that $200,000 prize for the next "killer" Tizen game. https://developer.tizen.org/contests...-app-challenge Last edited by knc1; 08-07-2013 at 07:59 PM. |
|
08-07-2013, 08:27 PM | #530 |
BLAM!
Posts: 13,482
Karma: 26012494
Join Date: Jun 2010
Location: Paris, France
Device: Kindle 2i, 3g, 4, 5w, PW, PW2, PW5; Kobo H2O, Forma, Elipsa, Sage, C2E
|
@silver18: If you don't want to bother with library search paths, here's a fresh nearly-static binary built against the latest git trees.
|
08-08-2013, 05:33 AM | #531 | |||
THE NOOB
Posts: 701
Karma: 1545649
Join Date: Jan 2012
Location: Italy
Device: Kindle Touch 5.3.2
|
Quote:
Quote:
Quote:
You guys are awesome!!! I'll try first the NiLuje built as it's more practical. On the other hand, I tried also Twobob solution and it worked flawlessly! As regards PEG, I'll try it this evening, it looks interesting! Tizen is really attracting me, I'll give it a try asap! |
|||
08-08-2013, 03:16 PM | #532 | |
THE NOOB
Posts: 701
Karma: 1545649
Join Date: Jan 2012
Location: Italy
Device: Kindle Touch 5.3.2
|
Quote:
Thanks a lot!!! Lol, after about 1 year, I added this!! |
|
08-08-2013, 04:14 PM | #533 |
BLAM!
Posts: 13,482
Karma: 26012494
Join Date: Jun 2010
Location: Paris, France
Device: Kindle 2i, 3g, 4, 5w, PW, PW2, PW5; Kobo H2O, Forma, Elipsa, Sage, C2E
|
@silver18: Awesome .
The build in the next release (or the current one on SVN) will hopefully be better still, but nothing in the same range (switched to O3 thumb2 binaries) . |
08-08-2013, 06:24 PM | #534 | |
but forgot what it's like
Posts: 741
Karma: 2345678
Join Date: Dec 2011
Location: north (by northwest)
Device: Kindle Touch
|
Stock Lua libraries on K5 includes JSON library.
Quote:
Code:
[root@kindle root]# lua Lua 5.1.4 Copyright (C) 1994-2008 Lua.org, PUC-Rio > require"json" > print(json.encode({hello="world"})) {"hello":"world"} > print(json.decode('{"hello":"world"}').hello) world |
|
08-09-2013, 11:50 PM | #535 |
Junior Member
Posts: 3
Karma: 10
Join Date: Aug 2013
Device: Paperwhite
|
Hi yall. Thanks for all the great info. So far I've jail-broken my kindle and installed KAUL. Was surprised that when I tried putting komic on it, it didn't work.
My kindle is at firmware 5.3.1 All the other stuff was installed today. I saw that there seems to be some kind of fix so that it does work on the pw. Sadly there's a lot of pages here. Has anyone made a step by step installation post yet? If not could there be one please? Anyways much appreciated. Thanks. |
08-10-2013, 04:21 AM | #536 |
THE NOOB
Posts: 701
Karma: 1545649
Join Date: Jan 2012
Location: Italy
Device: Kindle Touch 5.3.2
|
Which version of Komic are you trying?
Do you have a kindle paperwhite? |
08-10-2013, 01:11 PM | #537 |
Groupie
Posts: 165
Karma: 593460
Join Date: Oct 2012
Device: K5 B011 5.3.2.1
|
JSON shell parsers:
. for sh scripting, JSON.sh, https://github.com/dominictarr/JSON.sh . for awk scripting, https://github.com/step-/JSON.awk KUAL uses JSON.awk . for any scripting, bin file, jshon, http://kmkeen.com/jshon/2011-12-21-21-53-50-464.html attached a static build for KT I've use this a few times, it's cool but I prefer the first two |
08-10-2013, 02:14 PM | #538 |
Junior Member
Posts: 3
Karma: 10
Join Date: Aug 2013
Device: Paperwhite
|
Komic V2.2
And yes a paperwhite |
08-11-2013, 05:04 AM | #539 | ||||
THE NOOB
Posts: 701
Karma: 1545649
Join Date: Jan 2012
Location: Italy
Device: Kindle Touch 5.3.2
|
Quote:
Thanks!! Quote:
It's easy to use and really flexible. I'll try also JSON.sh and JSON.awk to decide which one it's the best one! First post: Quote:
Quote:
Here you can find a beta version for Paperwhite. And here you can find the fix for the reading.js file. |
||||
08-16-2013, 12:50 AM | #540 | |
Junior Member
Posts: 3
Karma: 10
Join Date: Aug 2013
Device: Paperwhite
|
Quote:
I tried downloading that zip but it won't let me. Is the file still up? Also is there any special installation for it? I saw you put up a lot of warnings on that post. Also what is the fix for? Thanks Last edited by twobob; 08-16-2013 at 12:18 PM. |
|
Tags |
launcher add-ons |
|
Similar Threads | ||||
Thread | Thread Starter | Forum | Replies | Last Post |
Android Any Comic Reader App working ? | astrocity | enTourage Archive | 38 | 03-01-2011 12:23 PM |
iPad Good comic reader for iPad? | jocampo | Apple Devices | 5 | 02-24-2011 06:36 AM |
SmartQ V7 comic reader help | Renji | Alternative Devices | 21 | 12-15-2009 10:05 PM |
Macintosh Comic Reader and PDF creator now available :) | grayfox | iRex | 3 | 01-03-2008 05:06 PM |