Download the free trial version
Basic4android Video
Features
Tutorials and manuals
Showcase
Screenshots

Go Back   Android Development Forum - Basic4android > Basic4ppc (Windows Mobile) > Share Your Creations > Open Source Projects
Documentation Wiki Register Members List B4P Search Today's Posts Mark Forums Read

Open Source Projects The place to discuss Basic4ppc open source applications.

Pocket Weather

Reply
 
LinkBack (2) Thread Tools Display Modes
  #121 (permalink)  
Old 12-22-2008, 06:29 PM
Filippo's Avatar
Basic4ppc Expert
 
Join Date: May 2007
Location: Schwäb. Gmünd, Germany
Posts: 906
Awards Showcase
Beta Tester 
Total Awards: 1
Default

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
__________________
PPC: MDA Pro, 2GB SD
Device: HTC Desire , Android 2.2
______________________

Last edited by Filippo : 12-22-2008 at 06:57 PM.
Reply With Quote
  #122 (permalink)  
Old 12-23-2008, 02:48 PM
Basic4ppc Veteran
 
Join Date: Jan 2008
Posts: 215
Default

Quote:
Originally Posted by Filippo View Post
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
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 Images
File Type: jpg bigPocketForecast.JPG (19.4 KB, 35 views)

Last edited by digitaldon37 : 12-23-2008 at 04:03 PM.
Reply With Quote
  #123 (permalink)  
Old 12-23-2008, 06:09 PM
Filippo's Avatar
Basic4ppc Expert
 
Join Date: May 2007
Location: Schwäb. Gmünd, Germany
Posts: 906
Awards Showcase
Beta Tester 
Total Awards: 1
Default

Hi digitaldon37,

Quote:
I ran it on the PC and it took up half the screen. Was this one of the changes?
there is no change. You can use the VGA resolution free. Look at this picture.

Quote:
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)
This change is based on v0.47.

Ciao,
Filippo
__________________
PPC: MDA Pro, 2GB SD
Device: HTC Desire , Android 2.2
______________________
Reply With Quote
  #124 (permalink)  
Old 12-24-2008, 06:33 PM
Basic4ppc Veteran
 
Join Date: Jan 2008
Posts: 215
Default

Quote:
Originally Posted by Filippo View Post
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
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.
Reply With Quote
  #125 (permalink)  
Old 01-16-2009, 10:15 AM
klaus's Avatar
Basic4ppc Expert
 
Join Date: Oct 2007
Location: Fully, Switzerland
Posts: 3,827
Awards Showcase
Forum Contributer Beta Tester Competition Winner 
Total Awards: 3
Default

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 face="Courier New"><font size="2"><font color="#0000ff"><font face="Courier New"><font size="2"><font color="#0000ff">
<font size=
"2"><font face="Courier New"><font color="#0000ff">Sub </font></font></font></font></font></font></font></font></font><font face="Courier New"><font size="2"><font face="Courier New"><font size="2">UpdateLanguage</font></font>
</font></font><font face=
"Courier New"><font size="2"><font color="#008000"><font face="Courier New"><font size="2"><font color="#008000"><font face="Courier New"><font size="2"><font color="#008000">'RefreshWeather(1)</font></font></font>
</font></font></font></font></font></font><font face="Courier New"><font size="2"><font face="Courier New"><font size="2"><font color="red">mnuMin.Text=Text(</font></font></font></font></font><font face="Courier New"><font size="2"><font face="Courier New"><font size="2"><font face="Courier New"><font size="2"><font color="red">59</font></font></font></font></font></font></font><font face="Courier New"><font size="2"><font face="Courier New"><font size="2"><font color="red">)</font></font></font>
<font size=
"2"><font face="Courier New">mnuFile.Text=Text(</font></font></font></font><font face="Courier New"><font size="2"><font color="#800080"><font face="Courier New"><font size="2"><font color="#800080"><font face="Courier New"><font size="2"><font color="#800080">1</font></font></font></font></font></font></font></font></font><font face="Courier New"><font size="2"><font face="Courier New"><font size="2">)</font></font>
<font size=
"2"><font face="Courier New">mnuExit.Text=Text(</font></font></font></font><font face="Courier New"><font size="2"><font color="#800080"><font face="Courier New"><font size="2"><font color="#800080"><font face="Courier New"><font size="2"><font color="#800080">2</font></font></font></font></font></font></font></font></font><font face="Courier New"><font size="2"><font face="Courier New"><font size="2">)</font></font>
</font></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
File Type: zip lng.zip (4.4 KB, 16 views)
__________________
Klaus
Switzerland
Reply With Quote
  #126 (permalink)  
Old 01-16-2009, 05:44 PM
Basic4ppc Veteran
 
Join Date: Jan 2008
Posts: 215
Default

