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
Documentation Wiki Register Members List B4P Search Today's Posts Mark Forums Read

Share Your Creations Show your developed application to Basic4ppc community. Please include source code if possible.

Railway station clock

Reply
 
LinkBack Thread Tools Display Modes
  #1 (permalink)  
Old 08-17-2008, 09:59 AM
Knows the basics
 
Join Date: Apr 2007
Location: Steinheim, Germany
Posts: 91
Default Railway station clock

Hi,
When I tried to help someone with the trigonometry, I felt that this job could be finished. The result is a railway station clock. Uses “DrawThickLine” from Erel. The digital clock is only to control the analog clock and because it’s so easy. Just for fun.
Attached Files
File Type: sbp db_clock.sbp (2.5 KB, 250 views)
__________________
Thanks for all
wolfgang
___________________
Desktop: Dual Core 3.0 GHz, Win7
Device: IPAQ 3970 WM 2003, Asus 632N WM5, HTC 3650 Cruise
GPS: iblue 747
Reply With Quote
  #2 (permalink)  
Old 08-17-2008, 02:34 PM
specci48's Avatar
Basic4ppc Expert
 
Join Date: Apr 2007
Location: Germany
Posts: 1,057
Awards Showcase
Beta Tester Forum Contributer 
Total Awards: 2
Default

Very nice, I really like it.
Reply With Quote
  #3 (permalink)  
Old 08-18-2008, 03:37 PM
Bobbes's Avatar
Basic4ppc Veteran
 
Join Date: Oct 2007
Posts: 232
Default

Very good,
I hear the voice from the railwayguard: "mind the gab"
__________________
Schönen Gruß
Bernd


MDA Compact
MDA Vario
MDA Vario III
Reply With Quote
  #4 (permalink)  
Old 08-20-2008, 12:28 AM
Newbie
 
Join Date: Jul 2008
Location: Canada
Posts: 7
Awards Showcase
Beta Tester 
Total Awards: 1
Default Cool

I really like it
Reply With Quote
  #5 (permalink)  
Old 08-20-2008, 01:51 PM
klaus's Avatar
Basic4ppc Expert
 
Join Date: Oct 2007
Location: Fully, Switzerland
Posts: 4,463
Awards Showcase
Forum Contributer Beta Tester Competition Winner 
Total Awards: 3
Default

Hi wolfgang,

I agree with the others, pretty nice !!!
__________________
Klaus
Switzerland

Beginner's Guide / User's Guide
Reply With Quote
  #6 (permalink)  
Old 08-21-2008, 05:05 AM
Knows the basics
 
Join Date: Apr 2007
Location: Steinheim, Germany
Posts: 91
Default Railway station clock

Thanks for your friendly comments.

@ Klaus: “Wer hat’s erfunden? Die Schweizer, oder (Ingenieur Hans Hilfiker, 1944).
__________________
Thanks for all
wolfgang
___________________
Desktop: Dual Core 3.0 GHz, Win7
Device: IPAQ 3970 WM 2003, Asus 632N WM5, HTC 3650 Cruise
GPS: iblue 747
Reply With Quote
  #7 (permalink)  
Old 08-21-2008, 10:14 AM
klaus's Avatar
Basic4ppc Expert
 
Join Date: Oct 2007
Location: Fully, Switzerland
Posts: 4,463
Awards Showcase
Forum Contributer Beta Tester Competition Winner 
Total Awards: 3
Default

Hallo wolfang.
Auf deine Frage:

Quote:
“Wer hat’s erfunden? Die Schweizer, oder (Ingenieur Hans Hilfiker, 1944).
habe Ich folgene Antwort:
Der Schweizer Ingenieur Hans Hilfiker hatt sie kreiert, in 1944, er war dahmals Angestellter der Schweizerischen Bundesbahnen. Der heutige Desing stammt aus 1955.
hilfiker clan - hilfiker hans 1901-1993
Ich weiss das aber auch erst seit Heute.

