GPS Software Design, Kokai Senbashi

Discussion in 'Open Source Projects' started by alfcen, Nov 21, 2007.

  1. alfcen

    alfcen Well-Known Member Licensed User

    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
     
  2. Henry

    Henry Member Licensed User

    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!
     
  3. Filippo

    Filippo Expert Licensed User

    Hallo Robert,

    :sign0188: :sign0098:


    Ciao,
    Filippo
     
  4. alfcen

    alfcen Well-Known Member Licensed User

    Hallo Filippo
    In my opinion, the most useful feature is the system clock setting, thanks to YOUR library. :sign0142:
     
  5. Filippo

    Filippo Expert Licensed User

    Hallo Robert,

    I have changed these Procedur.

     
  6. alfcen

    alfcen Well-Known Member Licensed User

    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
     
  7. Henry

    Henry Member Licensed User

    I think there was an error in

    Code:
    banner = SubString(banner, 1, StrLength(banner)-1) & SubString(banner,11)
      labBan.Text = banner
    To copy first char should be used SubString(banner,0, 1)... I'm right?
     
  8. alfcen

    alfcen Well-Known Member Licensed User

    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.
     
  9. GeoTrail

    GeoTrail Member Licensed User

    I'll take 3 manuals and a coffee to go ;)

    Btw, my name is Robert too :sign0188:
     
  10. alfcen

    alfcen Well-Known Member Licensed User

    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
     
  11. mjcoon

    mjcoon Well-Known Member Licensed User

    Hmmm, and who maintains old downloads once they have moved on... that old link now seems stale, now I have discovered this interesting developers' product and forum!

    (I am a refugee from Psion PDAs, which originally came with a built-in Basic-like development environment.)

    Cheers, Mike.
     
  12. alfcen

    alfcen Well-Known Member Licensed User

    Hi Mike,
    Welcome aboard.
    Fully agreed about maintenance.
    I had to give up my previous server for financial reasons.
    Hobby will have to wait until better times.

    Cheers
    Robert
     
  13. Cableguy

    Cableguy Expert Licensed User

    @Alfcen:

    Have you considered, having your own desktop acting as a webserver?
    Almost surtenly, your internet SP, does have some cliente alocation space for free, and there are a few "redirection" web-sites that would redirect your web address to your IP...
     
    Last edited: May 28, 2008
  14. SavCo

    SavCo New Member

    Could not download anything from your site. I am working on a GPS project as well and am interested in your example. Are your files stored anywhere else?
     
Loading...