![]() |
#151 |
2B || !2B
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 854
Karma: 327896
Join Date: Feb 2010
Location: Austria
Device: Sony PRS505/650/T1/tolino vision 5
|
![]() So the whole thing was/is operational at least. ![]() The lockup of the touch-interface was foreseeable. But the big question now is which on of the changes between sudoku_cklick.zip and the actual version is preventing proper operation with touch-devices? As the code is fully operational with my PRS-505. At first we should have a look on:
Last edited by Mark Nord; 02-12-2011 at 02:32 PM. Reason: typos |
![]() |
![]() |
![]() |
#152 |
Junior Member
![]() Posts: 5
Karma: 55
Join Date: Feb 2010
Location: Kansas - USA
Device: Sony PRS-600
|
I was experimenting, and copied the sudoku.xml file from the Sudoku_Click version and the menus started working. The coordinates were off, but everything seemed to work.
I copied parts of the newer file and had it completely working, but then overwrote my working xml file and now I can't get it back working again. I will continue to try to narrow down what was changed when I had it completely working, but the menus do work with the older xml file. Howard |
![]() |
![]() |
![]() |
#153 |
2B || !2B
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 854
Karma: 327896
Join Date: Feb 2010
Location: Austria
Device: Sony PRS505/650/T1/tolino vision 5
|
Interesting news.
This now points to a wronge/missing style or skin definition in the .XML, which will be taken form the desktop-definitions within the Sim. But why is working at a PRS-505? [EDIT] Just rechecked, and yes I am using the latest code at my PRS-505 Used a file-compare-utillity and couldn't figure out a obvious error. Only candidate I can see is the panel id="cnum" [/EDIT] ![]() Last edited by Mark Nord; 02-13-2011 at 05:15 AM. Reason: rechecked the code |
![]() |
![]() |
![]() |
#154 |
PRS+ author
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 1,637
Karma: 2446233
Join Date: Dec 2007
Device: Sony PRS-300, 505, 600, 650, 950
|
Mark, the version of Calculator currently in repository (should be about 3 month old) is working on 600 (didn't remember about it and didn't try it on x50). But I remember neither which version it was, nor if I've changed anything in it. (silly me
![]() |
![]() |
![]() |
![]() |
#155 | |
2B || !2B
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 854
Karma: 327896
Join Date: Feb 2010
Location: Austria
Device: Sony PRS505/650/T1/tolino vision 5
|
Kartu, we discussed it from post #42 on.
There was a problem with the offset while calculating the correct button-action and a problem with popen openp function-name missmatch. I've implemented this in the version included in the actual Sim-package plus the following: Quote:
Last edited by Mark Nord; 02-14-2011 at 02:25 PM. |
|
![]() |
![]() |
![]() |
#156 |
Junior Member
![]() Posts: 5
Karma: 55
Join Date: Feb 2010
Location: Kansas - USA
Device: Sony PRS-600
|
I got Sudoku working on the PRS-600 today. It turned out to be the gridCursor lines in the Sudoku.xml file.
Using the files from the Sudoku_Fix.rar file, I added the gridCursor lines back from the Sudoku_Click files. There were three changes: 1 - <cutout id="gCursor" x="0" y="80" width="44" height="44"/> 2 - <skin id="gridCursor" cutouts="gCursor"/> 3 - <sprite skin="gridCursor" id="gridCursor" left="81" width="44" top="195" height="44" u="0" active="false" canFocus="true"/> This made the menus work properly. I don't have a PRS-505 to test with, so I don't know if this breaks it for the 505. I have attached the Sudoku.xml file I am using. Howard Last edited by hcripe; 02-13-2011 at 05:16 PM. |
![]() |
![]() |
![]() |
#157 |
Junior Member
![]() Posts: 5
Karma: 55
Join Date: Feb 2010
Location: Kansas - USA
Device: Sony PRS-600
|
One more beginner question. I have seen references in this thread to a simulator for the PRS-505 and PRS-600. Where do I go to find the simulator for Windows and is it hard to get running? I have very little JavaScript experience (mostly assembler, C, C++ and C#), and I'm just starting to learn to program the Sony devices.
Any help would be greatly appreciated. Thanks, Howard |
![]() |
![]() |
![]() |
#159 | ||
2B || !2B
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 854
Karma: 327896
Join Date: Feb 2010
Location: Austria
Device: Sony PRS505/650/T1/tolino vision 5
|
Quote:
![]() I have this lines removed, because the sprite isn't used any longer, BUT each <group> needs at least one (1) focusable sprite to process events. Seams that for the non-touch setup there is one, while for the touch version it was missing. (I tought that one of the "gridsprites" will act accordingly) Quote:
Just unpack the ZIP in any folder you like and start "FSK Starter.exe" (A vertical screen-resolution of 1024 lines or more is recommended - If missing DLLs are reported copy them from the original Sony Firmware Updater for PRS-505. As the Sim is based on it). I would recommend to read at least Post #1, #6, #24 and #31 in this thread, too. Enjoy developing for your Sony! PS: If your C knowledge suits embeded Linuxes, there are challenges for a JS to binary gateway, as well as integrating a stardict-compatible dictonary for all Sony - PRS. Last edited by Mark Nord; 02-14-2011 at 03:08 AM. |
||
![]() |
![]() |
![]() |
#160 |
PRS+ author
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 1,637
Karma: 2446233
Join Date: Dec 2007
Device: Sony PRS-300, 505, 600, 650, 950
|
Guys, in a couple of days I'll return to including these apps into x50 (and other) versions, so sharpen your knifes.
![]() |
![]() |
![]() |
![]() |
#161 |
EPUB Metadata ******
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 525
Karma: 26874
Join Date: Dec 2010
Device: Kobo Glo HD
|
That's excellent news! Let me know if there is anything you need from me. Specifically, with respect to Fiveballs, Mahjong, Five In A Row, Freecell and Chess.
Sincerely, Ben. |
![]() |
![]() |
![]() |
#162 | |
PRS+ author
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 1,637
Karma: 2446233
Join Date: Dec 2007
Device: Sony PRS-300, 505, 600, 650, 950
|
Quote:
![]() |
|
![]() |
![]() |
![]() |
#163 | |
2B || !2B
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 854
Karma: 327896
Join Date: Feb 2010
Location: Austria
Device: Sony PRS505/650/T1/tolino vision 5
|
Quote:
![]() Unfortunately I will be on a business-trip and will have no internet-access from Wednesday 17th till Monday 21st. Last edited by Mark Nord; 02-14-2011 at 02:07 PM. Reason: typos (as usual) |
|
![]() |
![]() |
![]() |
#164 | |
EPUB Metadata ******
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 525
Karma: 26874
Join Date: Dec 2010
Device: Kobo Glo HD
|
Quote:
Sincerely, Ben. |
|
![]() |
![]() |
![]() |
#165 |
Junior Member
![]() Posts: 5
Karma: 55
Join Date: Feb 2010
Location: Kansas - USA
Device: Sony PRS-600
|
I made one other change to Sudoku for the touch devices. When the game ends, the "Congratulations" screen has a background that prevents the menus from being seen. The only way I could find to exit the program was to click around where the menus should be to try to bring up the Exit menu. I changed the code in Sudoku.js to:
if (hasNumericButtons) target.bckGround.show(true); This causes the background to not display for touch devices so that the menus are still visible. If this is ok, I have attached the changed Sudoku package. Howard |
![]() |
![]() |
![]() |
|
![]() |
||||
Thread | Thread Starter | Forum | Replies | Last Post |
Fsk error, code = -13 | Brian Charles | Sony Reader | 4 | 04-23-2010 04:21 PM |
Fsk error code= -43 | shrktank | Sony Reader | 1 | 12-24-2009 09:32 AM |
Just a silly tweak: AUTORUN.INF for Windows | Rootman | Kindle Developer's Corner | 3 | 12-04-2009 10:17 AM |
Request for test in Windows XP | kovidgoyal | Calibre | 5 | 08-26-2009 01:14 PM |
Windows Develpment Environment issue | itimpi | Calibre | 20 | 01-17-2009 07:15 PM |