Als Herausforderung könntest Du ja mal versuchen seine Uhr nachzubilden.Die Bewegung des Sekundenzeigers ist nämlich etwas schwieriger als die die in den beiden Beispielen im obigen Link nachgebildet ist.
Der Sekundenzeiger macht eine volle Umdrehung mit konstater Geschwindugkeit in 59 Sekunden, und hält 1 dann Sekunde auf 12 Uhr an. Das ist das Signal zur Abfaurt der Züge. Während dieser Sekunde bewegt sich der Minutenzeiger um 1 Minute.
Die richteige Bewgung sieht man hier.
SBB: Reisen. Fahrplan - Ticket Shop - News - Angebote - Billette und Abonnemente - Freizeit - Ausflüge - Europareisen

Hi wolfgang,
On your question
Who invented it, the swiss or the engineer Hans Hilfiker in 1944 ?

The answer is:
The swiss engineer Hans Hilfiker designed it in 1944, he was at that time employee of the Swiss Fedaral Railways.

As a challenge cou could try to reproduce his clock. The movement of the second hand is somewhat more difficult that those shown in this Link.
hilfiker clan - hilfiker hans 1901-1993
The second hand makes one full revolution in 59 seconds and then stopps for 1 second at 12h. That is the signal for the departure of the trains. During this time the minute hand moves 1 minute.
The real movement can be seen here:
SBB: Reisen. Fahrplan - Ticket Shop - News - Angebote - Billette und Abonnemente - Freizeit - Ausflüge - Europareisen

Beste Grüsse, Best regards and good luck.
__________________
Klaus
Switzerland

Beginner's Guide / User's Guide
Reply With Quote
  #8 (permalink)  
Old 12-03-2010, 10:01 PM
Basic4ppc Expert
 
Join Date: May 2008
Location: Berkshire, UK
Posts: 810
Awards Showcase
Beta Tester 
Total Awards: 1
Default

Quote:
Originally Posted by klaus View Post
Hi wolfgang,

I agree with the others, pretty nice !!!
I expect I would find it so, too...

But unfortunately I'm using 6.90 and Erel said back in May that he didn't know when he would fix the bug that prevents use of ArrayList with Polygon, as in this program. And I imagine that he is too involved with Android. Also I do not feel inclined to pay for updates in order to get bug fixed!

So would anyone like to re-cast the code to use plain arrays or a structure? I might do it myself, as an exercise, but not very soon...

Mike.
Reply With Quote
  #9 (permalink)  
Old 12-04-2010, 08:34 PM
Junior Member
 
Join Date: Mar 2008
Posts: 14
Awards Showcase
Beta Tester 
Total Awards: 1
Default

I think this might do what you are asking for. The second hand moves just more than 6 degrees every second and waits for 1 second at the top.
Enjoy.
Robin
Attached Files
File Type: sbp db_clock_updated.sbp (2.8 KB, 41 views)
Reply With Quote
  #10 (permalink)  
Old 12-05-2010, 03:10 PM
Basic4ppc Expert
 
Join Date: May 2008
Location: Berkshire, UK
Posts: 810
Awards Showcase
Beta Tester 
Total Awards: 1
Default

Quote:
Originally Posted by robinathome View Post
I think this might do what you are asking for. The second hand moves just more than 6 degrees every second and waits for 1 second at the top.
Thanks for that; very neat. Also for retaining the comments to show how the compact use of Array() to set up the structure is working.

Mike.
Reply With Quote
Reply


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
Clock, Table & Textbox won't Display epsharp Questions (Windows Mobile) 2 10-31-2008 11:34 AM
Simple Chess Clock erzee Share Your Creations 1 07-25-2008 01:46 AM
How to use timer to clock speed of subs? Stellaferox Questions (Windows Mobile) 4 02-28-2008 07:07 AM
Icon near the clock vitramir Questions (Windows Mobile) 7 12-13-2007 03:14 PM
Landscape Night Clock Alex812 Share Your Creations 4 07-03-2007 02:18 PM


All times are GMT. The time now is 12:04 PM.


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