Creating a custom navigation application for campus setup

No, do not change the two 0's . They are there to determine if the LocationSensor has made a location change determination. The default coordinates are 0,0 before the satellite fix occurs.

okay let me try again

1 Like

How best can l incorporate reading the csv file into the simple navigation blocks tutorial without starting again using the csv tutorial

Before I answer the question about csv, did you

did you try again and the example works with the simple destination list?

Do you mean this example
Creating a custom navigation application for campus setup - #10 by SteveJG ?

  • create your csv; perhaps campus.csv
  • place your csv file in the Designer media
  • make a List from the csv using list from csv table

  • then blocks similar to the blocks used in the mentioned csv tutorial and use them with the ListView to place the values in TextBox1 and TextBox2 perhaps. something similar to

See posts below for more advice.

just realized you have the order of latitude and longitude switched from what the example REQuiRES
switch2.

For the code to work you have to have building latitude longitude in that order.

Once you create the csv , load it to Media. Use a File control to create the destination List from the csv.
Something like this should work.

csv

agriculture

Thank you let me try that and l will also rearrange the coordinates to how you advised and get back to you with feedback

These are the blocks that l have used for the entire project, also the corrected csv and the screenshot from my android device yes it can read my current location however am still not getting the path


csv

yes l tried again and it did not work

yes that is the tutorial l was referring to

I followed all the steps to input the csv hopefully l did it correctly

Congratulations. I think you are almost there. :smile:

You have some misplaced Blocks. Moving them might be an instant fix.

The circled blocks should go after the if..then..else Block.

You made slight changes to accommodate using the File and csv. These may be ok but I haven't checked them yet. I think they are OK.

The following blocks were included for use in checking the app. You should either gray them out or delete them. Having them active may make map panning difficult.

errors2

Here is a working aia using the 'old' Destination List creation methods. Enter your OSR api code and they might work.

Zimbabwe_Univ_Diret.aia (8.2 KB)

If you post your csv file I can see if there are any other issues and test it. I need the file. uz_cent_clean.csv you can post it here, you might have to change the suffix from .csv to txt to be able to attach the file.

You have been busy.

okay lemme make the corrections and attach the csv as well
uz_cent_clean.csv (1.9 KB)

please help after downloading the aia what am l supposed to do to be able to see it

Yes l have been busy but with your help l think l will get there am truly grateful for your patience and help every step of the way
thank you


I hope l have corrected it correctly

Almost. The Notifier block belongs in the else puzzle slot.

C2

looks fine. does your app work now?

I have not tried it yet l thought you are still looking at the csv file

csv file loads fine :smile: in a similar app.. Go ahead and try.

am keeping my fingers crossed

Sorry for the delay in the response l had to change venues
this is what am getting when trying the application



Then l wanted to ask how to make the search bar smaller so that it dos not cover the entire screen of the application like in the below sceenshot

make the ListView list shorter???
limitLVheight

What I get now using a dummy location for the user (green marker) and your csv file.