[Game] Cribbage - Windows Mobile Apps and Games

Major update posted today:
All paint routines re-done, nice felt graphic background (stolen from win7)
Help re-done, includes Menu, Help, Context to give help based on game play
Added Win7 card backs and faces, removed a couple of old winmo card backs
Using Win7 and Xp's card faces, instead of pegcards
Card size and text size better fits screen space (drag to size on PC).
Versions for WM2003, WM5, and WM6.5.3 included.
PC Versions for Win32 and Win64 included (msi in zip file)
New Cards SDK (soon to be) added to post number 6, includes new functions (see cards.h)
/*************/
A very long time ago I wrote a One person Crib game for Windows PC. I never really released it into the wild, but did pass it on to many people I knew (attached here as a zipped CribSetup.MSI file).
I decided to convert that code over to Windows mobile.
The first stumbling block was that windows mobile is missing the famous "cards(32).dll" file that I depended on to display the cards on the PC version. However the standard shell comes with a resource dll "pegcards.dll" that contains the card images, and may contain a higher resolution one as well (pegcards.192.dll, for example). So all I needed to do was emulate the cards.dll functions and use the pegcards images to get it to fly.
The attached WMCrib.exe (zipped) is the beta build of that game.
The attached CAB is an installer, that includes shortcuts and help file/link.
Post number 6, has the Cards32.dll for developers
- The PC version uses a right click to do many things, Tap the stock pile on the Mobile version to do the same functions ("Go", "Done"...).
- The existing application searches for pegcards.196.dll, Pegcards.128.dll, pegcards.96.dll and then pegcards.dll in that order, so chooses the highest resolution images available. I noticed that there are different card backs in each set I have here.
This is a beta build, I have tested it on my phone (and run it on my PC for many years), but you may have issues with your device, use at your own risk
Have Fun!

Maybe some screenshots ?

A picture is worth a thousand words
Screens (wvga: OmniaII)

Edited the first post, added a cab file with installer, links, and help files.

looks nice