Quote:
Originally Posted by klaus View Post
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 face="Courier New"><font size="2"><font color="#0000ff"><font face="Courier New"><font size="2"><font color="#0000ff">
<font size=
"2"><font face="Courier New"><font color="#0000ff">Sub </font></font></font></font></font></font></font></font></font><font face="Courier New"><font size="2"><font face="Courier New"><font size="2">UpdateLanguage</font></font>
</font></font><font face=
"Courier New"><font size="2"><font color="#008000"><font face="Courier New"><font size="2"><font color="#008000"><font face="Courier New"><font size="2"><font color="#008000">'RefreshWeather(1)</font></font></font>
</font></font></font></font></font></font><font face="Courier New"><font size="2"><font face="Courier New"><font size="2"><font color="red">mnuMin.Text=Text(</font></font></font></font></font><font face="Courier New"><font size="2"><font face="Courier New"><font size="2"><font face="Courier New"><font size="2"><font color="red">59</font></font></font></font></font></font></font><font face="Courier New"><font size="2"><font face="Courier New"><font size="2"><font color="red">)</font></font></font>
<font size=
"2"><font face="Courier New">mnuFile.Text=Text(</font></font></font></font><font face="Courier New"><font size="2"><font color="#800080"><font face="Courier New"><font size="2"><font color="#800080"><font face="Courier New"><font size="2"><font color="#800080">1</font></font></font></font></font></font></font></font></font><font face="Courier New"><font size="2"><font face="Courier New"><font size="2">)</font></font>
<font size=
"2"><font face="Courier New">mnuExit.Text=Text(</font></font></font></font><font face="Courier New"><font size="2"><font color="#800080"><font face="Courier New"><font size="2"><font color="#800080"><font face="Courier New"><font size="2"><font color="#800080">2</font></font></font></font></font></font></font></font></font><font face="Courier New"><font size="2"><font face="Courier New"><font size="2">)</font></font>
</font></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.
Thanks Klaus. I'll add this to my to do list and get an update posted in the next couple of weeks.
Reply With Quote
  #127 (permalink)  
Old 01-24-2009, 06:14 PM
Basic4ppc Veteran
 
Join Date: Jan 2008
Posts: 215
Default 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.
Reply With Quote
  #128 (permalink)  
Old 01-24-2009, 07:23 PM
klaus's Avatar
Basic4ppc Expert
 
Join Date: Oct 2007
Location: Fully, Switzerland
Posts: 3,827
Awards Showcase
Forum Contributer Beta Tester Competition Winner 
Total Awards: 3
Default

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
File Type: zip Weather0_54.zip (24.4 KB, 27 views)
__________________
Klaus
Switzerland
Reply With Quote
  #129 (permalink)  
Old 02-08-2009, 03:53 PM
klaus's Avatar
Basic4ppc Expert
 
Join Date: Oct 2007
Location: Fully, Switzerland
Posts: 3,827
Awards Showcase
Forum Contributer Beta Tester Competition Winner 
Total Awards: 3
Default

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
File Type: zip Weather0_55.zip (20.5 KB, 14 views)
__________________
Klaus
Switzerland
Reply With Quote
  #130 (permalink)  
Old 03-12-2009, 06:11 PM
klaus's Avatar
Basic4ppc Expert
 
Join Date: Oct 2007
Location: Fully, Switzerland
Posts: 3,827
Awards Showcase
Forum Contributer Beta Tester Competition Winner 
Total Awards: 3
Default

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
File Type: zip WeatherV0_60.zip (22.6 KB, 24 views)
__________________
Klaus
Switzerland

Last edited by klaus : 03-12-2009 at 06:14 PM.
Reply With Quote
Reply



LinkBacks (?)
LinkBack to this Thread: http://www.basic4ppc.com/forum/open-source-projects/3323-pocket-weather.html
Posted By For Type Date
1800 PocketPC - Pocket Pc Freeware and Windows Mobile 6 Software - Part 2 This thread Refback 11-24-2008 12:40 PM
Pocket Forecast [v.25] (formerly Pocket Weather) - xda-developers This thread Refback 11-17-2008 11:17 PM
Currently Active Users Viewing This Thread: 1 (0 members and 1 guests)
 
Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

vB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are Off
Pingbacks are Off
Refbacks are On

Similar Threads
Thread Thread Starter Forum Replies Last Post
Another Pocket Wiki digitaldon37 Open Source Projects 4 12-30-2009 03:12 AM
Personal Pocket PC Wiki tsteward Open Source Projects 133 02-24-2009 11:01 AM
Pocket Burning Sand neilnapier Questions (Windows Mobile) 2 11-05-2007 08:53 PM
print class for pocket pc tanrikuluahmet Basic4ppc Wishlist 1 10-01-2007 10:10 AM
Weather web service using HTTP lost2 Share Your Creations 3 06-10-2007 03:40 PM


All times are GMT. The time now is 01:03 AM.


Powered by vBulletin® Version 3.6.12
Copyright ©2000 - 2012, Jelsoft Enterprises Ltd.
Search Engine Friendly URLs by vBSEO 3.3.0