CosmicFlux
Member
Hello,
I've been reading the GPS tutorials around the forums, but my use case is somewhat different. Erel's excellent example tutorial starts GPS as a Starter service and the GPS position updates in real time. I'm looking to implement a solution that takes a GPS "snapshot" when the user clicks a button. Am I right in thinking the position is only provided as part of the Location Changed event? If so, can I call this function within my click event handler to get the position, and, if so, what do I pass in for the Location argument?
I'm maybe just misunderstanding how this works.
I've been reading the GPS tutorials around the forums, but my use case is somewhat different. Erel's excellent example tutorial starts GPS as a Starter service and the GPS position updates in real time. I'm looking to implement a solution that takes a GPS "snapshot" when the user clicks a button. Am I right in thinking the position is only provided as part of the Location Changed event? If so, can I call this function within my click event handler to get the position, and, if so, what do I pass in for the Location argument?
I'm maybe just misunderstanding how this works.