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
  #31 (permalink)  
Old 11-21-2008, 06:44 PM
Basic4ppc Veteran
 
Join Date: Jul 2008
Location: Schwäbisch Gmünd
Posts: 353
Default

Quote:
Originally Posted by klaus View Post
@JOTHA: Könntest Du mal die Deutschen Texte durchschauen und eventuelle Verbesserungen durchführen.
Schon mal Danke im Voraus
Das mache ich gerne.

Nur in den nächsten 3 Tagen kann ich das höchstens mal in einer "Nachtschicht" machen.

Mein Vater ist heute vor 2 Stunden überraschend gestorben.
__________________
JOTHA | Greetz from the Schwabenländle.
Pocket-PC: HTC HD2 (Dual-Boot WindowsMobile 6.51 + Android 2.2 Froyo)
Reply With Quote
  #32 (permalink)  
Old 11-21-2008, 08:28 PM
Basic4ppc Veteran
 
Join Date: Jan 2008
Posts: 215
Default Version .27

Latest version has language support

.27 (11/21/08)
=========================================
- Added menu bar (Thanks Fillipo!)
- Added language support (Thanks Klaus!)
- organized code into Regions

Thanks to everyone's feedback & contributions!
Reply With Quote
  #33 (permalink)  
Old 11-21-2008, 10:58 PM
Cableguy's Avatar
Basic4ppc Expert
 
Join Date: Apr 2007
Location: N 41º11'30.30" W 8º39'46.60"
Posts: 2,313
Awards Showcase
Forum Contributer 
Total Awards: 1
Default

While translating the English file to Portuguese, I found these typos:

Tomoorow, should be Tomorow
Waether upate, should be Weather Update

In my file I have a Word that perhaps is too big for the localization on the app...
Configurações' If this is too long just use "Config"


PS. How do I find my location code..I went to yahoo, set my location and copy what I thought to be my location code..
PORTUGAL-MATOSINHOS, but I got SION on the app...
Got this working, I would have swornned that I entered the exact same location code before...
Well this time, due to the BUG posted below, I entered the code directly in the ini file and it works...
BUG::In my quest to "Guess" mylocation I rendered the app useless, as I entered an invalid location (zip-Code) in the location field...
To make it run again I had to edit the ini file and delete my previously entered value inthe locations...
__________________
Paulo Gomes - Porto, Portugal - Living/Working in France-Saumur
Mobile Device: Samsung Galaxy S, Android 2.3.4 CUstom ROM
Laptop: Toshiba NB100-130 (running on Win7Ultimate)
B4PPC DLL Version Listing - B4Android DLL Version Listing

Last edited by Cableguy : 11-21-2008 at 11:25 PM.
Reply With Quote
  #34 (permalink)  
Old 11-22-2008, 04:31 AM
Basic4ppc Veteran
 
Join Date: Jan 2008
Posts: 215
Default

Quote:
Originally Posted by Cableguy View Post
While translating the English file to Portuguese, I found these typos:

Tomoorow, should be Tomorow
Waether upate, should be Weather Update

In my file I have a Word that perhaps is too big for the localization on the app...
Configurações' If this is too long just use "Config"


PS. How do I find my location code..I went to yahoo, set my location and copy what I thought to be my location code..
PORTUGAL-MATOSINHOS, but I got SION on the app...
Got this working, I would have swornned that I entered the exact same location code before...
Well this time, due to the BUG posted below, I entered the code directly in the ini file and it works...
BUG::In my quest to "Guess" mylocation I rendered the app useless, as I entered an invalid location (zip-Code) in the location field...
To make it run again I had to edit the ini file and delete my previously entered value inthe locations...
I have uploaded .28.1 which is a bug fix that may help with some of the location problems. If the program has a bad location code it should default to location 1, and if that is bad it should default to "77095" so you can go back into the location editor and fix it. At least that is how I tried to program it to act.
Reply With Quote
  #35 (permalink)  
