Register Guidelines E-Books Today's Posts Search

Go Back   MobileRead Forums > E-Book Readers > More E-Book Readers > iRex

Notices

Reply
 
Thread Tools Search this Thread
Old 02-12-2009, 03:31 PM   #16
Mackx
Guru
Mackx is a splendid one to beholdMackx is a splendid one to beholdMackx is a splendid one to beholdMackx is a splendid one to beholdMackx is a splendid one to beholdMackx is a splendid one to beholdMackx is a splendid one to beholdMackx is a splendid one to beholdMackx is a splendid one to beholdMackx is a splendid one to beholdMackx is a splendid one to behold
 
Posts: 999
Karma: 19985
Join Date: Dec 2008
Location: Netherlands
Device: iRex DR1000S
I tried to make the Sudoku app ported by Adam more 'Native' by adding a menu in the popupmenu and to get an icon in the 'task-list' so I would be able to get back to a sudoku after reading some time.

It should mainly be used as an example, since the code is a merge between the original sudoku source (as Adam provided) and the hello-world code from iRex. It contains lots of unused code that I did not yet clean up.

The zip-file contains the original program (Sudoku) and the 'enhanced' version (Sudoku2). The source code contains only the minimal files, you should be able to compile it with the Ajunta-IDE (make sure to enable the Poky-plugin before AutoConfiguring).
The app is 'Deployed' into /usr/bin, so copy it to Programs or run it from there in the emulator.

Hope someone finds the example code usefull for porting his program.
Attached Files
File Type: zip Programs.zip (153.3 KB, 375 views)
File Type: gz sudoku2_sources.tar.gz (60.4 KB, 388 views)
Mackx is offline   Reply With Quote
Old 02-12-2009, 03:55 PM   #17
Adam B.
Addicted to Porting
Adam B. is a jewel in the roughAdam B. is a jewel in the roughAdam B. is a jewel in the roughAdam B. is a jewel in the roughAdam B. is a jewel in the roughAdam B. is a jewel in the roughAdam B. is a jewel in the roughAdam B. is a jewel in the roughAdam B. is a jewel in the roughAdam B. is a jewel in the roughAdam B. is a jewel in the rough
 
Adam B.'s Avatar
 
Posts: 1,697
Karma: 7194
Join Date: Oct 2006
Location: Indianapolis, IN
Device: iRex iLiad, Nokia 770, Samsung i760
Quote:
Originally Posted by Mackx View Post
I tried to make the Sudoku app ported by Adam more 'Native' by adding a menu in the popupmenu and to get an icon in the 'task-list' so I would be able to get back to a sudoku after reading some time.

It should mainly be used as an example, since the code is a merge between the original sudoku source (as Adam provided) and the hello-world code from iRex. It contains lots of unused code that I did not yet clean up.

The zip-file contains the original program (Sudoku) and the 'enhanced' version (Sudoku2). The source code contains only the minimal files, you should be able to compile it with the Ajunta-IDE (make sure to enable the Poky-plugin before AutoConfiguring).
The app is 'Deployed' into /usr/bin, so copy it to Programs or run it from there in the emulator.

Hope someone finds the example code usefull for porting his program.
Brilliant! I attempted to do this, but never got it working quite right. I'll have to dig through this when I have a chance.

Adam B. is offline   Reply With Quote
Old 02-12-2009, 11:21 PM   #18
ProDigit
Karmaniac
ProDigit ought to be getting tired of karma fortunes by now.ProDigit ought to be getting tired of karma fortunes by now.ProDigit ought to be getting tired of karma fortunes by now.ProDigit ought to be getting tired of karma fortunes by now.ProDigit ought to be getting tired of karma fortunes by now.ProDigit ought to be getting tired of karma fortunes by now.ProDigit ought to be getting tired of karma fortunes by now.ProDigit ought to be getting tired of karma fortunes by now.ProDigit ought to be getting tired of karma fortunes by now.ProDigit ought to be getting tired of karma fortunes by now.ProDigit ought to be getting tired of karma fortunes by now.
 
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
I tried the sudoku game a while ago, but forgot to give feedback here.
Is this the sudoku for SD cards?
The only hard thing I found for the Sony PRS-505 that there was no way to exit the sudoku game, apart from removing the card.
or,at least, I couldn't read books and pop in the SD card,without having the Sudoku screen pop up.
Like,sometimes I just want to read a book stored on the card...
ProDigit is offline   Reply With Quote
Old 02-13-2009, 12:55 AM   #19
allovertheglobe
Grumpy Old Man
allovertheglobe can even cheer up an android equipped with a defective Genuine Personality Prototype.allovertheglobe can even cheer up an android equipped with a defective Genuine Personality Prototype.allovertheglobe can even cheer up an android equipped with a defective Genuine Personality Prototype.allovertheglobe can even cheer up an android equipped with a defective Genuine Personality Prototype.allovertheglobe can even cheer up an android equipped with a defective Genuine Personality Prototype.allovertheglobe can even cheer up an android equipped with a defective Genuine Personality Prototype.allovertheglobe can even cheer up an android equipped with a defective Genuine Personality Prototype.allovertheglobe can even cheer up an android equipped with a defective Genuine Personality Prototype.allovertheglobe can even cheer up an android equipped with a defective Genuine Personality Prototype.allovertheglobe can even cheer up an android equipped with a defective Genuine Personality Prototype.allovertheglobe can even cheer up an android equipped with a defective Genuine Personality Prototype.
 
