06-26-2012, 02:15 PM | #31 | |
THE NOOB
Posts: 701
Karma: 1545649
Join Date: Jan 2012
Location: Italy
Device: Kindle Touch 5.3.2
|
Quote:
What I did is making it useful, adding folder's name and current page... DISCLAIMER (read it with a smile on the face, as I did writing it...) I'm not really an Apple fan. To be honest, I don't have anything made by Apple and sure I won't buy anything. I used iphone's checkboxes just because they are cute and they suit me (I was looking for some slide switch images). Anyway, I'm glad someone like them a little more because they are from an iphone! |
|
06-26-2012, 04:51 PM | #32 |
Carpe diem, c'est la vie.
Posts: 6,433
Karma: 10773668
Join Date: Nov 2011
Location: Multiverse 6627A
Device: K1 to PW3
|
|
Advert | |
|
07-01-2012, 02:12 AM | #33 |
Connoisseur
Posts: 65
Karma: 20728
Join Date: Jan 2010
Device: K2i, K3(B006), KT(WiFi)
|
Could you put a short instruction for uninstall? (And/Or upgrade from previous ImageGallery)
|
07-01-2012, 03:31 AM | #34 | |
THE NOOB
Posts: 701
Karma: 1545649
Join Date: Jan 2012
Location: Italy
Device: Kindle Touch 5.3.2
|
Quote:
If you want just to uninstall ImageGallery, download this, replace the start.sh file in /extension/imagegallery/bin with the one downloaded and run ImageGallery. It will delete imagegallery from appreg.db. Then, just remove imagegallery folder in extensions |
|
07-01-2012, 08:35 AM | #35 |
THE NOOB
Posts: 701
Karma: 1545649
Join Date: Jan 2012
Location: Italy
Device: Kindle Touch 5.3.2
|
I'm still working on the rename script to make it "universal"....
I'm using this command: Code:
image="hello" echo "$image" | grep -q "h" Code:
0 One or more matches found. 1 No match found. 2 Syntax error or inaccessible file It works on cygwin, but not in Kindle... $? contains the exit status in busybox? |
Advert | |
|
07-01-2012, 09:27 AM | #36 |
Evangelist
Posts: 404
Karma: 2200000
Join Date: May 2012
Device: kt
|
Statuses are returned correctly on my K5:
Code:
[root@kindle test]# image="hello"; echo "$image" | grep -q "x"; echo $? 1 [root@kindle test]# image="hello"; echo "$image" | grep -q "h"; echo $? 0 |
07-01-2012, 09:28 AM | #37 |
Going Viral
Posts: 17,212
Karma: 18210809
Join Date: Feb 2012
Location: Central Texas
Device: No K1, PW2, KV, KOA
|
The $? exit status variable will (**should**) work in busybox.
If using the busybox implementation of grep, that might work differently. If you where running a Linux system (even a LiveCD one) you could get a busybox command shell by: /bin/busybox ash I don't have a clue if that will work under Cygwin, I never use Cygwin. |
07-01-2012, 09:34 AM | #38 | |
THE NOOB
Posts: 701
Karma: 1545649
Join Date: Jan 2012
Location: Italy
Device: Kindle Touch 5.3.2
|
Quote:
But, using this (to check for spaces in variable image): Code:
echo "$image" | grep -q " " if [[ $? -eq 0 ]] then I managed to solve using this: Code:
check=$(echo "$image" | grep " ") if [[ -n "$check" ]] then |
|
07-01-2012, 09:40 AM | #39 |
Junior Member
Posts: 1
Karma: 10
Join Date: Jun 2012
Device: kindle 4 nt
|
hi, it can install on kindle nt too?
|
07-01-2012, 09:41 AM | #40 |
Going Viral
Posts: 17,212
Karma: 18210809
Join Date: Feb 2012
Location: Central Texas
Device: No K1, PW2, KV, KOA
|
That should be storing the matching line in $check.
Probably what you wanted done anyway. |
07-01-2012, 09:52 AM | #41 | |
THE NOOB
Posts: 701
Karma: 1545649
Join Date: Jan 2012
Location: Italy
Device: Kindle Touch 5.3.2
|
Mmmm, I don't think so..It should work on the Touch only!
Quote:
It's just a way of checking it $image contains a space... |
|
07-01-2012, 09:59 AM | #42 | |
Going Viral
Posts: 17,212
Karma: 18210809
Join Date: Feb 2012
Location: Central Texas
Device: No K1, PW2, KV, KOA
|
Quote:
You will have to change the IFS (Input Field Separator) to do anything with the stored contents (or to even pass the $check as a function argument or use it in an assignment statement). Since the "space" character is one of the default input field separators. |
|
07-01-2012, 10:11 AM | #43 |
Evangelist
Posts: 404
Karma: 2200000
Join Date: May 2012
Device: kt
|
Strange. Your code works for me:
Code:
#!/bin/sh image="test test"; echo "$image" | grep -q " "; if [[ $? -eq 0 ]] then echo "found"; fi Code:
#!/bin/sh image="test test"; case $image in *' '*) echo "found space" ;; *) echo "not found" ;; esac |
07-01-2012, 10:23 AM | #44 |
THE NOOB
Posts: 701
Karma: 1545649
Join Date: Jan 2012
Location: Italy
Device: Kindle Touch 5.3.2
|
Strangely, the script works...and it contains exactly what I wrote...
Anyway, the second solution works so I'll stick with it by now! As regards IFS, I always pass variables with "" around it...until now, no problems! |
07-01-2012, 12:29 PM | #45 |
Enthusiast
Posts: 26
Karma: 5768
Join Date: Jun 2012
Device: Kindle Touch
|
After jailbreaking my Kindle Touch I installed Komik, as the navtive Kindle support for comics / manga is not satisfying.
Sadly I was disappointed with Komik as it is also lacking in quite some features, though it has much potential. Here are the things that I find most disturbing / annoying: • I usually have multiple mangas with each some 100+ chapters. Although structured in (sub-)folders, why are all the single chapters displayed on the same level? Why not rather have a file browser of some sort with subfolders? • If I have finished chapter 99 and want to continue with 100, I every time have to scroll down aaaall the way to the bottom. It would be better if you just could go back to where you selected the previous chapter aka file to read. • Why is there no way to hide the status bar at the top and have full screen reading? • I wish we could just read manga without having to prepare them every time in advance. This applies to renaming with Komik. If there is a script to rename all the randomly named files, why can’t Komik process them in the first place? • Why does the welcome window show up on every start rather than just on the first time? Sorry for all the nagging! I hope you do not take this as critisism rather than as a “wish list” of what Komik should be. I believe that it really can become the best way to read manga on the Kindle, giving it a little more polishing. |
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 |