View Single Post
  #24 (permalink)  
Old 08-10-2008, 03:54 PM
wolfgang wolfgang is offline
Knows the basics
 
Join Date: Apr 2007
Location: Steinheim, Germany
Posts: 74
Default HTC 3650 Cruise WM 6.0 Pro

Hi,
I have had the same problem with my HTC 3650 Cruise WM 6.0 Pro but it is solved now with the GPSINT lib from hsandy. The following code runs without any problem on my device.
Code:
Sub Globals
	n = 0
End Sub

Sub App_Start
	Form1.Show
	hw.New1
	gpsint.New1
End Sub

Sub gpsint_GPSLocationChanged
	If gpsint.GPSValid = true Then
		n = n + 1
		label2.Text = gpsint.GPSUTCTime
		label6.Text = gpsint.GPSSpeed & " [knots]"
		label4.Text = n
		Else
			label2.Text = "no fix, wait"
	End If
	hw.KeepAlive
End Sub

Sub btstart_Click
	If btstart.Text = "Start" Then
		gpsint.openGPS
		btstart.Text = "Stop"
		Else
			gpsint.closegps
			btstart.Text = "Start"
			n = 0
	End If
End Sub

Sub Form1_Close
	gpsint.closegps
	gpsint.Dispose
End Sub
The only thing I do not understand is that label4.Text = n displays only even numbers ( divided by 2 and everything is o.k.). The next HTC GPS problem is that the STATIC-MODE is turned on, which means that under a speed of 2 knots the speed and heading is frozen.

In case off all this problems I phoned with the German support and the answer was: “We do only support TomTom”.

So take care when you buy a HTC.
__________________
Thanks for all
wolfgang
___________________
Desktop: Dual Core 3.0 GHz, XP SP3
Device: IPAQ 3970 WM 2003, Asus 632N WM5, HTC 3650 Cruise
GPS: Clip-on Bluetooth, Navman 3000