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
  #41 (permalink)  
Old 11-25-2008, 10:55 PM
Basic4ppc Veteran
 
Join Date: Jan 2008
Posts: 215
Default

Quote:
Originally Posted by klaus View Post
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.
I got the image demo from one of the other forums - had to use Google to translate the German to English.

I've made a couple of small changes - but I will hold off until you post your copy. It will be easier for me to put these into your version.

I'm not sure about the idea to use a tool bar. I'm trying to make the program finger-friendly and tool bars are usually too small to use.
Reply With Quote
  #42 (permalink)  
Old 11-27-2008, 01:51 PM
Basic4ppc Veteran
 
Join Date: Jan 2008
Posts: 215
Default Version .32

Version .32 has been uploaded to the main post

.32 (11/26/08)
=========================================
- resized main form icons to 50x50
- fixed landscape mode - right side view
- fixed "About" display
- changed "Current" icon border from label
- added error logging in parse subs
- rename PC weather PC Forecast
- fixed detail icons 0-9

Most of the changes are cosmetic and could have been resolved without a new build, but this version adds a setting to turn on error logging for some of the sub-routines. The program should never crash, but it may display (or not display) strange data when it encounters a data (refreshing the weather feed usually fixes that).

Error logging helps those like me who are obsessed with squashing every little bug and writing work-arounds.

I also renamed the PC version from "Weather" to "PC Forecast"

On another note, I am trying to learn how to create cabs. Any recommendations?
Reply With Quote
  #43 (permalink)  
Old 11-27-2008, 05:51 PM
Erel's Avatar
Administrator
 
Join Date: Apr 2007
Posts: 13,162
Awards Showcase
Basic4ppc Founder 
Total Awards: 1
Default

It is pretty simple with SetupBuilder: http://www.basic4ppc.com/forum/offic...der-files.html
__________________
Basic4android documentation
Reply With Quote
  #44 (permalink)  
Old 11-27-2008, 07:32 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've made version 0.33 with VGA resolution.

The About-Panel can be moved now with the mouse or stylus.

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

Quote:
Originally Posted by Filippo View Post
Hi digitaldon37

i've made version 0.33 with VGA resolution.

The About-Panel can be moved now with the mouse or stylus.

Ciao,
Filippo
Thanks! This is one of the things that have been asked for.

I made several changes and have a v.33 also - is there an easy way to take your changes and add them to my v.33?

[edit] I am running win-diff and see most of the changes you made you added a comment (thanks! I'll be able to pull that code out and re-use) and the others seem to be changing the images from center to stretch. Do your changes require your fgControls library, and if so, is the .cs version available to compile in?

I'm trying not to have to distribute any DLLs with the executables.

Last edited by digitaldon37 : 11-28-2008 at 12:42 AM.
Reply With Quote
  #46 (permalink)  
Old 11-28-2008, 12:29 AM
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

Have you tried my about panel?

I think it has the kind of look that the rest of you app is targetting...

I could try to implement the X,Y coordinated and mousedown and mouseup events...If you do require them...

Edit:
@fillipo: You seem to be using yet the textfiles from version v.2X, wich has several errors in it like "Tomoorow", and the Last update time is always 12:00, even tought it's now 00:37....
__________________
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-28-2008 at 12:40 AM.
Reply With Quote
  #47 (permalink)  
Old 11-28-2008, 02:41 AM
Basic4ppc Veteran
 
Join Date: Jan 2008
Posts: 215
Default Version .33

Version .33 developers edition has been uploaded to the main post

.33 (11/26/08)
=========================================
- Added S2U support integration
- Tweak theming
- Added details, buttons mapping file
- Added "realize" theme


The S2U was asked by one of the users and is kind of cool. Pocket Forecast updates a registry key and S2U displays the weather status.

I appreciate the help and feedback. I know Klaus is working on background image support, Filippo added VGA support (I have to pull his code out and add to the main branch) and Cableguy pointed me in the direction of a custom panel which I'm going to look at.
Reply With Quote
  #48 (permalink)  
Old 11-28-2008, 08:16 AM
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,

the library fgControl.dll is used only to the About-Panel and a move to add boundary.
Quote:
is the .cs version available to compile in?
unfortunately no.

@Cableguy: I do not use your about-panel


Ciao,
Filippo
__________________
PPC: MDA Pro, 2GB SD
Device: HTC Desire , Android 2.2
______________________
Reply With Quote
  #49 (permalink)  
Old 11-28-2008, 08:32 AM
Basic4ppc Veteran
 
Join Date: Feb 2008
Location: Hilversum, The Netherlands
Posts: 295
Awards Showcase
Beta Tester 
Total Awards: 1
Default

Great stuff
I just noticed some spelling mistakes:
Tomoorow
Waether
upate

:-)

this is in the .33 version...
Attached Images
File Type: jpg 11-28-2008 9-29-38 AM.jpg (25.8 KB, 10 views)
Reply With Quote
  #50 (permalink)  
Old 11-28-2008, 02:55 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,

Here is the version with the image background.

It is based on your version 0.32.
The first goal is to show what could be done.

What is missing:
- landscape mode not yet done
- other screen sizes not done
- no theme on the settings form

What has changed:
- all the Labels on Form1 are not necessary and were removed.
- Form2 is removed
- added a themeBordreColor in the INI file
- replaced the theme Textbox in the settings form by a Combobox

I have updated the E, D, F text files.
Please check for the others I, P, S for changes. Be aware that in these last files there is one text line more than in the older ones. And if you have added some other texts in the program they should be added.

The themes are in seperate zip files, they are too big.
Copy the themes in 'sky' and 'sunset' folders in the themes folder.

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:51 AM.


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