Basic4ppc - Windows Mobile Development  

Go Back   Basic4ppc - Windows Mobile Development > Main Category > Open Source Projects
Home Register FAQ Members List 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
  #101 (permalink)  
Old 12-13-2008, 04:50 PM
Basic4ppc Veteran
 
Join Date: Jan 2008
Posts: 213
Default Version 1.1 / D.41

Latest version has been rolled up into a new public release (1.1) and has been uploaded to the main post.

Latest version is public release 1.1


To Do (Future Features)
================================================== ==================
1. Plug-ins to support weatherpanel map (will be html/javascript)
2. Finger scroll up: settings, down: minimize, side: switch locations
3. Option for full screen (will enable when #2 is in place)
4. Roll forecasts when date rolls over (current=display message only)


History

1.1 (12/14/08)
================================================== ==================
- public release containing developer fixes d.39 to d.41

.41 (12/11/08)
================================================== ==================
- Added AppToDate support
- Added check for outdated cache (displays message only)

.40 (12/11/08) Klaus
================================================== ==================
- adapted image sizes to
condition 48*48
details 40*40
buttons 48*48
add/delete 20*20 the png images are still 16*16 in the gfx folder
- increased saved locations from 5 to 10
- panel messages in the middle of the screen (eliminate double redraw)


.39 (12/8/08)
================================================== ==================
- fix Russian language file
- fix fuzzy font (eliminated setTransparency)
Reply With Quote
  #102 (permalink)  
Old 12-14-2008, 02:00 PM
klaus's Avatar
Basic4ppc Expert
 
Join Date: Oct 2007
Location: Switzerland
Posts: 1,806
Awards Showcase
Forum Contributer Beta Tester Competition Winner 
Total Awards: 3
Default

Hi Don,

Here is version 1.11 with the modification to avoid 2 cities.

Best regards.
Attached Files
File Type: sbp Weather.sbp (80.7 KB, 11 views)
__________________
Klaus
Switzerland
Reply With Quote
  #103 (permalink)  
Old 12-17-2008, 01:36 PM
Basic4ppc Veteran
 
Join Date: Jan 2008
Posts: 213
Default Developer's release .43

Attached is the latest version, it incorporates base code for public release 1.1 and some bug fixes

History

.43 (12/17/08)
================================================== ==================
- add S2U key update to "RefreshWeather" -was only updated on main refresh
- fix bug where interval set to zero and deletes location cache
- fix refreshweather bug (was setting timer off for ini=0)

.42 (12/16/08)
================================================== ==================
- add klaus's update for city/location id (sorted array)


1.1 (12/14/08)
================================================== ==================
- public release containing developer fixes d.39 to d.41

Last edited by digitaldon37 : 01-10-2009 at 09:42 PM.
Reply With Quote
  #104 (permalink)  
Old 12-17-2008, 04:01 PM
klaus's Avatar
Basic4ppc Expert
 
Join Date: Oct 2007
Location: Switzerland
Posts: 1,806
Awards Showcase
Forum Contributer Beta Tester Competition Winner 
Total Awards: 3
Default

Hi Don,

Here you have version 0_44 with the finger swapping of locations.

Best regards.
Attached Files
File Type: sbp Weather.sbp (82.2 KB, 8 views)
__________________
Klaus
Switzerland
Reply With Quote
  #105 (permalink)  
Old 12-17-2008, 07:16 PM
Basic4ppc Veteran
 
Join Date: Jan 2008
Posts: 213
Default

Quote:
Originally Posted by klaus View Post
Hi Don,

Here you have version 0_44 with the finger swapping of locations.

Best regards.
Thanks Klaus. Is there any way to restrict the swiping to a rectangle? This code triggers a swipe whether it's top to bottom, left to right, etc. The result is that you may get an unintended swipe.

I had been thinking that for scrolling locations, to limit the swipe to the "Tomorrow" section on the main page. That seems to be coordinates 10,140 to 180, 180
Reply With Quote
  #106 (permalink)  
Old 12-17-2008, 08:47 PM
klaus's Avatar
Basic4ppc Expert
 
Join Date: Oct 2007
Location: Switzerland
Posts: 1,806
Awards Showcase
Forum Contributer Beta Tester Competition Winner 
Total Awards: 3
Default

Yes it could be restricted to a certain rectangle.

The principle was the following.
Swiping left to right or top down increased the location index by one if there is a location. If there is no location it increased one more till the end.
Swiping right to left or bottom to top decreased the index. So there shouldn't have been an unintended swipe.
The swip must be, at the moment, at least 50 pixels wide between MouseDown and MouseUp. This could of course also also be changed.
The swipe works in all 3 screens, today, detail anf fourcast.

In the attached file the swipe is limited to the rectangle you gave.
The swipe is limited to right-left and left-right only and still 50 pixel min. (and now 100 pixel on a VGA sreen). I increased the version number t0 0.45.
The values are in variables so it would be easy to change them in the Form1.MouseUp routine.

Best regards.
Attached Files
File Type: sbp Weather.sbp (82.5 KB, 5 views)
__________________
Klaus
Switzerland
Reply With Quote
  #107 (permalink)  
Old 12-17-2008, 11:57 PM
Basic4ppc Veteran
 
Join Date: Jan 2008
Posts: 213
Default

Quote:
Originally Posted by klaus View Post
Yes it could be restricted to a certain rectangle.

The principle was the following.
Swiping left to right or top down increased the location index by one if there is a location. If there is no location it increased one more till the end.
Swiping right to left or bottom to top decreased the index. So there shouldn't have been an unintended swipe.
The swip must be, at the moment, at least 50 pixels wide between MouseDown and MouseUp. This could of course also also be changed.
The swipe works in all 3 screens, today, detail anf fourcast.

In the attached file the swipe is limited to the rectangle you gave.
The swipe is limited to right-left and left-right only and still 50 pixel min. (and now 100 pixel on a VGA sreen). I increased the version number t0 0.45.
The values are in variables so it would be easy to change them in the Form1.MouseUp routine.

Best regards.
Thanks Klaus! This works great.
Reply With Quote
  #108 (permalink)  
Old 12-18-2008, 08:31 AM
klaus's Avatar
Basic4ppc Expert
 
Join Date: Oct 2007
Location: Switzerland
Posts: 1,806
Awards Showcase
Forum Contributer Beta Tester Competition Winner 
Total Awards: 3
Default

A new version for test:
- Increased the swiping area it covers now the Today and Tomorrow dispalys
- Changed Today display with weather conditions, the Tomorrow display is still the previous one for comparison.

Best regards.
Attached Files
File Type: sbp Weather.sbp (83.4 KB, 6 views)
__________________
Klaus
Switzerland
Reply With Quote
  #109 (permalink)  
Old 12-18-2008, 11:59 AM
Basic4ppc Veteran
 
Join Date: Jan 2008
Posts: 213
Default

Quote:
Originally Posted by klaus View Post
A new version for test:
- Increased the swiping area it covers now the Today and Tomorrow dispalys
- Changed Today display with weather conditions, the Tomorrow display is still the previous one for comparison.

Best regards.
Hi Klaus. I like the concept but it seems to mess up in other languages (specifically French and German) - the words run together

[update] - I'm uploading your code with a change in the GetRemoteRSS error routine. I had added a check for the location cache file which fixes wolfkmann's issue of not being able to switch between locations when there was no connection to the internet.

Last edited by digitaldon37 : 01-10-2009 at 09:42 PM.
Reply With Quote
  #110 (permalink)  
Old 12-18-2008, 02:40 PM
klaus's Avatar
Basic4ppc Expert
 
Join Date: Oct 2007
Location: Switzerland
Posts: 1,806
Awards Showcase
Forum Contributer Beta Tester Competition Winner 
Total Awards: 3
Default

Hi Don,
What words are overlapping or running together, I tried mainly in English,French and German and have not yet found overlapping words.
Is it the first line with Today and the date, the 2nd one with the day name and the temperatures or the 3rd one with the conditions? Is it on the device only or on both?
Did you also have a look at the desktop version, what about having two arrows up and down before the temperatures instead of the two letters?

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 11:40 AM
Pocket Forecast [v.25] (formerly Pocket Weather) - xda-developers This thread Refback 11-17-2008 10: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 On
Pingbacks are On
Refbacks are On

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


All times are GMT. The time now is 09:54 AM.


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