Pocket Weather

Discussion in 'Open Source Projects' started by digitaldon37, Nov 12, 2008.

  1. Filippo

    Filippo Expert Licensed User

    Hi digitaldon37,

    i have divided the programm in 2 modules, now it's possible to load also on a PPC, to modify and to test.

    But it is only a suggestion from me.:)

    Ciao,
    Filippo
     
    Last edited: Dec 22, 2008
  2. digitaldon37

    digitaldon37 Active Member Licensed User

    Hi Filippo,

    I ran it on the PC and it took up half the screen. Was this one of the changes?

    I'll test out on my pda and see how it works. I'll have to merge in some changes (this looks like it is based on .47 and the last release I had was .49)
     

    Attached Files:

    Last edited: Dec 23, 2008
  3. Filippo

    Filippo Expert Licensed User

    Hi digitaldon37,

    there is no change. You can use the VGA resolution free. Look at this picture.

    This change is based on v0.47.

    Ciao,
    Filippo
     
  4. digitaldon37

    digitaldon37 Active Member Licensed User

    It should be easy for me to merge the changes in - since most of them were a couple of lines here and there to fix bugs.

    I just rolled everything back into a new public release (1.2.1) and except for the plug-in that I'm writing for it (which will be something that I can use for other projects) I think this project has reached a point where there probably won't be a lot of changes, at least from me.

    Special thanks to Filippo for the VGA routines and a very big thanks to Klaus - he's earned co-author of the program since he's contributed so much code to it (from the language support, printing onto the form which made theming possible, and much more)

    And of course thanks to Erel for a great product and to agraham for the dozens of libraries which make programming easier.
     
  5. klaus

    klaus Expert Licensed User

    Hi Don.

    I had a look at the xda developper site and saw the post of gutte about the Minimize translation.

    Actually this word is not yet translated.
    To do so, just add one code line in the UpdateLanguage routine:
    Code:
    [FONT=Courier New][SIZE=2][COLOR=#0000ff][FONT=Courier New][SIZE=2][COLOR=#0000ff]
    [SIZE=
    2][FONT=Courier New][COLOR=#0000ff]Sub [/COLOR][/FONT][/SIZE][/COLOR][/SIZE][/FONT][/COLOR][/SIZE][/FONT][FONT=Courier New][SIZE=2][FONT=Courier New][SIZE=2]UpdateLanguage[/SIZE][/FONT]
    [/SIZE][/
    FONT][FONT=Courier New][SIZE=2][COLOR=#008000][FONT=Courier New][SIZE=2][COLOR=#008000][FONT=Courier New][SIZE=2][COLOR=#008000]'RefreshWeather(1)[/COLOR][/SIZE][/FONT]
    [/COLOR][/SIZE][/
    FONT][/COLOR][/SIZE][/FONT][FONT=Courier New][SIZE=2][FONT=Courier New][SIZE=2][COLOR=red]mnuMin.Text=Text([/COLOR][/SIZE][/FONT][/SIZE][/FONT][FONT=Courier New][SIZE=2][FONT=Courier New][SIZE=2][FONT=Courier New][SIZE=2][COLOR=red]59[/COLOR][/SIZE][/FONT][/SIZE][/FONT][/SIZE][/FONT][FONT=Courier New][SIZE=2][FONT=Courier New][SIZE=2][COLOR=red])[/COLOR][/SIZE][/FONT]
    [SIZE=
    2][FONT=Courier New]mnuFile.Text=Text([/FONT][/SIZE][/SIZE][/FONT][FONT=Courier New][SIZE=2][COLOR=#800080][FONT=Courier New][SIZE=2][COLOR=#800080][FONT=Courier New][SIZE=2][COLOR=#800080]1[/COLOR][/SIZE][/FONT][/COLOR][/SIZE][/FONT][/COLOR][/SIZE][/FONT][FONT=Courier New][SIZE=2][FONT=Courier New][SIZE=2])[/SIZE][/FONT]
    [SIZE=
    2][FONT=Courier New]mnuExit.Text=Text([/FONT][/SIZE][/SIZE][/FONT][FONT=Courier New][SIZE=2][COLOR=#800080][FONT=Courier New][SIZE=2][COLOR=#800080][FONT=Courier New][SIZE=2][COLOR=#800080]2[/COLOR][/SIZE][/FONT][/COLOR][/SIZE][/FONT][/COLOR][/SIZE][/FONT][FONT=Courier New][SIZE=2][FONT=Courier New][SIZE=2])[/SIZE][/FONT]
    [/SIZE][/
    FONT]
    The language files have been updated in the attached zip file.
    There are still some added texts, not translated in some files, Italian, Spanish , Portuguese, Russian.

    The text numbering in the files beginns with 0 !
    That meens that the total number of lines is one more than the number in the first line in the files.

    Best regards.
     

    Attached Files:

    • lng.zip
      File size:
      4.4 KB
      Views:
      162
  6. digitaldon37

    digitaldon37 Active Member Licensed User

    Thanks Klaus. I'll add this to my to do list and get an update posted in the next couple of weeks.
     
  7. digitaldon37

    digitaldon37 Active Member Licensed User

    Developer's release .53

    Developer's release .53 has been posted at XDA and on my wiki site: pocket_forecast [CampusBBS Wiki]

    .53 (1/24/09)
    ===============================================================
    - add translate for "actions", "save", "minimize"
    - add theme variable "themeButtonBorder" to turn off borders


    .52 (1/20/09)
    ================================================================
    - add menu support for 240x240 navigation
    - add support for 320x320
    - fix for old city cache error message

    Not a lot of big changes - but some that I've been meaning to get to. I need to translate the three menu options that I added (all the lang files updated but with english) and if everything tests out in the next few days I'll update the cab for the "public release"

    The biggest change was adding support for 320x320 - most of the code defaults to either a QVGA display or VGA display and the 320x320 produced some weird results (mainly due to font resizing and switching between landscape and portrait). I also added some menu navigation so that if this is run on a 240x240 you can move around the screens

    With this release, the program seems to run ok and look somewhat decent in all PDA resolutions.
     
  8. klaus

    klaus Expert Licensed User

    Hi digitaldon37,

    I have seen some other non translated words in the program.

    In the Main menu
    - About

    In the Config window
    - Error logging
    - integration
    - Forecast

    In Config/Actions menu
    - Back

    Attached the modified files, source and language files.
    The English, French and German text files are uptodate, all the others need translations for the last words.

    Best regards.
     

    Attached Files:

  9. klaus

    klaus Expert Licensed User

    Hi Don,

    I saw on xda-developper the request to translate also the weather conditions.

    Attached is the modified program with three WeatherCond files in English, French and German.
    I didn't translate these at the beginning because the texts provided by Yahoo are more complete than those given with the weather condition code. The program uses for English the original Yahoo texts, and for other languages if there does exit a WeatherCond file, the translations.

    Best regards.
     

    Attached Files:

  10. klaus

    klaus Expert Licensed User

    Hi Don,
    Here is Version 0.60 with the metric values calculated from the anglosaxon values.
    Metric wind speed either in km/h or in m/s.
    I don't know what confidence we can have in the values given by Yahoo.
    I made a small check with Yahoo Weather at several location around the world and compared the values in 'in Hg' and 'milli bar', there are quite big differences !? I don't know if I am missing something !? Excel file attached.

    Best regards.
     

    Attached Files:

    Last edited: Mar 12, 2009
  11. digitaldon37

    digitaldon37 Active Member Licensed User

    Thanks Klaus. I made a couple of tweaks to some other code that I have been working on and added them to your upload - new current version is .61

    [will have to upload later - I'm getting an error message that I've exceeded the forum limit]
     
  12. jdrogan

    jdrogan Member Licensed User

    Is this project still active?
    I really like this weather program and would like to "play" with it some to learn more about b4ppc. The app from the cab runs on my ppc but I don't get the last update on the bottom of the screen. I get no skin either just plain white. When I try and run weather61.sbp on the desktop I get all kinds of errors like btnExitRW.bmp missing, the WeatherE.txt file missing. What am I doing wrong? Shouldn't I just be able to load the source and run it?

    Help
     
  13. digitaldon37

    digitaldon37 Active Member Licensed User

    You can copy the program directory to your pc and copy the latest source code there - it should work fine.

    I will also add a zip file with the latest developer files on the site wiki: pocket_forecast [CampusBBS Wiki]

    The project has "gone on vacation" while I study for my PMP certification. :)

    EDIT: Source code and include files are now posted on the wiki.
     
    Last edited: May 30, 2009
  14. jdrogan

    jdrogan Member Licensed User

    Thanks,
    Got it working!
    Best of luck with the PMP studies.
     
  15. digitaldon37

    digitaldon37 Active Member Licensed User

    Release 1.2.5

    I've updated "Pocket Forecast" to version 1.2.5 and posted installer and source code on my wiki: pocket_forecast [CampusBBS Wiki]

    See main post for screen shots.

    Some of the features added:

    1. Bug fixes
    2. Update from the web
     
  16. jdrogan

    jdrogan Member Licensed User

    When I try to compile this version I get a compile error:
    No match was found to type sortedlist
    A desktop reference is missing.

    What am I missing? what is sortedlist?
     
  17. digitaldon37

    digitaldon37 Active Member Licensed User

    Do you have the correct versions of the libraries that this project uses? See attached screen shot.
     
  18. jdrogan

    jdrogan Member Licensed User

    Most of mine are "older"
    Where can I find FormLib.dll ver 2.4
     
  19. digitaldon37

    digitaldon37 Active Member Licensed User

    You can get the custom libraries from the "additional libraries" forum and the B4PPC libraries from the "official updates" forum.
     
  20. jdrogan

    jdrogan Member Licensed User

    I don't see Formlib.dll in either of those.
    I have the Formlib.dll that came with my version 6.50.
     
Loading...
  1. This site uses cookies to help personalise content, tailor your experience and to keep you logged in if you register.
    By continuing to use this site, you are consenting to our use of cookies.
    Dismiss Notice