allovertheglobe's Avatar
 
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:
Originally Posted by ProDigit View Post
I tried the sudoku game a while ago, but forgot to give feedback here.
Is this the sudoku for SD cards?
The only hard thing I found for the Sony PRS-505 that there was no way to exit the sudoku game, apart from removing the card.
or,at least, I couldn't read books and pop in the SD card,without having the Sudoku screen pop up.
Like,sometimes I just want to read a book stored on the card...
It's on the SD card like all current add-ons, but things work quite differently on the DR1000 compared to the Sony PRS505. No application starts automatically unless it is designed that way, and this hasn't happened so far. This Sudoku version certainly doesn't based on my experience.

Keep in mind that the development of these apps is done using the official SDK with the blessing of iRex who released almost all the sources. Unlike Sony who doesn't support any development and all current modifications are "hacks" (as well as they may work), at least the last time I checked. Personally, I only use my PRS505 only for reading and have given up on 3rd party stuff a long time ago.

Last edited by allovertheglobe; 02-14-2009 at 02:31 PM. Reason: Typos
allovertheglobe is offline   Reply With Quote
Old 02-13-2009, 12:58 AM   #20
allovertheglobe
Grumpy Old Man
allovertheglobe can even cheer up an android equipped with a defective Genuine Personality Prototype.allovertheglobe can even cheer up an android equipped with a defective Genuine Personality Prototype.allovertheglobe can even cheer up an android equipped with a defective Genuine Personality Prototype.allovertheglobe can even cheer up an android equipped with a defective Genuine Personality Prototype.allovertheglobe can even cheer up an android equipped with a defective Genuine Personality Prototype.allovertheglobe can even cheer up an android equipped with a defective Genuine Personality Prototype.allovertheglobe can even cheer up an android equipped with a defective Genuine Personality Prototype.allovertheglobe can even cheer up an android equipped with a defective Genuine Personality Prototype.allovertheglobe can even cheer up an android equipped with a defective Genuine Personality Prototype.allovertheglobe can even cheer up an android equipped with a defective Genuine Personality Prototype.allovertheglobe can even cheer up an android equipped with a defective Genuine Personality Prototype.
 
allovertheglobe's Avatar
 
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
Played around with the version 2, nice! A big step towards better integration with the DR1000 interface.

I noticed that it has its own empty toolbar, and you can drag the icons over, but they do not appear (the slot remains black).

However when you click on them, they actually work as intended... one little bug to sort out. It's kinda hard to remember which slot does what when they are all black
allovertheglobe is offline   Reply With Quote
Old 02-13-2009, 01:44 AM   #21
Mackx
Guru
Mackx is a splendid one to beholdMackx is a splendid one to beholdMackx is a splendid one to beholdMackx is a splendid one to beholdMackx is a splendid one to beholdMackx is a splendid one to beholdMackx is a splendid one to beholdMackx is a splendid one to beholdMackx is a splendid one to beholdMackx is a splendid one to beholdMackx is a splendid one to behold
 
Posts: 999
Karma: 19985
Join Date: Dec 2008
Location: Netherlands
Device: iRex DR1000S
Quote:
Originally Posted by allovertheglobe View Post
I noticed that it has its own empty toolbar, and you can drag the icons over, but they do not appear (the slot remains black).

However when you click on them, they actually work as intended... one little bug to sort out. It's kinda hard to remember which slot does what when they are all black
I also noticed that the icons did not appear, but didn't notice that they still worked. I will try to figure out how this works. Thanks.
Mackx is offline   Reply With Quote
Old 02-13-2009, 02:00 AM   #22
Mackx
Guru
Mackx is a splendid one to beholdMackx is a splendid one to beholdMackx is a splendid one to beholdMackx is a splendid one to beholdMackx is a splendid one to beholdMackx is a splendid one to beholdMackx is a splendid one to beholdMackx is a splendid one to beholdMackx is a splendid one to beholdMackx is a splendid one to beholdMackx is a splendid one to behold
 
