06-26-2019 04:28 AM
Is there anyway to run sql insert from mobile application every 5 minutes (for example) automatically, inserting current gps location of the mobile itselfe??
Solved! Go to Solution.
06-27-2019 12:45 AM
you can use the GPS track view to permanently record GPS positions.
Inside your Shell.xaml add the following to your views:
<Navigation Id="GPSTrackNavigation"> <View Id="GPSTrackPage" Title="GPS Track" View="GPSTrack" ViewModel="GPSTrack" /> </Navigation>
Add a new menu item:
<MenuItem Target="GPSTrackNavigation" Title="Track" Icon="Gps" Type="Toolbar" />
06-27-2019 06:26 AM
That is very nice,
Now we need the database save action without user interaction (automatically and beriodically), what is the code lines i have to add to the xaml file?
07-02-2019 12:34 AM
firstly i want explamation about View="GPSTrack" ViewModel="GPSTrack" what mean each of them
secondly i make same as in your post but i get an error wen i press to stop and save the recorded path
and the error is attached
thirdly if there is way to know if this recorded path saved in my database and where