Cards32.dll for developers
If you wish to include the standard cards32 functions plus a new extra functions, in your program, include cards.h in your project, and link with the correct cardsxx.lib.
On WinMo move the dll into the devices windows folder.
On PC, save the dll into the application's folder, or to the windows folder.
WATCH OUT that on XP or older there is an existing "Cards32.dll" in the windows folder. Mine should be fine to replace it, but I have not tested this on XP with original card based applications (Hearts, Solitare...). It should allow the "new" cards to be used on thse older XP card games (even when used on non-XP machines). You could even copy cards32.dll into the windows folder on 64 bit machines so that the XP card games will play on Win7 (or Vista)
The header file is well documented.
Cards32.dll for 32 bit desktop use
Cards64.dll for 64 bit desktop use
CardsWinMo2003 for older ARM machines, any ARM code machine will be fine.
CardsWinMo5, and Cards WinMo653 (should be identical , for any ARM THUMB machine

Can you add an option for us to add our own scores with a penalty of overcounting or under counting to go to the opponent?

Excellent game...thanks...

thex said:
Can you add an option for us to add our own scores with a penalty of overcounting or under counting to go to the opponent?
Click to expand...
Click to collapse
It could be done, and it would add another level of difficulty to the game. I'll look into it.

thex said:
Can you add an option for us to add our own scores with a penalty of overcounting or under counting to go to the opponent?
Click to expand...
Click to collapse
A question to the order of adding the penalty points. If you enter a tally too small (or large), do you score your tally (or the correct tally), and THEN the computer gets your error points? Could affect the winner near the end of the game. Is this order dependant on who is counting first?

only score your actual points and the opponent gets the error points.
The opponent should score the error points first - just in case of a win.

I can't get the users hand and crib, the starter, boxes for your tallys, and the SIP on the screen at the same time without the cards getting so small they can't be seen, especially in landscape mode. So I give up on the ability to enter your tally's

what language are you writing this in? I use vb.net and I might be able to help. I wrote tripYzee.
Maybe just a popup box when it comes time to tally your score. Once entered, the popup would go away.

thex said:
what language are you writing this in? I use vb.net and I might be able to help. I wrote tripYzee.
Maybe just a popup box when it comes time to tally your score. Once entered, the popup would go away.
Click to expand...
Click to collapse
Cool, I love that game Thank You!!! I played it for a long time before I noticed that the second hand is double score, and the third hand is triple score. I always used to fill in the first hand first, then zero'ed the third hand (and second) hand on the misses
I write in pure old fashioned (native) "C" code.
I can do the popup with the edit controls easy enough, or for that matter place the edit controls directly on the main screen, the problem is with the sip up, and (QVGA) landscape, there is not enough room to see the cards and the edit boxes at the same time. I don't have the numbers in front of me just now, but in testing earlier, I ended up with a very small card size, and I could not even tell the suit let alone the rank.
I could make you tally your hand (and crib), remember them, tap the stock pile, enter your tally(s), tap OK, and then penalize you for making mistakes. But I thought that making you remember your tally(s) was a bit unfair (since you would no longer be able to see the cards).
In a moment I'll post the lastest version on the first post. It sizes the text, gaps and cards a bit better than the original version. Try it in landscape with the sip up, you'll see what I'm talking about.
The existing code resizes the cards, gaps, and text to best fit the client area of the main window (leaving the menu, and 'status' visible), for any possible screen size. This makes it "just work nice" for any OS (2003, 5.x, 6.x, 6.5.x) and resolution (QVGA, VGA, WVGA), in either portrait or landscape. I'd rather not dismiss this feature.
For you to help (to my way of thinking anyway): Design a screen, QVGA (96 dpi) landscape, SIP up, that shows two four card hands, plus the starter, two edit boxes big enough for two digit numbers, and some sort of "OK" button (even in the menu area). Then make sure the same layout will size itself to QVGA portrait, then do the test with the 128 and 192 dpi images and xVGA screen sizes. I'd accept two layouts (portrait and landscape), but not more than two.

Beta 0.3 added to first post.
CRAP!, I just tried it again on my actual device instead of the simulators and have VERY small text, sorry folks, my mistake.
Quick fix v0.3 posted...

Instead of using the SIP - why not just create 0-9 number buttons along the bottom of the screen? I just want to be able to enter the total value for my hand, then the value for the crib.
After the round, a message pops up asking the user to enter the value for the hand, then the value for the crib (if it is their crib.)
Let the game auto score during play, I just want to count my hand/crib scores, not the round score.
Downloading new version now!

thex said:
Instead of using the SIP - why not just create 0-9 number buttons along the bottom of the screen? I just want to be able to enter the total value for my hand, then the value for the crib.
After the round, a message pops up asking the user to enter the value for the hand, then the value for the crib (if it is their crib.)
Let the game auto score during play, I just want to count my hand/crib scores, not the round score.
Downloading new version now!
Click to expand...
Click to collapse
You like this? I only tried it on the QVGA 2003 sim so far....
"=" is enter, You also have to "enter" to show you saw any penalty points.
I don't like the color of the numbers, but I just stole the graphics from the Samsung calculator app.

Awesome! However it doesn't tell me if I made a mistake.
I added screenshots of the game for my WVGA;
Tally.jpeg - Actually had to use my stylus for this! What about scalable text?
HandOver.jpeg - I purposely scored higher in the hand, 20, it showed the correct score when hitting "=" but then only scored 10 for my hand?
CribUnder.jpeg - when I underscored for the crib, it never showed me the correct score
I seem to be nitpicking it now and I apologize. I have waited since 2001 for a cribbage game for the PPC that allowed me to score and penalized when I was wrong and you have delivered! Guess I am just trying to tweak it for a better user experience.

thex said:
Awesome! However it doesn't tell me if I made a mistake.
I added screenshots of the game for my WVGA;
Tally.jpeg - Actually had to use my stylus for this! What about scalable text?
HandOver.jpeg - I purposely scored higher in the hand, 20, it showed the correct score when hitting "=" but then only scored 10 for my hand?
CribUnder.jpeg - when I underscored for the crib, it never showed me the correct score
I seem to be nitpicking it now and I apologize. I have waited since 2001 for a cribbage game for the PPC that allowed me to score and penalized when I was wrong and you have delivered! Guess I am just trying to tweak it for a better user experience.
Click to expand...
Click to collapse
The top line of text should show your tally (and updates as you tap on the keypad) for hand and crib, and the actual score for hand and crib.
After all your hands are counted, if there is a penalty, you need to tap an extra "=" after you have seen the updated info. I'll check it out on my device this morning. Penalty points are added to Computer's "peg" score.
I thought a half card height would be enough for a finger tap, I'll have to test more.
edit:
- I don't have a problem tapping the keypad with my finger, but I made it a bit bigger (using the gap between the starter and the top).
- The top text line seems to be displaying my tally (live as I tap keys) and calculated score fine, I also have the extra tap when I am charged with an error. I also get a beep (or two), then charged with an error.
- I updated the text to: "Hand Tally: xx, Actual: xx, Crib: xx, Actual: xx, Penalty: xx", and removed the crib componants when you don't have a crib to count.
Did you just miss the info on the text line, or is it acting differently for you?

You are correct, it is there. I was always looking in the bottom one where my score is.
The card sizes were perfect! it was the tally numbers that I had to use the stylus.
I never get any beeps..?? Also, when i tally the crib incorrectly - the score disappears really fast so I don't see the error.
Do you think you will be able to save a game in progress when the application is closed??

Related

XdaLive Screen Lock (PRE-PRE BETA OPEN TEST RELEASE)

OK, Here is the deal.
I have created a working XdaLive Screen Lock for the XdaLive Live Wm6.
This is similar to the iphone with a working Sliding Unlocker. Only I put the sliding unlocker on the top and used XdaLive image as the Background & put the Digital Clock and Date at the Bottom as you can see in the Image I attached.
FINAL WORKING LIST:
1. Battery Life
2. NEW SMS Counter
3. Active Tasks
4. New Emails
5. OWNER NAME DISPLAY.
(TODO: A LOT OF THINGS LIKE ADDING MORE FUNCTIONALITY, FIX A LOT OF LITTLE THINGS & NEED TO FIGURE OUT HOW TO READ REGISTRY KEYS with SPACES in BETWEEN ANY HELP? ONE THING IS TO NOT HAVE THE APPLICATION QUIT ON END BUTTON (FIXED!).)
Another thing:
----------------------
Does anyone know how to replace the default Lock with this one? I tried replacing the DeviceLock.exe with this one and it does not work. BSDeviceLock.exe does not exist in WM6 either.
WAS A LITTLE OUT OF IT BECAUSE OF JACK DANIELS. HENCE THE BLACK SLIDER
DUE TO A LOT OF PEOPLE WANTING TO TEST THIS, I DECIDED TO JUST PUT THE FILES IN THE OPEN AS I WORK WITH THEM. LIKE DAILY SNAPSHOP OF THE EXECUTABLES (WHENEVER I WORK ON THEM)
THIS IS A PRE-PRE BETA OPEN TEST RELEASE AND NOT PACKAGED.
UNZIP AND PUT THE FILES IN A FOLDER. THE DLL & THE EXECUTABLE HAVE TO BE IN THE SAME FOLDER
REQUIREMENT: FLASH ACTIVEX (NOT FLASH LITE)
ZIP FILE DESCRIPTIONS:
--------------------------
1. xdaLiveScreenLock.zip (XDA LIVE UNLOCKER)
2. SliderLock.zip (JACK DANIELS BLACK SLIDER)
*****MORE IMPORTANCE WAS GIVEN FOR LOOKS RATHER THAN FUNCTIONALITY WHEN STARTING THIS.****
not responsible for anything that might happen by using this little useless application. There are a lot of small glitches usability wise, else works good. preference was given to aesthetics more than anything else. The size is big due to the sliding component being created in flash.
ADDED A 240X240 SLIDER. THIS HAS NOT BEEN TESTED AS I DO NOT HAVE A 240X240 Device.
.
this looks excellent, good job! I have been wondering about that also, devicelock is signed is it not?
Anyone know of a generic wrapper with basic API calls that I can call from within this Flash Application?
edit: compiled own from source code found, change adopted and compiled.
Hi,
i don't really use the device lock... because when turning the phone in standby all key's are locked and i don't want that the screen is always on...
or is there any other significance about using the device lock??
cyberdrakula said:
NEED TO FIGURE OUT HOW TO READ REGISTRY KEYS with SPACES in BETWEEN ANY HELP
Click to expand...
Click to collapse
don't really know it helps... but just test too but the string in " " like in commandline when using spaces... maybe you can just try to use double bslashes \\windows\\system32\\
this looks awesome. the people on this forum never cease to amaze me. Pure Genius
WOW the progress of this is really good sir, youve managed to implement a few more features since i last looked. This will definatly be in the Extras wiki page once it is fully working
I thought about what you could do in respect to replacing the standard lock, disable the lock in the today settings and map this program to a hardware button (5??) How does it fair after a power off (just standby not fully off) as it would be a good way to check the time etc... in the night?
keep up the good work CD, quite a few people are waiting for something like this.
Heya all gurus, give tha man a little help with issues maybe?
Thanks Ppl.
This is something I have been wanting to do for a while now but just got around to doing it. Hopefully in a couple days I will have everything squared out.
I am wondering if I should let ppl test this out. I will also have changeable backgrounds for this.
.
futureshock said:
Hi,
i don't really use the device lock... because when turning the phone in standby all key's are locked and i don't want that the screen is always on...
or is there any other significance about using the device lock??
don't really know it helps... but just test too but the string in " " like in commandline when using spaces... maybe you can just try to use double bslashes \\windows\\system32\\
Click to expand...
Click to collapse
To read the registry I had to actually use \\\\ to get to different levels. But I am NOT able to read the Value Names with spaces.
.
CCRDude said:
Since not even Sbp Mobile Shell was able to replace the lock screen (and that while they basically have something to show then ready with their new Intro screen), I guess it could get quite complicated to replace it...
Does anyone know if the fake iPhone things that were or were not around are able to replace the lock screen? I especially remember that last one were only videos existed, it had a real good fake, but I'm not sure if the video showed it really in action as a lock screen?
Click to expand...
Click to collapse
I am able to Execute it on "Device Wake" via notifications (thanks KYPHUR for the suggestion.) I also actually was able to replace keylock @ Install time and an installation induced reset. The icon also shows up in the Setting folder.
I am also thinking about doing a Today Plugin. Let's see how that goes.
Looks nice..cant wait till its released..
open Pre-pre Beta Test Release On The First Post.
.
Where to download?
Yeah!!
Would love a slider unlocker as a today plugin. I use the WMP plugin since I use my phone as an mp3 player a lot so the device lock function on the today screen is a must for me.
Great work and look forward (hopefully) to a today plugin.
S.K.
cyberdrakula said:
To read the registry I had to actually use \\\\ to get to different levels. But I am NOT able to read the Value Names with spaces.
.
Click to expand...
Click to collapse
Could you use %20% AND %40% to represent the space and other special characters as they do on other windows products? MS has a list on its knowledge base for these...I think %20% is the space, but not sure
eagle 1 said:
Could you use %20% AND %40% to represent the space and other special characters as they do on other windows products? MS has a list on its knowledge base for these...I think %20% is the space, but not sure
Click to expand...
Click to collapse
yes, in html and such it is, maybe you could use \%20%\ as space , but I am just a webprogrammer, and not a very good one
Looks fantastic, can't wait to see this released, should be a good little utility!
Could you make the slide on the bottom because I have short thumb
cybertron said:
yes, in html and such it is, maybe you could use \%20%\ as space , but I am just a webprogrammer, and not a very good one
Click to expand...
Click to collapse
Actually, in HTTP requests it's %20 w/o the percent sign at the end, and it simply means 0x20, which is hexadecimal 20 or decimal 32, which indeed is a space. I highly doubt that it would be useful in accessing the registry, though.
I don't see why a space doesn't work as just a space when accessing the registry. Perhaps escape it with a backslash (or two)?
Where to download?
Where to download?

[App] Pocket Quotes 1.0

Current version: 1.0
Description: Pocket Quotes allows you to track as many stocks as you want, and to display daily/weekly/yearly charts of a stock.
Source code and CAB installer at: http://pocketquotes.codeplex.com
Last update: 6/4/09
Features:
1. Unlimited number of stocks that can be tracked
2. Can configure interval of updates
3. Can keep comma delimited file of update history
4. Pocket PC and PC versions
5. Open Source, written in Basic4ppc
Version .12
Version .12 has been uploaded to the main post.
Changes:
1. CAB installation
2. Added ability to add/delete stocks
3. Modified screen to show % change
Pocket Quotes great on my Samsung Epix
I've been looking for a stock quote app for my Epix (320x320 screen) for quite a while. Couldn't find a free/inexpensive one that worked on my display.
Thought about trying to program one for myself, but it's been a long time since I've done any "real" programming. Found this app via the forums at basic4ppc and then found the CAB installation here.
I love it! It works great! Thank you for coding and sharing this!
Had a couple of suggestions for possible future enhancements beyond those you had listed above:
Display a progress bar or message when updating stocks.
Allow the user to change the font size for the list of stocks.
Allow the user to optionally turn on/off the display of the detail box and have a longer list of stocks shown.
Allow the user to optionally input a user-friendly name to display in place of the ticker symbol on the main list. e.g. "Ford" instead of just "F".
Allow user to specify the order of the stocks, or keep them in alphabetical order.
Optionally let the user choose to display the list either with alternating colors OR with color coded backgrounds in the list box which indicate postive changes (green), negative changes (red), or no change (gray).
Implement a settings dialog to allow the user to configure any options you implement.
Publicize this app more and provide a way for people to make donations to show their appreciation
As I said, I am very grateful that you built and shared this app. You did a great job making it smart enough to adjust the display to the device on which it is running.
My suggestions are just ways in which you might enhance it to allow your users to customize it more to their liking.
4/25 Update: Found one additional issue. Can't seem to download stock market indices. For example, the Dow Jones Industrial average (symbol "^DJI"). Looks like the "^DJI" is being turned into "%5EDJI" and then not returning any prices.
gibbers said:
I've been looking for a stock quote app for my Epix (320x320 screen) for quite a while. Couldn't find a free/inexpensive one that worked on my display.
Thought about trying to program one for myself, but it's been a long time since I've done any "real" programming. Found this app via the forums at basic4ppc and then found the CAB installation here.
I love it! It works great! Thank you for coding and sharing this!
Had a couple of suggestions for possible future enhancements beyond those you had listed above:
Display a progress bar or message when updating stocks.
Allow the user to change the font size for the list of stocks.
Allow the user to optionally turn on/off the display of the detail box and have a longer list of stocks shown.
Allow the user to optionally input a user-friendly name to display in place of the ticker symbol on the main list. e.g. "Ford" instead of just "F".
Allow user to specify the order of the stocks, or keep them in alphabetical order.
Optionally let the user choose to display the list either with alternating colors OR with color coded backgrounds in the list box which indicate postive changes (green), negative changes (red), or no change (gray).
Implement a settings dialog to allow the user to configure any options you implement.
Publicize this app more and provide a way for people to make donations to show their appreciation
As I said, I am very grateful that you built and shared this app. You did a great job making it smart enough to adjust the display to the device on which it is running.
My suggestions are just ways in which you might enhance it to allow your users to customize it more to their liking.
4/25 Update: Found one additional issue. Can't seem to download stock market indices. For example, the Dow Jones Industrial average (symbol "^DJI"). Looks like the "^DJI" is being turned into "%5EDJI" and then not returning any prices.
Click to expand...
Click to collapse
Thanks for the feedback and suggestions - I had stopped working on this because it didn't look like there was any interest. I'll take some of your ideas and add them to the next release (which will be after I finish taking the PMP certification - preparing for that is taking up a lot of my spare time)
I'll check on the DJ symbols - they should work since it works within Yahoo and I'm using the Yahoo feed for updates.
also eur/usd parameter should b configurable as well...
good appz
gibbers said:
I've been looking for a stock quote app for my Epix (320x320 screen) for quite a while. Couldn't find a free/inexpensive one that worked on my display.
Thought about trying to program one for myself, but it's been a long time since I've done any "real" programming. Found this app via the forums at basic4ppc and then found the CAB installation here.
I love it! It works great! Thank you for coding and sharing this!
Had a couple of suggestions for possible future enhancements beyond those you had listed above:
Display a progress bar or message when updating stocks.
Allow the user to change the font size for the list of stocks.
Allow the user to optionally turn on/off the display of the detail box and have a longer list of stocks shown.
Allow the user to optionally input a user-friendly name to display in place of the ticker symbol on the main list. e.g. "Ford" instead of just "F".
Allow user to specify the order of the stocks, or keep them in alphabetical order.
Optionally let the user choose to display the list either with alternating colors OR with color coded backgrounds in the list box which indicate postive changes (green), negative changes (red), or no change (gray).
Implement a settings dialog to allow the user to configure any options you implement.
Publicize this app more and provide a way for people to make donations to show their appreciation
As I said, I am very grateful that you built and shared this app. You did a great job making it smart enough to adjust the display to the device on which it is running.
My suggestions are just ways in which you might enhance it to allow your users to customize it more to their liking.
4/25 Update: Found one additional issue. Can't seem to download stock market indices. For example, the Dow Jones Industrial average (symbol "^DJI"). Looks like the "^DJI" is being turned into "%5EDJI" and then not returning any prices.
Click to expand...
Click to collapse
I fixed the VGA display (Portrait only) and tested the Dow Jones - it doesn't work because "^DJI" is passed as part of the string and http doesn't like that. I need to urlencode it and see if that works.
I'll work on some of the other suggestions and get a developer's release out soon.
Version D-14
I have placed version D-14 (developer's release) on the main post. Unzip and copy to your PDA.
I have not implemented any of the excellent suggestions yet - I'm working on stabilizing the core functionality before I start adding to it.
Changes included in this release:
1. Added a splash screen on start-up (it's downloading stock updates in the background)
2. Fixed sort when adding stock symbol
3. Fixed VGA display (still only Portrait though)
4. URL encoded "^" for DJI - but it still doesn't work. I need to work with the Yahoo RSS feed to see why not
5. Fixed delete symbol bug (it didn't update all of the arrays, causing the wrong details to be displayed on a symbol)
For anyone with B4PPC, I added the source code to the zip file. Requires the ListView and fgControls library (included)
Feedback and suggestions are welcome.
UPDATE: Version D-14 uploaded to first post. I had left off a zero in the timer control, causing the program to refresh 6 seconds x setting - needed to be every 60 seconds per each minute in the setting.
Release D-15
Release D-13 has been uploaded to the main post
Changes:
1. Add downloading of stock chart when selecting stock symbol
2. Organized program images into gfx directory
3. Minor bug fixes & tweaks
Downloaded and tried D-15. Couple of new issues introduced.
Delete does not seem to be working for me. I can select it from the context menu, but after a brief delay it just repaints the screen without deleting anything. I can add stocks, but can't delete them without editing the pocketquotes.ini file.
Also the detail display is no longer displaying properly on my Epix (320x320 resolution). The bottom of the first row of characters with stock name is cut off, and I can only see the "Close" and "Highest" labels. The close price displays OK, but the Highest price gets truncated on the right (even though there is space on the screen to display it.) Also the bottom line which displays the last trade date is ovelaying other data and the bottom of the last trade text is also cut off.
Finally, in the Add dialog, it looks like there may be a display problem. But I think it was there before too. Below the label which says "Enter Stock", it looks like there is something there, but I can only see a few of the top pixels above the Cancel button.
Just reverted back to D-13 version, and it appears delete does not work for me with this version either. In this version, If I delete a stock, it is removed from the list. But it reappears when I close and reopen the app.
Do you have access to an emulator to see how it runs on a square screen device? If not I could probably figure out how to get a screen cap if it would help.
gibbers said:
Downloaded and tried D-15. Couple of new issues introduced.
Delete does not seem to be working for me. I can select it from the context menu, but after a brief delay it just repaints the screen without deleting anything. I can add stocks, but can't delete them without editing the pocketquotes.ini file.
Also the detail display is no longer displaying properly on my Epix (320x320 resolution). The bottom of the first row of characters with stock name is cut off, and I can only see the "Close" and "Highest" labels. The close price displays OK, but the Highest price gets truncated on the right (even though there is space on the screen to display it.) Also the bottom line which displays the last trade date is ovelaying other data and the bottom of the last trade text is also cut off.
Finally, in the Add dialog, it looks like there may be a display problem. But I think it was there before too. Below the label which says "Enter Stock", it looks like there is something there, but I can only see a few of the top pixels above the Cancel button.
Just reverted back to D-13 version, and it appears delete does not work for me with this version either. In this version, If I delete a stock, it is removed from the list. But it reappears when I close and reopen the app.
Do you have access to an emulator to see how it runs on a square screen device? If not I could probably figure out how to get a screen cap if it would help.
Click to expand...
Click to collapse
First, thanks for the feedback.
When you delete a stock, it should go to the download routine (it will display the download image) and then repaint the screen. On my PDA it does not put the symbol that was deleted back there.
Can you send me the stock symbols that you are using? I'll try a test with that.
As for the display on 320x320 - that is a resolution that I've always had mixed results with. I think I am going to remove the stock detail area at the bottom and display it when you click on the symbol (the one that shows the chart) This will make it easier to program as I can use the entire available screen for listing the stocks.
I'll check the add code. I may need to add a refresh or something to force a screen update. There should be a panel with an input box. I did notice it does a refresh download (which it shouldn't do at this point)
Last, I'll install the emulators so I can run some additional testing.
Version D-16
gibbers said:
Downloaded and tried D-15. Couple of new issues introduced.
Delete does not seem to be working for me. I can select it from the context menu, but after a brief delay it just repaints the screen without deleting anything. I can add stocks, but can't delete them without editing the pocketquotes.ini file.
Also the detail display is no longer displaying properly on my Epix (320x320 resolution). The bottom of the first row of characters with stock name is cut off, and I can only see the "Close" and "Highest" labels. The close price displays OK, but the Highest price gets truncated on the right (even though there is space on the screen to display it.) Also the bottom line which displays the last trade date is ovelaying other data and the bottom of the last trade text is also cut off.
Finally, in the Add dialog, it looks like there may be a display problem. But I think it was there before too. Below the label which says "Enter Stock", it looks like there is something there, but I can only see a few of the top pixels above the Cancel button.
Just reverted back to D-13 version, and it appears delete does not work for me with this version either. In this version, If I delete a stock, it is removed from the list. But it reappears when I close and reopen the app.
Do you have access to an emulator to see how it runs on a square screen device? If not I could probably figure out how to get a screen cap if it would help.
Click to expand...
Click to collapse
I have uploaded D-16 to the main post.
Changes:
1. Stock detail info moved to chart page; main page only shows list of stock symbols
2. Moved "Add Stock Symbol" from pop-up panel to new page; should display
I am in the process of setting up the emulators, but since function has been moved off onto a separate page, they should display properly on all screen sizes (portrait mode only)
Display Issues on Samsung Epix
Looks like Version D-16 still has some issues on my phone.
It appears that the details display area shrunk between version D-13 and D-15.
D-13
D-15
And the chart display area grew between version D-15 and D-16.
D-15
D-16
In terms of the Add Panel, it looks pretty much the same in all three versions, and is functional. Is there some text cut off which is peeking up from behind the cancel button on my display?
D-13
D-15
D-16
In the attached images, note that the ^DJI chart does display. It's just the quotes for ^DJI and other indices that don't work. Maybe a clue to fixing it? Or maybe not.
I still can't delete any symbols from the UI. I'm going to try deleting the ini file, since it was originally created with an old version, and manually edited on my PC. I figure a fresh start couldn't hurt and so far I don't have many symbols to re-add anyway. Will let you know how that works out.
I like the idea of the combined chart and details screen. If you can figure out how to get the display area for details to be sized right (as it was in D-13), then maybe you could use whatever is left on the screen to display the chart.
Also meant to add, that the display of the actual stocks on D16 works well. Just missing the data for the market indices.
I appreciate the work you are putting into this. I think you are on your way to a great little utility here.
Tried with a brand new .ini file. Similiar issues. It appears that you created a default .ini with the auto companies. I deleted all except HMC without issue. Then I added all the symbols I had before. And tried to delete several. None could be deleted. Except the HMC one. Then I couldn't delete others. The only thing I could see was that HMC was first entry on the list in the .ini file. And the remainder of the entries were NOT in alphabetical order. Are they supposed to be in alpha order in the .ini file? Could it be that the indices are somehow messing things up?
gibbers said:
Tried with a brand new .ini file. Similiar issues. It appears that you created a default .ini with the auto companies. I deleted all except HMC without issue. Then I added all the symbols I had before. And tried to delete several. None could be deleted. Except the HMC one. Then I couldn't delete others. The only thing I could see was that HMC was first entry on the list in the .ini file. And the remainder of the entries were NOT in alphabetical order. Are they supposed to be in alpha order in the .ini file? Could it be that the indices are somehow messing things up?
Click to expand...
Click to collapse
That sounds like it could be the problem why it's not deleting; the "^" symbol is messing things up.
The screen display is cutting off some information on the 320x320 display (works ok on VGA and QVGA) - I have some code that I need to apply to setting the form for 320x320. It's really a simple calculation where if the display is 320 I use an offset factor of 1.25, and if its VGA I use an offset factor of 2. I just need to apply this for your display.
Thanks for the images - it helps me to see what is happening. I'm having trouble getting the networking to work within the emulator so it's not downloading stock data (I may have to build an off-line mode to work around this)
I'll get an update back to you later today.
Version .19
Developer's Release .19
1. Added "splash" screen when updating stocks
2. Added configuration to change list row colors
3. Moved stock info to graph screen - main shows only list of stocks
4. Fixed sort when adding new stock
5. Fixed SIP when adding stock
Still working on some of the other suggestions.
I will cab this on the next release. I'm going to add in a update from web feature (I just implemented the same on pocket quotes) so that users can be sure that they always have the latest version.
Release 1.0
I've updated "Pocket Quotes" and released the first public release 1.0 with source code on my wiki: http://campusbbs.freehostia.com/doku.php?id=pocket_quotes
See main post for screen shots.
Some of the features added:
1. Additional charts added (now includes daily, weekly, yearly)
2. Update from the web
digitaldon37 said:
I've updated "Pocket Quotes" and released the first public release 1.0 with source code on my wiki: http://campusbbs.freehostia.com/doku.php?id=pocket_quotes
See main post for screen shots.
Some of the features added:
1. Additional charts added (now includes daily, weekly, yearly)
2. Update from the web
Click to expand...
Click to collapse
Thank you for making a stock quote program. I have been looking for a long time and there are relatively few programs that work well. I like many of the things you have done but there are some things I like from other community members. Please take a quick look at the post below.
http://forum.xda-developers.com/showthread.php?t=476613
I like the way each stock line shows red or green depending on stock up/down or profit/loss. Also, its nice to have the added screen space that the scroll bar takes up. Perhaps the scroll bar is not needed?

CheckList (W)VGA v2.1

Platform: Windows Mobile (Tested on 6.5.x)
Overview: A simple Check List application
* Organized by Categories
* New / Modify / Delete Category
* New / Modify / Delete Item
* Move Item to Vault / Restore Item from Vault
* Touch friendly
* Included Desktop Companion (PC application)
* No Master Lists!
* No Descriptions / Notes
* No Quantities
* No Item Pictures
* No Prices
* Without many functions and options
JUST A FRIENDLY CHECKLIST!
Download (old) 1.1 VGA version
Download 2.1 (W)VGA version
Download Desktop Companion version 2.1
Changelog v2.0 :
- Fixed the WVGA resolution.
- The Splash Screen was Changed.
- The user can change the order of the Categories / Items
- Settings Panel added
- The Program now can keep the Backlight On (option)
- The user can change the Item (list) height (option)
- The user can change the Text size (option)
- The user can enable/disable the message dialogs (option)
- The user can enable/disable the splash screen (option)
- The database is saved only if changes detected.
- The graphic files was retouched.
- Many minor bug fixes.
Changelog v2.1 :
- added gray boxes
- fixed category problem
- fixed minus problem (-)
- Marks by default the first Category
- Marks by default the first Item in the selected category
- Many minor bug fixes.
First Impressions
I just discovered this app and thought I'd leave my first impressions. Here goes...
At first go it's just what I've been looking for: a simple checklist app. It seems to be just that. I wouldn't say it's immediately intuitive, but with some messing around I picked up the basic routine. As with all things, with a little more playing around it will become 2nd nature. You should be aware, however, that the screen doesn't render properly in landscape (my phone is a TP2 [WVGA] see details in sig). As such, I couldn't confirm compatibility with the hard keyboard on my device.
Also, something to consider for future development, would be a way to create a link for a specific list that can be placed in one's calendar/appt editor. This probably takes away from the simplicity aspect, but that would be really slick!
I'll play with it some more throughout the week, but for simplicity's sake I like what you've put together -- at least on 1st impressions. Thanks for sharing!
thank you very much for your comments
Dadi68 said:
Platform: Windows Mobile (Tested on 6.5.x)
Overview: A simple Check List application
* No Master Lists!
* No Descriptions / Notes
* No Quantities
* No Item Pictures
* No Prices
* Without many functions and options
JUST A FRIENDLY CHECKLIST!
Click to expand...
Click to collapse
...really simple, really friendly ... but: that is what I really need, it's quick, it's easy....it's GREAT (you're right: keep it simple!!!)
It works on HD2, no prob with keyboard...
I hope, that you are buying soon a new device, to develop a WVGA-Version...aäh, whats about a wrap-up or second row for longer entrys ?
THX and greetz
fast_zorro said:
...really simple, really friendly ... but: that is what I really need, it's quick, it's easy....it's GREAT (you're right: keep it simple!!!)
It works on HD2, no prob with keyboard...
I hope, that you are buying soon a new device, to develop a WVGA-Version...aäh, whats about a wrap-up or second row for longer entrys ?
THX and greetz
Click to expand...
Click to collapse
Do u want to be a beta tester of the 1.2 version? (its wvga compatible - i hope)
Thanks to fast_zorro's valuable help, a WVGA version is coming!
ETA : this weekend
short video for the app
...9.....8....7.....6....
..thanks god, it's friday....
fast_zorro said:
..thanks god, it's friday....
Click to expand...
Click to collapse
Good morning dear beta tester
Today I will make a new version of the desktop companion and tomorrow morning I will release the full package
Im thinking to add an "enable single tap" option but i dont know because its not so friendly...
Anywayz, I will send you the released package via email - megaupload
Have a nice Friday people!
Dadi68 said:
Today I will make a new version of the desktop companion and tomorrow morning I will release the full package
Im thinking to add an "enable single tap" option but i dont know because its not so friendly...
Click to expand...
Click to collapse
May I leave some friendly feedback?
(I'm going to assume you said "yes"...)
First of all, allow me to repeat that this is a great little app. Simple and useful. Further, you have shared it with us freely, and I'm the first to acknowledge "beggars can't be choosy." With this in mind, I offer the following...
The boot time is too slow. One would think that given how light-weight this app is, it should load much like an immediate toggle on/toggle off application. While you're deserving of the credit appearing in your 'welcome'/'boot' screen, perhaps eliminating this feature would speed the load time? Even if it would not speed the load, I would like to see the Category menu straight away without an extra screen to pass through.
Second, it would be nice if Categories, and not just Items, could be saved to the vault. (Am I missing something?) It would be nice to create a simple template to the vault, then be able to copy a version to the active menu which could be applied as needed. Make sense?
Lastly, would it be possible to move the command bar down a centimeter or so? That way 4 full Category/Item panels could be visible w/o having to scroll up/down. I understand it's placed to accommodate ergonomic thumb usage, but to see 4 full Item panels, as opposed to 3 1/2, would be worth the slight stretch...
I'm really looking forward to a WVGA version as I'll be able to use the keyboard on my TP2, which would make this even MORE useful!
Once again, many thanks!!!
p.s. - There's also a couple of spelling errors in the menu guides. 'Aproove' comes to mind right off. ('Approve' is correct) However, your English is far superior to my Greek, so I have no room to criticize...
Minnesinger said:
May I leave some friendly feedback?
(I'm going to assume you said "yes"...)
First of all, allow me to repeat that this is a great little app. Simple and useful. Further, you have shared it with us freely, and I'm the first to acknowledge "beggars can't be choosy." With this in mind, I offer the following...
The boot time is too slow. One would think that given how light-weight this app is, it should load much like an immediate toggle on/toggle off application. While you're deserving of the credit appearing in your 'welcome'/'boot' screen, perhaps eliminating this feature would speed the load time? Even if it would not speed the load, I would like to see the Category menu straight away without an extra screen to pass through.
The boot time is extremely slow... Its not my fault... This programming language is slow (even a "Hello world" takes 3-4 secs to load)
In the new version you have the option to disable the splash screen
Second, it would be nice if Categories, and not just Items, could be saved to the vault. (Am I missing something?) It would be nice to create a simple template to the vault, then be able to copy a version to the active menu which could be applied as needed. Make sense?
Why you make your life so difficult?
Lastly, would it be possible to move the command bar down a centimeter or so? That way 4 full Category/Item panels could be visible w/o having to scroll up/down. I understand it's placed to accommodate ergonomic thumb usage, but to see 4 full Item panels, as opposed to 3 1/2, would be worth the slight stretch...
In the new version you can adjust the row height of the items/categories
I'm really looking forward to a WVGA version as I'll be able to use the keyboard on my TP2, which would make this even MORE useful!
Wait 30 minutes...
Once again, many thanks!!!
You r welcome my friend
p.s. - There's also a couple of spelling errors in the menu guides. 'Aproove' comes to mind right off. ('Approve' is correct) However, your English is far superior to my Greek, so I have no room to criticize...
Please help me to correct them... My English suck...
Maybe I will release the new version in Greek
Click to expand...
Click to collapse
Thank you very much for your post
Dimitris
Version 2.0 added at first post
Thanks to fast_zorro for his valuable help on the WVGA support
Minnesinger said:
May I leave some friendly feedback?
Second, it would be nice if Categories, and not just Items, could be saved to the vault. (Am I missing something?) It would be nice to create a simple template to the vault, then be able to copy a version to the active menu which could be applied as needed. Make sense?
.
Click to expand...
Click to collapse
...not bad, I'm also think about this topic...but, keep in mind the important issue: "small and easy".
I think, these is the most benefit from this app, so any new features should be aware of this point before added.
(MASPWARE Checklist, as example, looks nice, but you could be very easily lost in categories and items in up to 4 stages of deep)
But you're right, there are some improvents possible - let's see, what others will say and give Dadi68 a chance to enjoy the summer before making a version 3.0...
fast_zorro said:
...not bad, I'm also think about this topic...but, keep in mind the important issue: "small and easy".
I think, these is the most benefit from this app, so any new features should be aware of this point before added.
(MASPWARE Checklist, as example, looks nice, but you could be very easily lost in categories and items in up to 4 stages of deep)
But you're right, there are some improvents possible - let's see, what others will say and give Dadi68 a chance to enjoy the summer before making a version 3.0...
Click to expand...
Click to collapse
Hahahaha run DaDi RUNNNNNNNNN
2 weeks left for vacations guys
Ok, add categories to vault...
you mean an empty cateory or a category full of items?
I started to like that idea
Dadi68 said:
Ok, add categories to vault...
you mean an empty cateory or a category full of items?
I started to like that idea
Click to expand...
Click to collapse
Yes, a category full of items: a template. For example, a simple agenda template...
A template of the user's own design could be kept in the vault. In my case, there are occasions when I don't need to use a full appointment editor; I just need to keep a running list of contacts and times for any given day. Instead of retyping the time increments over and over, a blank agenda is always at the ready!
Although, this brings up another issue for me:
Whenever I attempt to edit one of the time slots on my agenda template, I get the warning seen in the pic above. I have the current-most NETCF v35 on my device, in addition to the NET CF v35 Messages.EN.wm .cab: am I missing anything? If I click 'yes' I'm able to continue and add a contact to a time slot, but the error message repeats with each edit.
Looking for ward to watching your app evolve -- Thanks!
Minnesinger said:
Yes, a category full of items: a template. For example, a simple agenda template...
A template of the user's own design could be kept in the vault. In my case, there are occasions when I don't need to use a full appointment editor; I just need to keep a running list of contacts and times for any given day. Instead of retyping the time increments over and over, a blank agenda is always at the ready!
Although, this brings up another issue for me:
Whenever I attempt to edit one of the time slots on my agenda template, I get the warning seen in the pic above. I have the current-most NETCF v35 on my device, in addition to the NET CF v35 Messages.EN.wm .cab: am I missing anything? If I click 'yes' I'm able to continue and add a contact to a time slot, but the error message repeats with each edit.
Looking for ward to watching your app evolve -- Thanks!
Click to expand...
Click to collapse
Replace the [-] with [...] and it will work fine!
About the Category -> Vault ...gimme some time, maybe next week
great tool - thats what i'm looking for. THX!!
Look nicely, I will try this program out.
Guys a beta 2.1 is out, that supports grayed checkboxes...
Im waiting for comments from my dear beta-tester
@Minnesinger : Can you help me by correcting spelling errors? To fix them before release the new version?
@All :
To Do:
1. Store full Categories (with items) into Vault [ NEXT WEEK ]
Have a beautiful weekend people!
Dadi68 said:
@Minnesinger : Can you help me by correcting spelling errors? To fix them before release the new version?
Click to expand...
Click to collapse
Yes, of course. I would be happy to. Check your PMs and I'll attach a Word document with a complete list. Although, from what I've observed there are only a few minor things...

[APP][GAME][Peg Solitaire]

Another example of C++ Win32 minimalist programming from the 'stephj' stable. The whole lot fits in one 17Kb executable.
The peg version of 'solitaire' as usually played with a wooden board and marbles. To play, hop one counter over another into an empty square on the far side either horizontally or vertically, and remove the counter that has been jumped over. Click or tap the counter you wish to move, and if it can be moved, all possible target positions for it will be highlighted in dark grey. Click or tap one of these targets and it will hop over and remove the 'jumped over' counter.
The object is to end up with one solitary counter in the middle of the board. Easier said than done, so there is a useful 'Undo' function allowing you to back out the previous move, all the way back to the starting pattern if you wish. Try that with the real marble version! There are fourteen patterns from which to start, the default being the 'Classic' starting position. All are solvable, start with the Cross pattern if you are struggling!
Here's the clever stuff:- It will run on any ARM powered Pocket PC or Smartphone from 2003 onwards. (ARMv4 onwards, possibly even 2002, I haven't had chance to test it on this platform.) It will also handle any sized screen as it dynamically resizes to fit it. Portrait, landscape, square or HVGA. Who cares, bring it on! The HVGA compatability should help quell the increasingly vociferous HD Mini owners, who are not too keen when Apps look a mess on their devices.
A Smartphone has no touch screen, and as such the white dot appears as a cursor. Move it with the D-Pad to the counter you wish to move and press the centre button. Possible targets appear dark grey as above, move the cursor to the target, and press the centre button again to hop over.
The program is aware when you run out of possible moves and will tell you so. Land the last counter in the middle hole to successfully complete the puzzle.
On your device the card game Solitaire provided by Microsoft, is included as part of the standard OS. It exists as a .lnk to the real executable. This program is an .exe file of the same name but it identifies itself to Windows Mobile as PegSolitaire so that it will not conflict with the cards game, if they are running simultaneously.
It is possible to drop the executable into \Windows\Start Menu\Programs\Games and it will live next to the real MS Solitaire program link - See the StartMenu image. If on your device the card game is stored here as Solitaire.exe, rename the attached file to 'Peg Solitaire.exe' or whatever you want to call it.
Only the executable is required, as all the DLLs it uses are already on your device.
It used to have quite nice 3D rendered counters, but the trials and tribulations of getting it to run on as many different displays as possible, without it looking dreadful, was just not worth the hassle. Eventually I opted to drop the 3D stuff for the retro look, as seen below.
Happy puzzling!
Patterns bug.
If you were one of those who downloaded this before the date of this post, there is a bug in the shapes section of the menu.
The Circle, Double Arrow and Diamond patterns did not match the menu. They pointed to the next one of these three.
This problem has now been fixed and the app reloaded.
My apologies for the inconvenience.
CE version added.
This has now been ported over to run on ARM powered CE devices.
Do NOT run the CE version on your Windows Mobile phone or Smartphone, and likewise, do NOT run the phone version on a CE device.
If you do, the display looks awful. You have been warned.
Happy puzzling, stephj.
CE version added.
Doesn't work in Windows Embedded CE 6.0 Professional (800x480): Initial screen properly shown (looks great), but then no reaction to stylus.
I have run this on the 4.1 and 5.0 CE SDK emulators, and it works a treat. Unfortunately I do not have a real 'CE' device to test it on but I may be able to get access to one if required.
Remote debugging can prove to be a bit awkward but here goes......
First of all. - Nothing happens until you click or tap on a yellow counter that you can actually move, when the destination 'hole' is then illuminated in dark grey. Tap on this dark grey hole to jump the counter over.
Do the menus work when you tap on them?
What exactly are you trying to run this on? Make model etc.
The program responds to the WM_LEFTBUTTONDOWN message sent to the app by the operating system. This is usually the resonse to a mouse click or screen tap.
Second, run the attached, and what does it report. It returns the co-ordinates returned by the GetClientRect() function.
It should show "Main x x x x - Menu x x x x" with a black bar 20 pixels high across the bottom of the screen, where x represents a value returned.
Report those values or post a screen shot we will use that for starters.......
1) CE 5.0 inbetween is very outdated (but some devices still are based on it), since 2009 CE 6.0 dominates. CE 4.2 you probably only can find in a museum. Emulator with an CE 6.0 image is available from MS free of charge.
2) It shouldn't be of any interest what device (Make, Model) your 'PEG SOLITAIRE for CE 'is planned to be run on. You claimed it should "run on ARM powered CE devices". No restrictions made.
3) Menu seems to work, items are accessible.
4) Result of GetRect is: Main 0 0 454 800 Menu 0 0 24 800
BTW: I'm no longer interested in this game, in no case I'll become a beta-tester.
There is no such thing as a Standard SDK for CE 6.0 like there used to be with 4.2 and 5.0
http://blogs.msdn.com/b/ce_base/archive/2006/12/14/what-exactly-is-an-sdk.aspx
Looks like the OEM's have all gone their own way, anyway.
Under CE 6.0 if you don't have the SDK for the device, which is probably totally proprietary, and not public, then you can't test it in a debug environment, and hence find out what the OEM has changed on the device.
So the disclaimer is now, "Should run under CE 4/5, may or may not run under CE 6.0"
Looks like days of a generic application are over. It's hardly worth the effort.
Windows Embedded CE 6.0 image exists, also Windows Embedded CE 6 SDK exists
FYI
CE 6 image:
http://www.gpspassion.com/forumsen/topic.asp?TOPIC_ID=76695&whichpage=2#963026
CE 6 sdk:
http://blogs.msdn.com/b/obloch/arch...sdk-not-installing-on-visual-studio-2008.aspx
Thanks for that.
Here's the WINCE_6.0.BIN image running in the device emulator.
Solitaire runs a treat.
I can confirm that both versions work - and both look great, running in full screen - on the CE 6 netbook (both 800x480 and 1024x600) as well as on a 7-inch Windows Embedded Compact 7 netbook.
Does not run on WinCE 3 (Windows Mobile 2002) - tested (and failed) on a QTEK 7070.
This game is very interesting. Do you like this puzzle?
tobbbie said:
Does not run on WinCE 3 (Windows Mobile 2002) - tested (and failed) on a QTEK 7070.
Click to expand...
Click to collapse
This program was originally written using Embedded C++ using the WM 2003 and CE 4.2 Standard SDKs.
I have reinstalled Embedded C++ 3.0 and the WM2002 SDK, and the WM2002 Smartphone emulator will not run it the code that works on WM2003.
There are some very subtle nuances between WM2003 and WM2002, which will have to be addressed before it will run properly. I'm on it, but it may take a few days.
This was not meant as a challenge - but if you want to pick that up I will recheck it. No hurry needed anyway - the device is in the museum drawer
Now updated to 1.6
PPC/Smartphone version now rebuilt under the WM2002 SDK. Runs on all versions from WM 2002 to WinMo 6.5.3
As mentioned there were a few oddities to be overcome in trying to retro the thing. Under WM2002 SystemParametersInfo() - used to detect the device platform - PocketPC or SmartPhone, fails with access denied, if it is called before the main window is created. Later versions of WM don't care.
Now runs on the WM2002 as well - tested on a Qtek 7070
I only wish there was a demo mode that brings the shapes to a solution - or something like a roll-back when you feel in a dead end situation.
Oh well - and something obvious: why not have an "Exit" Menu item?! This is missing in all your programs and useful for smartphone where you have no Window Close button.
The roll-back option already exists as the Undo option on the menu. You can roll it back to the original position if required, by the repeated use of it.
The use of a Program Exit option was discouraged by Microsoft in their original Window Mobile interface programming guide, as the programs were meant to sit in the background of the machine until reactivated.
In this case, this program only uses about 70+ Kb of memory when it is running, hardly a show stopping drain on the available resources.
But, if you want it, why not? Now included as 'Exit' on the main Solitaire menu. Program replaced in post #1.
stephj said:
The roll-back option already exists as the Undo option on the menu. You can roll it back to the original position if required, by the repeated use of it.
Click to expand...
Click to collapse
Oh well, you are right - did not notice this. One thought for usability: Can you assign this function to the "2" key - which is usually directly beneath the cursor/D-pad? This could much ease the navigation as it saves you from the "Menu-scroll-enter" sequence. For touchscreen devices a dedicated tap-field could help. I thought suggesting the "back" key for that, but this has a system wide purpose and should not be captured.
stephj said:
The use of a Program Exit option was discouraged by Microsoft in their original Window Mobile interface programming guide, as the programs were meant to sit in the background of the machine until reactivated.
In this case, this program only uses about 70+ Kb of memory when it is running, hardly a show stopping drain on the available resources.
But, if you want it, why not? Now included as 'Exit' on the main Solitaire menu. Program replaced in post #1.
Click to expand...
Click to collapse
I know and I never liked that. If the potential automatic close would also save the current state of any application it would be ok, but it seems that MS has not put THAT to their guidelines. Consequently I would still like to have control which programs run and which not. Other programs have even put that configurable (e.g. Oxios ToDo or Papyrus) but that is overkill I think.
As I use XBAR I can end any running program any time, but part of the menu is better. Thanks for this!
More thoughts for improvements:
show possible moves e.g. by overlaying arrows to the jumps, assigned to a key on smartphone (1 or 3, as 2 should be "Undo")
autosolve feature (animated - from any starting point or possibly with loadable solution paths from the standard start conditions)
coloring adapted to the active color scheme or selectable
skinnable board and pegs
It could be endless and I know that hardly anyone cares for such simple games in the age of animated 3D and Surround sound.
Some of this will be implemented, some of it won't.
Like 5x5 it is a dual platform program, the same executable runs on PocketPC/WinMo Professional and SmartPhone/WinMo Standard. Usually you would release two separate versions each built under the corresponding SDK. This single program looks at which platform it is running on, and behaves accordingly. This means it has to exist with somewhat of a split personality. Some code from one platform must not be run under the other, and vice versa.
Linking the '2' key to the 'Undo' option on Smartphone should be quite easy. Update... Done!
The D-PAD and enter is ignored under PocketPC/WinMo Pro. Under Smartphone, when a suitable counter is selected with enter, the target holes are displayed. I will make the D-PAD respond if it is moved toward a suitable target hole by 'jumping over' it immediately, thereby saving two extra depressions of the D-PAD.
The demo solution option from each pattern starting position could be added, I can quite easily lift some of the code out of 5x5 to do this, as it is a very similar setup. But first I have got to get the solutions! This may take some time........ I'll create a modified version of Solitaire to write out the Undo array if the solution is completed successfully. Once all patterns have been completed, build the data file to load as a program resource later.
Skinning: Looks good but it is a total pain in the butt. It used to have nice 3D rendered marbles and holes, but trying to get it to work and look good on lots of different sized displays turned into a nightmare. Eventually I opted for the vanilla option and dynamically scaled it to fit within 90% of the narrowest side of the display. The code figures this out, and centres the board, having raised it just enough to fit the messages across the bottom.
Colours from a pick list: I'll have a think about it.
"I'll be back"
stephj said:
Linking the '2' key to the 'Undo' option on Smartphone should be quite easy. Update... Done!
Click to expand...
Click to collapse
Thanks - that was fast!
stephj said:
... I will make the D-PAD respond if it is moved toward a suitable target hole by 'jumping over' it immediately, thereby saving two extra depressions of the D-PAD.
Click to expand...
Click to collapse
Will see how well that works. It still seems to rely on your selection to show possible options for the selection. What I was after is to show ALL possible moves of ALL items - probably only by pressing a special key. So you can decide which item to move.
stephj said:
The demo solution option from each pattern starting position could be added, I can quite easily lift some of the code out of 5x5 to do this, as it is a very similar setup. But first I have got to get the solutions! This may take some time........ I'll create a modified version of Solitaire to write out the Undo array if the solution is completed successfully. Once all patterns have been completed, build the data file to load as a program resource later.
Click to expand...
Click to collapse
No hurry - this is a true nice-to-have only. Hunting for solution patterns may be a tedious task. I wonder if there are generic algorithms to solve these (no?).
stephj said:
Skinning: Looks good but it is a total pain in the butt. It used to have nice 3D rendered marbles and holes, but trying to get it to work and look good on lots of different sized displays turned into a nightmare. Eventually I opted for the vanilla option and dynamically scaled it to fit within 90% of the narrowest side of the display. The code figures this out, and centres the board, having raised it just enough to fit the messages across the bottom.
Click to expand...
Click to collapse
Not needed to beautify on the programming level (3D rendering), but simple skinning? I mean just pick the unscaled (upper left) part of a delivered picture for the items to map. This could be board, marbles, holes and background. No sophisticated scaling or positioning. While scaling could be an easy option to supply similar look on all resolutions.
No hurry here either and also no problem if this is off your list.
stephj said:
Colours from a pick list: I'll have a think about it.
"I'll be back"
Click to expand...
Click to collapse
Thanks for your continued efforts, much appreciated.