Posts: 999
Karma: 19985
Join Date: Dec 2008
Location: Netherlands
Device: iRex DR1000S
Quote:
Originally Posted by Adam B. View Post
Brilliant! I attempted to do this, but never got it working quite right. I'll have to dig through this when I have a chance.
Thanks,
Its not that difficult, the hello-world example is self explaining. Your VMWare development environment also helped to get this done quickly, thanks for that!

Last edited by Mackx; 02-13-2009 at 02:01 AM. Reason: typo
Mackx is offline   Reply With Quote
Old 02-13-2009, 02:30 AM   #23
Mackx
Guru
Mackx is a splendid one to beholdMackx is a splendid one to beholdMackx is a splendid one to beholdMackx is a splendid one to beholdMackx is a splendid one to beholdMackx is a splendid one to beholdMackx is a splendid one to beholdMackx is a splendid one to beholdMackx is a splendid one to beholdMackx is a splendid one to beholdMackx is a splendid one to behold
 
Posts: 999
Karma: 19985
Join Date: Dec 2008
Location: Netherlands
Device: iRex DR1000S
Quote:
Originally Posted by Mackx View Post
I also noticed that the icons did not appear, but didn't notice that they still worked. I will try to figure out how this works. Thanks.
Mmmm, I notice in the popupmenu/src/toolstore.c that the code puts "toolbar_" in front of the path to the icon. Since I use a full-path, this will not work....

I saw Adam made a patch to the ctb somewhere so I should be able to figure out how to update 'system-components', if I find some time I could make a patch.

Or anyone else?
Mackx is offline   Reply With Quote
Old 02-14-2009, 11:08 AM   #24
ProDigit
Karmaniac
ProDigit ought to be getting tired of karma fortunes by now.ProDigit ought to be getting tired of karma fortunes by now.ProDigit ought to be getting tired of karma fortunes by now.ProDigit ought to be getting tired of karma fortunes by now.ProDigit ought to be getting tired of karma fortunes by now.ProDigit ought to be getting tired of karma fortunes by now.ProDigit ought to be getting tired of karma fortunes by now.ProDigit ought to be getting tired of karma fortunes by now.ProDigit ought to be getting tired of karma fortunes by now.ProDigit ought to be getting tired of karma fortunes by now.ProDigit ought to be getting tired of karma fortunes by now.
 
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
Quote:
Originally Posted by allovertheglobe View Post
No application starts automatically unless it is designed that way, and this hasn't happened so far.
Then I must be mistaken.
I played a sudoku that auto-booted upon inserting the SD card.
ProDigit is offline   Reply With Quote
Old 02-14-2009, 02:30 PM   #25
allovertheglobe
Grumpy Old Man
allovertheglobe can even cheer up an android equipped with a defective Genuine Personality Prototype.allovertheglobe can even cheer up an android equipped with a defective Genuine Personality Prototype.allovertheglobe can even cheer up an android equipped with a defective Genuine Personality Prototype.allovertheglobe can even cheer up an android equipped with a defective Genuine Personality Prototype.allovertheglobe can even cheer up an android equipped with a defective Genuine Personality Prototype.allovertheglobe can even cheer up an android equipped with a defective Genuine Personality Prototype.allovertheglobe can even cheer up an android equipped with a defective Genuine Personality Prototype.allovertheglobe can even cheer up an android equipped with a defective Genuine Personality Prototype.allovertheglobe can even cheer up an android equipped with a defective Genuine Personality Prototype.allovertheglobe can even cheer up an android equipped with a defective Genuine Personality Prototype.allovertheglobe can even cheer up an android equipped with a defective Genuine Personality Prototype.
 
allovertheglobe's Avatar
 
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:
Originally Posted by ProDigit View Post
Then I must be mistaken.
I played a sudoku that auto-booted upon inserting the SD card.
On the iRex DR1000S?
allovertheglobe is offline   Reply With Quote
Old 02-16-2009, 01:24 PM   #26
ProDigit
Karmaniac
ProDigit ought to be getting tired of karma fortunes by now.ProDigit ought to be getting tired of karma fortunes by now.ProDigit ought to be getting tired of karma fortunes by now.ProDigit ought to be getting tired of karma fortunes by now.ProDigit ought to be getting tired of karma fortunes by now.ProDigit ought to be getting tired of karma fortunes by now.ProDigit ought to be getting tired of karma fortunes by now.ProDigit ought to be getting tired of karma fortunes by now.ProDigit ought to be getting tired of karma fortunes by now.ProDigit ought to be getting tired of karma fortunes by now.ProDigit ought to be getting tired of karma fortunes by now.
 
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
PRS-505
ProDigit is offline   Reply With Quote
Reply


Forum Jump

Similar Threads
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


All times are GMT -4. The time now is 01:50 PM.


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