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.


Gps4ppc


Reply
 
LinkBack Thread Tools Display Modes
  #1 (permalink)  
Old 06-12-2007, 03:30 PM
Erel's Avatar
Administrator
 
Join Date: Apr 2007
Posts: 2,306
Default Gps4ppc

This application includes a couple of tools you can use with GPS and / or with navigation.
It supports:
- Converting coordinates between Lat / Lon and UTM grids.
- Converting coordinates between different datums and different formats.
- Calculating the distance and course between two coordinates.
- Using a GPS device it can show the present position, speed, and course (digitally and visually) in different formats, datums and grids.
- It includes an on screen large numpad so there is no need to use the smaller soft keyboard.

The setup file can be downloaded here: http://www.basic4ppc.com/files/GPS4PPC.zip

The source code is attached.

Attached Files
File Type: zip GPS4PPC.zip (41.1 KB, 194 views)

Last edited by Erel : 01-07-2008 at 08:04 AM. Reason: Source code was fixed.
Reply With Quote
  #2 (permalink)  
Old 10-09-2007, 02:27 PM
Newbie
 
Join Date: Oct 2007
Posts: 2
Default compile for WM 6.0

I'm a new user and I'm sorry for my english. I would like to know how can I choose in basic4ppc the type of compilation. I've tried the Gps4ppc exe file for wm6 and it works correctly but if I try to compile the source file with my basic4ppc, after the installation on the device, I have an error. In fact, at the end of the installation Windows says that the program is planned for one previous version.
Reply With Quote
  #3 (permalink)  
Old 10-09-2007, 02:38 PM
Erel's Avatar
Administrator
 
Join Date: Apr 2007
Posts: 2,306
Default

The source code uses SerialDevice.dll / SerialDesktop.dll libraries.
These libraries are only supported on .Net CF 1.0.
WM6.0 devices are installed with .Net CF 2.0.
The Serial2 library is supported by .Net CF 2.0.
Using Tools - Components, you should remove these two libraries and add Serial2.dll to the device and desktop.
See this page for more information about .Net CF 1.0/2.0: www.basic4ppc.com/netcf2.html
Reply With Quote
  #4 (permalink)  
Old 10-10-2007, 09:43 AM
Newbie
 
Join Date: Oct 2007
Posts: 2
Default

it works correctly, thank you
Reply With Quote
  #5 (permalink)  
Old 10-10-2007, 12:31 PM
Newbie
 
Join Date: Oct 2007
Posts: 1
Default Idea for using GPS4PPC

Hi

Sorry if I posted this in the wrong place!

I have an idea for an application using GPS. I haven't been able to find this done by anyone else, and I think other people would find it useful aswell.

My idea is, I would like to be able to log co-ordinates of a journey using GPS, then display them later, overlaid as a "trail" on a map - preferably one of the web maps, like googlemaps or multimap. I know the logging would be possible, but I have no idea whether overlaying the trail on someone elses map is possible!

Any ideas anyone?

Mole
Reply With Quote
  #6 (permalink)  
Old 10-10-2007, 02:46 PM
alfcen's Avatar
Basic4ppc Veteran
 
Join Date: Apr 2007
Location: Okinawa, Ryukyu
Posts: 409
Default

Hello Mole,

Such applications already exist:

http://www.alfcen.com/pocket/chikyu.html
http://www.alfcen.com/pocket/shashin.html

And... they are written in Basic4PPC.

Cheers
Robert
Reply With Quote
  #7 (permalink)  
Old 10-10-2007, 03:02 PM
Senior Member
 
Join Date: May 2007
Posts: 146
Awards Showcase
Competition Winner 
Total Awards: 1
Default Recording GPS

Hi
Your Idea has been implemented (like most of the good ideas) :
this is a code fraction for the recording of the parameters:

If flag.recording = -2 Then
record_line(line) = t_time & "," & t_date & "," & t_speed & "," & t_track & "," & temp_long & "," & t_EW & "," & temp_lat & "," & t_NS & "," & t_alt & "," & t_sat
lineno.Text = line
If line < 2998 Then line = line + 1
End If

all the lines of parameters are stored in an array and if the user want to save - it is written to a file using the following sub:

Sub SavePB_Click
StopM_Click
SaveDialog1.Filter = "PlayBack files|*.rec"
If SaveDialog1.Show <> cCancel Then
WaitCursor (True)
PBfile = SaveDialog1.File
FileOpen(c20,pbfile,cwrite)
line = 0
Do
line = line + 1
FileWrite(c20,record_line(line))
Loop Until record_line(line) = "RECORD END"
FileClose(c20)
line = 1
WaitCursor (false)
Else
Return
End If
End Sub

I don't place this recording on the map because it will take too much runtime resources (lines are recorded every few seconds), but I can put on the moving map a route, made by connecting way-points with a line, while each way-point is drawn by a small circle, see photo attached.
Attached Images
File Type: jpg route.jpg (53.6 KB, 139 views)
__________________
David Erez
Ramat Hasharon, Israel
Reply With Quote
  #8 (permalink)  
Old 10-13-2007, 10:29 AM
Junior Member
 
Join Date: May 2007
Posts: 12
Default

Hello derez,
what programm are you using for the movingmap.
Is it written in Basic4ppc?
I'm searching about a Software that can do movingmap.
Thanks about your help
Stefan
Reply With Quote
  #9 (permalink)  
Old 10-15-2007, 08:08 AM
Senior Member
 
Join Date: May 2007
Posts: 146
Awards Showcase
Competition Winner 
Total Awards: 1
Default

Quote:
Originally Posted by mcflaytasche View Post
Hello derez,
what programm are you using for the movingmap.
Is it written in Basic4ppc?
I'm searching about a Software that can do movingmap.
Thanks about your help
Stefan
hi
The program is what I wrote myself.
Since the map is a picture (jpg), I use the function DrawImage to put the picture on the screen, where the position of the origin is calculated as the distances from the relative coordinate to the map origin, multiplied by the factor of conversion from distance to pixels on the screen.The position is refreshed every time I have new position coordinates from the gps.
__________________
David Erez
Ramat Hasharon, Israel
Reply With Quote
  #10 (permalink)  
Old 11-02-2007, 10:11 PM
Newbie
 
Join Date: Oct 2007
Posts: 2
Default

Hello,

I am a new user and need help. I cannot make the software to work on the ipaq3955 after installation. It is missing the file GPS4PPC.EXE. Only pictures of Lat Long, Converter & GPS were shown but cannot access application.

Anyone got some idea?

Thanks
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
GPS4PPC in opticomp Put Claude Questions & Help Needed 2 01-07-2008 06:51 PM


All times are GMT. The time now is 03:36 AM.


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