GPS map navigation and routing

zen

New Member
Hi experts,

Need advise on how to draw map for PPC and to do routing using GPS data.

Rgds
 

eddy_ys

Member
How to switch off the GPS inside the PPC

Erel,
:sign0085:
I wrote an application which sends the coordinate and speed via sms when the speed reaches certain value.
However, I don't need a continuous monitoring. All I want is the GPS check the speed every 15 minutes and if the speed exceeds the limit, it will send the sms.
How to turn of the GPS during the idle time before the next 15 minute time elapses?
I find my PPC battery drains out very quickly when my application runs. I guess the cause is from the GPS being turned on and receiving satellite signals continuosly.
Please enlighten!
 

eddy_ys

Member
How to turn on the device after a predefined time elapses?

Erel,
Good question to me.
For this purpose, I keep the device on while turning the backlight OFF (from Settings).

I know this only saves the battery from using it power for the backlight.
Still it consumes power because the device is not OFF.

Could you suggest how to turn off the device while maintaining the application runs in the background?
The device shall also be able to be turned ON again after a predefined time.

Homework....


;)
 

eddy_ys

Member
Erel,
The application which turns on other application at specified time is also an application!
That means, when the device is turned off, this "Hardware.RunAppAtTime" is stopped as well.
So?
 

eddy_ys

Member
Erel,
Please have a look at my program.
I activate the "Hardware1.RunAppAtTime" based on Timer1_Tick.
Soon after I run the program, I switch off the device (Not to power off ya..)
Then I wait, but the
Hardware1.RunAppAtTime(AppPath & "\TurnOtherAppON.exe", x)
never turns on the TurnOtherAppON.exe.

What is the best sub to put the Hardware1.RunAppAtTime?
Should it be at the APP_START?

Please enlighten!:sign0085:



Sub Globals
End Sub
Sub App_Start
AddForm("Form1","Form1")
Form1.Show
Hardware.New1
AddTimer("Timer1")
Timer1.Enabled = True
Timer1.Interval = 60000
AddTimer("Timer2")
Timer2.Enabled = True
Timer2.Interval = 1000
End Sub
Sub Timer1_Tick
x = TimeParse("17:10")
x = DateAdd(t,0,0,0)
Hardware1.RunAppAtTime(AppPath & "\TurnOtherAppON.exe", x)
End Sub
Sub Timer2_Tick
Sound("tick.wav")
End Sub
 

eddy_ys

Member
Hi Erel,
Oh, that is to time-trigger the other application to start/run at 17:10 on the same day.
Just to test it directly.....
 
Top