![]() |
#1 |
Addicted to Porting
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 1,697
Karma: 7194
Join Date: Oct 2006
Location: Indianapolis, IN
Device: iRex iLiad, Nokia 770, Samsung i760
|
GTKSudoku Application Release
![]() This is definitely a cool application if you do Sudoku. You can generate new puzzles, or use some that have already been created. It has buttons to check if you have any errors, and also to solve the puzzle for you. I can create regular 9x9 puzzles, and also the crazy large 16x16. It does take a little while to generate the 16x16 board and puzzle, so have patience the first time you select that. To install: Unzip Sudoku.zip to the root of your SD card. For example, if your SD card shows up as the E:\ drive on your computer, you should have an E:\Programs folder after you unzip it. After installing, you'll be able to select the Sudoku icon from the Documents/Programs folder on your device. From there you can press new for a new puzzle, or open to open an existing. Note: the keyboard is off in the screenshot because it's running in the emulator. On the DR, the full keyboard is visible. I did modify the sources a bit from the original program, so I've attached those as well. |
![]() |
![]() |
![]() |
#2 |
Grumpy Old Man
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 267
Karma: 30194
Join Date: Jul 2006
Location: L.A., Euro ex-pat
Device: Kobo, Nook Classic,Color,ST/Glow, iRex DR1000, Sony 505, REB1100&1200
|
Works, no problem. Not much good at Sudoku myself
![]() |
![]() |
![]() |
Advert | |
|
![]() |
#3 |
Addicted to Porting
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 1,697
Karma: 7194
Join Date: Oct 2006
Location: Indianapolis, IN
Device: iRex iLiad, Nokia 770, Samsung i760
|
Yeah it is. I still haven't found a way to setup custom icons. I suspect that's a feature iRex will have to add.
|
![]() |
![]() |
![]() |
#4 | |
Grumpy Old Man
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 267
Karma: 30194
Join Date: Jul 2006
Location: L.A., Euro ex-pat
Device: Kobo, Nook Classic,Color,ST/Glow, iRex DR1000, Sony 505, REB1100&1200
|
Quote:
On the upshot, it may be possible to decode that part of the metadata.db (as the scribble part already has) and write a (python) script to generate a metadata.db as a starting point. |
|
![]() |
![]() |
![]() |
#5 |
Baby eBookworm
![]() Posts: 16
Karma: 10
Join Date: Oct 2008
Location: Vancouver!
Device: iRex DR1000S
|
I'm still waiting for my DR to be shipped, but I was hoping that some kind soul would port this! THANK YOU SO MUCH!
|
![]() |
![]() |
Advert | |
|
![]() |
#6 | |
Groupie
![]() ![]() ![]() ![]() ![]() ![]() Posts: 199
Karma: 666
Join Date: Oct 2006
Location: Eindhoven, the Netherlands
Device: iLiad, DR1000S, DR800SG
|
Quote:
add_icons_to_database.sh Code:
#!/bin/sh set -e # exit on error die() { echo "--- $*" exit 1 } if [ $# -le 1 ] then die "Must specify database as first parameter." fi database="$1" shift if [ $# -le 1 ] then die "Must specify sort_priority as second parameter." fi sort_prio="$1" shift for file in $* do filename="$file" file_type="${file##*.}" file_size=`stat -c '%s' $filename` file_time=`stat -c '%Y' $filename` sqlite3 "$database" "insert into file_metadata (filename, file_type, file_size, file_last_modified, sort_priority, is_directory) values ('$file', '$file_type', $file_size, $file_time, $sort_prio, 0);" sort_prio=`expr $sort_prio - 1` file_id=`sqlite3 "$database" "select file_id from file_metadata where filename='$filename';"` sqlite3 "$database" "insert into thumbnails (file_id) values ($file_id);" for size in mini small medium large do bitmap_file=`basename "$filename" ".$file_type"` bitmap_file="icon-${bitmap_file}-${size}.png" if [ -f "$bitmap_file" ] then column="thumb_data_$size" hexdump=`hexdump -v -e '/1 "%02x"' "$bitmap_file"` # hexdump=`od --output-duplicates --format=x1 --width=4 "$bitmap_file" | awk '{ printf("%s%s%s%s", $2, $3, $4, $5) }'` sqlite3 "$database" "update thumbnails set $column = x'$hexdump' where file_id = $file_id;" fi done done On topic: nice app, now move the top icons into the Popup Menu and we can ship it in the standard software ![]() Last edited by Matthijs; 11-07-2008 at 02:49 AM. |
|
![]() |
![]() |
![]() |
#7 |
Gadget fan
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 147
Karma: 3968
Join Date: Sep 2006
Location: London
Device: RM Tablet PC, iLiad, PRS 505, iPod Touch
|
Is it full-screen?
![]() |
![]() |
![]() |
![]() |
#8 |
Enthusiast
![]() Posts: 30
Karma: 62
Join Date: Dec 2007
Location: Spain
Device: Cybook Gen 3, DR1000S
|
Thanks
![]() |
![]() |
![]() |
![]() |
#9 |
Addicted to Porting
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 1,697
Karma: 7194
Join Date: Oct 2006
Location: Indianapolis, IN
Device: iRex iLiad, Nokia 770, Samsung i760
|
|
![]() |
![]() |
![]() |
#10 |
ex-IRX developer
![]() ![]() ![]() Posts: 158
Karma: 224
Join Date: Oct 2008
Device: Irex DR800S, DR1000S, iLiad
|
The application uses the package name (hello-world) for its ipc service but a hyphen is not allowed in the dbus namespace. Try to change the package name or DBUS_APPL_NAME define in ipc.c. Now the popup menu should be filled with items.
|
![]() |
![]() |
![]() |
#11 | |
Addicted to Porting
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 1,697
Karma: 7194
Join Date: Oct 2006
Location: Indianapolis, IN
Device: iRex iLiad, Nokia 770, Samsung i760
|
Quote:
![]() ![]() ![]() ![]() That did it! Now it looks like I have some work to do. ![]() Thanks! |
|
![]() |
![]() |
![]() |
#12 |
Karmaniac
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 2,553
Karma: 11499146
Join Date: Oct 2008
Location: Miami FL
Device: PRS-505, Jetbook, + Mini, +Color, Astak Ez Reader Pro, PPW1, Aura H2O
|
WOW!
I would LOVE to have that on my Sony PRS-505 ![]() Still wonderful that a game like this is available for the Iliad! |
![]() |
![]() |
![]() |
#13 |
Grand Sorcerer
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 11,470
Karma: 13095790
Join Date: Aug 2007
Location: Grass Valley, CA
Device: EB 1150, EZ Reader, Literati, iPad 2 & Air 2, iPhone 7
|
|
![]() |
![]() |
![]() |
#14 | |
Connoisseur
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 65
Karma: 1695
Join Date: Oct 2006
|
Quote:
http://www.msh-tools.com/ebook/sudoku.html |
|
![]() |
![]() |
![]() |
#15 |
Karmaniac
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 2,553
Karma: 11499146
Join Date: Oct 2008
Location: Miami FL
Device: PRS-505, Jetbook, + Mini, +Color, Astak Ez Reader Pro, PPW1, Aura H2O
|
Thanks for the link!
I'll test it out one of these days! |
![]() |
![]() |
![]() |
|
![]() |
||||
Thread | Thread Starter | Forum | Replies | Last Post |
iSilo-like application | Francesco | Workshop | 0 | 12-15-2009 11:11 PM |
Kindle PC Application? | sirmaru | Amazon Kindle | 1 | 10-24-2009 10:19 AM |
Lead time for Kindle book release ahead of print release date - experiences? | Buran | Amazon Kindle | 6 | 05-04-2009 02:29 PM |
iLiad Application switcher | Bunter | iRex Developer's Corner | 2 | 08-10-2007 09:12 AM |
Good IM application? | Addy81 | Lounge | 0 | 12-12-2005 04:17 AM |