Old 11-22-2008, 09:55 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 Paulo,

To get the code for your location you can do it directly in the program.
In the main menu go to Locations.
In the locations window, click on one of the Add checkboxes.
Then you will see comboboxes where you can select your location and click on the save button.
Then you come back to the location window and there you will see your code. Click on the Save button.
Then you will see the weather in your area.

The pictures below shows it.

In getting the location Sion, at least you saw the weather in my area. It's snowing right now.

Best regards.
Attached Images
File Type: jpg Weather0.jpg (21.6 KB, 12 views)
File Type: jpg Weather1.jpg (17.9 KB, 10 views)
__________________
Klaus
Switzerland
Reply With Quote
  #36 (permalink)  
Old 11-22-2008, 10:02 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 digitaldon37,

There are still some problems with the multilanguage.
- I missed one text
- The short date on the bottom of the main window is in English
- The weather condition text on the 2nd window is also in English

The last two ones come directly from the RSS message submitted by Yahoo.

I will have a look ,the next days, if and how this could be improved.

Best regards.
__________________
Klaus
Switzerland
Reply With Quote
  #37 (permalink)  
Old 11-24-2008, 11:03 PM
Basic4ppc Veteran
 
Join Date: Jan 2008
Posts: 215
Default Version .30

I have uploaded developer version .30 to the main post. Changes include

1. Replace "radio button" navigation with menu navigation
2. Current and forecast details page has been updated
Reply With Quote
  #38 (permalink)  
Old 11-25-2008, 02:05 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 updated the language support for the actualisation date.
The weather condition text is still in english. There are more different texts than images so it is almost impossible to translate those without having the whole set.
I tried to read the html file coming back form sites like these:
Sion Prvision Yahoo! Mto
Sion Wetter Vorhersagen - Yahoo! Wetter
Meteo Sion | Previsioni del tempo - Yahoo! Meteo

But there doesn't exist such sites for each language. And the special characters are not displayed correctly.

I played also a bit with themes.

Best regards.

What about something like this
Attached Images
File Type: jpg Sky0.jpg (27.2 KB, 12 views)
File Type: jpg Sky1.jpg (27.6 KB, 13 views)
File Type: jpg Route66.jpg (24.9 KB, 17 views)
Attached Files
File Type: zip PocketForecast.zip (284.6 KB, 20 views)
__________________
Klaus
Switzerland
Reply With Quote
  #39 (permalink)  
Old 11-25-2008, 03:48 PM
Basic4ppc Veteran
 
Join Date: Jan 2008
Posts: 215
Default

Quote:
Originally Posted by klaus View Post
Hi digitaldon37,

I have updated the language support for the actualisation date.
The weather condition text is still in english. There are more different texts than images so it is almost impossible to translate those without having the whole set.
I tried to read the html file coming back form sites like these:
Sion Prvision Yahoo! Mto
Sion Wetter Vorhersagen - Yahoo! Wetter
Meteo Sion | Previsioni del tempo - Yahoo! Meteo

But there doesn't exist such sites for each language. And the special characters are not displayed correctly.

I played also a bit with themes.

Best regards.

What about something like this
How did you get the background to work?

I've added a couple of changes and uploaded version .31 to the main post.

Last edited by digitaldon37 : 11-25-2008 at 07:39 PM.
Reply With Quote
  #40 (permalink)  
Old 11-25-2008, 10:26 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,

The picture is directly put in the Form1.Image.
The lines and the texts are drawn onto the forelayer of the form with
a DrawerEx object from the ImageLibEx.
It could have been done directly with Form1.FLine and Form1.FDrawString.
But I use right alignment for some texts, and for that I need the StringWidth function that is in the ImageLibEx library with the DrawerEx object.

I am also looking to replace the menus by ToolBars.

When I am almost finished I will post it.

Best regards.
__________________
Klaus
Switzerland
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 12:50 AM.


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