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.


GPS Software Design, Kokai Senbashi


Reply
 
LinkBack Thread Tools Display Modes
  #1 (permalink)  
Old 11-21-2007, 11:07 AM
alfcen's Avatar
Basic4ppc Veteran
 
Join Date: Apr 2007
Location: Okinawa, Ryukyu
Posts: 424
Default GPS Software Design, Kokai Senbashi

Hi gang,

This Open Source project, Kokai Senbashi (Japanese for "Navigation Bridge"), does not only demonstrate the powerful GPS functions of Basic4ppc, but also:

1. Standard menu layout
2. Use of Image Buttons for 3D buttons
3. Retrieval of Zone Time
4. Retrieval of Owner Name
5. Setting of device system clock
6. INI file management
7. Scanning for GPS in the registry
8. Use of hardware.dll functions
9. Reading of GPS HDOP and quality values
10. Date, time, sexagesimal conversions and other routines

The source is included in the ZIP download as is the project file for PPC Installation Creator by which the installer was compiled. Requires framework 2.0 or higher. Tested on an iPAQ h2200 Pocket PC 2003.

Use or abuse; code support cannot be provided. A users' manual is US$ 1,050.00

Enjoy exploring and programming with Basic4ppc and please don't forget to post your improvements in the forum.

Cheers

Robert

The project is too large for upload to the forum.
Download:
http://www.alfcen.net/anjin/anjin.zip
ZIP 1.25MB
Reply With Quote
  #2 (permalink)  
Old 11-21-2007, 03:19 PM
Junior Member
 
Join Date: Oct 2007
Posts: 18
Default

First look at code looks nice. I'm just working also on gps application (statistics for fix times and position quality) so I can learn something Thanks for sharing yours knowledge!
Reply With Quote
  #3 (permalink)  
Old 11-21-2007, 06:37 PM
Filippo's Avatar
Senior Member
 
Join Date: May 2007
Location: Schwäb. Gmünd, Germany
Posts: 198
Default

Hallo Robert,




Ciao,
Filippo
__________________
PPC: MDA Pro, 2GB SD
PPC: HTC Touch Diamond, 4GB
______________________
Reply With Quote
  #4 (permalink)  
Old 11-22-2007, 03:32 AM
alfcen's Avatar
Basic4ppc Veteran
 
Join Date: Apr 2007
Location: Okinawa, Ryukyu
Posts: 424
Default

Hallo Filippo
In my opinion, the most useful feature is the system clock setting, thanks to YOUR library.
Reply With Quote
  #5 (permalink)  
Old 11-22-2007, 09:06 PM
Filippo's Avatar
Senior Member
 
Join Date: May 2007
Location: Schwäb. Gmünd, Germany
Posts: 198
Default

Hallo Robert,

I have changed these Procedur.

Quote:
Sub RegisterPath
Dim key
reg.RootKey(reg.rtCurrentUser)
key = "Software\RBSoft\Kokai"
reg.CreateSubKey("",key)
reg.SetStringValue(key,"Path",AppPath & "\anjin.exe")
End Sub
__________________
PPC: MDA Pro, 2GB SD
PPC: HTC Touch Diamond, 4GB
______________________
Reply With Quote
  #6 (permalink)  
Old 11-22-2007, 11:26 PM
alfcen's Avatar
Basic4ppc Veteran
 
Join Date: Apr 2007
Location: Okinawa, Ryukyu
Posts: 424
Default

Hallo Filippo,

Mille Gracie, this is elegant, much smarter than an ErrorLabel.

I overlooked that CreateSubKey will do nothing if the key already exists.
That's safe enough. Actually, the installer will create a complete registry section. If you run the source code in the IDE it will not.

If there is anything more that could be improved or abbreviated, please be so kind as to let me know.

Ciao
Robert
Reply With Quote
  #7 (permalink)  
Old 11-26-2007, 07:17 AM
Junior Member
 
Join Date: Oct 2007
Posts: 18
Default

I think there was an error in

Code:
banner = SubString(banner, 1, StrLength(banner)-1) & SubString(banner,1, 1)
  labBan.Text = banner
To copy first char should be used SubString(banner,0, 1)... I'm right?
Reply With Quote
  #8 (permalink)  
Old 11-26-2007, 07:42 AM
alfcen's Avatar
Basic4ppc Veteran
 
Join Date: Apr 2007
Location: Okinawa, Ryukyu
Posts: 424
Default

Strictly speaking yes. I always use a cushion of 5 spaces, Chr(32), before and after the text in that this doesn't really make a difference.

Without that cushion the first character will escape your eye at a timer interval as short as 200ms or so.

Thanks for your feedback.
Reply With Quote
  #9 (permalink)  
Old 02-17-2008, 05:47 AM
GeoTrail's Avatar
Junior Member
 
Join Date: Apr 2007
Location: Bergen, Norway
Posts: 39
Talking

Quote:
Originally Posted by alfcen View Post
A users' manual is US$ 1,050.00
I'll take 3 manuals and a coffee to go

Btw, my name is Robert too
Reply With Quote
  #10 (permalink)  
Old 02-19-2008, 07:33 AM
alfcen's Avatar
Basic4ppc Veteran
 
Join Date: Apr 2007
Location: Okinawa, Ryukyu
Posts: 424
Default

Hello Robert,
Great to 'meet' you! I'll buy you the coffee
Rather than writing manuals I often prefer to turn to the next project.
In a way, we are all programmers, and... who reads manuals?

I will provide an update of Kokai Senbashi as soon as the gps.dll
will be modified to deliver more details, such as satellite numbers
and positions. Sure, it can be done by parsing the NMEA string,
however, a dll is faster considering that everything must happen within
a second.

BTW, I've been to Bergen twice, both days with sunshine and blue sky.
I guess you have such weather two or three times a year, depending
on which side of the tunnel you are. Anyway, Norway is a great country
and home to beautiful nature. Fjords, lakes, forests.. all on the same spot.

Cheers
Robert
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 On
Pingbacks are On
Refbacks are On

Similar Threads
Thread Thread Starter Forum Replies Last Post
Wrong numUpDown control during design on the device specci48 Bug Reports 0 05-20-2007 07:24 AM
Desktop Version - Design and Code at the same time sloopa Basic4ppc Wishlist 2 05-08-2007 05:55 PM


All times are GMT. The time now is 03:00 PM.


Powered by vBulletin® Version 3.6.10
Copyright ©2000 - 2008, Jelsoft Enterprises Ltd.
Content Relevant URLs by vBSEO 3.1.0