[Q] Impossible quest for editor

I've installed over 50 editors and reviewed 100s in the Play Store... none of them do everything I was looking for. Maybe I missed it.
Editor requirements:
Toolbars at the bottom.
Dark theme (option)
Dark paper / background
Autosave
Insert image (prefer in-line but thumbnail might be OK)
Formatting (bold/font/colors)
File Types = rtf or doc
Opens to last edited and in edit mode.
Trial/free version available for testing before purchase.
No pushy popups asking me to download other things.
Clipboard - easy to use.
Bonus:
Cross platform version in Windows (web version.ok)
Wont freak out if I use AI Keyboard to paste text.
Links - between docs / pages / to web.
Save as text only.
Save selection.
Send selection.
Clipboard history.
Undo history between edits.
No monthly/annual fees
Tags
Toolbars: App buttons should be configurable, always. Buttons for menu/bold/saveas/new could be at the top, bottom, left, right, or floating, per the user preference. I'm really disappointed android has not done more to assist users with reaching across their over sized screens. Almost no apps have this, and only a few place the controls in the obvious place = next to the keyboard = where the user is most likely to want to tap. S5 ships with quick screen sizing ability built in, seems Samsung is ahead on this one. And I don't think it's asking a lot, it's just a matter of moving the bar to a different place, it's too easy!
Theme: A dark theme uses less battery and is easier on my eyes, especially when it's dark out. The theme is the part around the edit area, strictly speaking. This would include all menu's and toolbars. There are great editors out there with dark themes and dark paper but the menu's open super bright, and whats worse is they'll put light gray text on them in wee little fonts with lots of space to make it bigger... and then ask for $$? No.
Paper: A dark paper is super easy to read in any lighting conditions, and uses less battery to display (the display takes 50%+ of most phones battery power) When printing, white paper is best because it is cheap and readily available, and printers are not generally equipped to print light colors on dark paper. Since most people are addicted to printing things they look at 0-1 times, we may be stuck with this for a while. In any case, I want dark paper. This has been a feature in editors for a long long time but is mostly missing from Android.
Autosave: This is a must. If it uses the "save every 10 seconds", it should also save on exit without prompting if I close in only 5s.
Insert image: My preference would be to have text above and below, not around, and not as a layer that is under typed text. If it's attached as a thumbnail, it should be easy to see and tap to zoom.
File Types: My favorite is RTF. It's been around a long time, compatible with most things. Any fairly common windows format is fine like doc or even pdf. I want to avoid special formats that wont work anywhere else. I don't mind if the program has this ability but if it cannot open/save in other formats by default, I'm not interested.
Opening: It should open to the last document opened, and ready to continue typing. If it opens to the home page, then I want to see a recent list with the last edited on top, and one tap to edit. I found some really nice apps that took 5-6 taps to edit a doc. For example, Evernote opens to the home page, you tap to view, scroll to where you want to type, tap and ... nothing.... you have to tap MENU and then some symbol for edit, and then you start typing and it's not typing in the right place, it moved to the top or the bottom or whatever... terrible app IMO.
Fees: I have dropbox and other storage already, I'd rather not sign up for yet another one. Many apps work with existing sharing services just fine, while others require payments for this, generally 4-8 per month. I'm only willing to pay if it is the only one that meets all my other requirements, and it has to be the super ultimate editor and really amazing too.
TagSpaces might do it. There's no trial for Android tho....
Downloads include linux, mac, windows, android and firefox/chrome extensions.
Looks really cool but there's no trial/free version.
TagSpaces does not support themes nor paper color choices.
I'm using SlimRom, it has a great holo theme, and inverted google app package.
Build 7-187 did not invert google play for me.
Build 6-112 works great
The Slim Gaap downloads are here Slim 4-4 Gaaps, stable addon page.
Still looking for a full editor with all the features I mentioned. It's very strange how many apps do not have proper color options for the canvas, any dev who ever opens an app at night or in a dark room knows why. Special lighting apps like Velis Auto Brightness with super dark mode enabled helps a lot, but in a dark room, if the large white areas are bright enough to see the lettering on them, then it's bright enough to light the whole room.
Anyone who wants a longer battery life should be asking every dev to add night modes to their apps

Categories

Resources