Creating a custom navigation application for campus setup

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.

So what am l doing wrong, how come to you its working

The text box is showing where Carr Saunders building is the issue is now the route


The above images show where l got the API and where l input it in the application

I think I know why. That sometimes happens with ORS directions..
Wait and I will post two different Projects; one using Navigate, the other without Navigate.
you can try. You will have to type your Token in the Blocks to use the Navigate version. The other example should just work.

Load each of these examples and test with Companion

Example without Navigate

Zimbabwe_Univ__withooutNavigate.aia (7.2 KB)

Example with Navigate that should work after you insert your ORS token (the ApiKey Block is in the File1.GotText event handler.)

Zimbabwe_Univ_Diret_fixed.aia (8.0 KB)

If you do not get the desired result immediately either wait for the gps to get a satellite fix or press the Building name again after a few seconds.

OK now, what happens for each example please.

should l load them on a new project or the current one am working on

simply just download the aia's and load them as they are. These are new complete Projects
importaia2

on it

It working l just have to pan the coordinates of the university to the app so that it opens directly on campus

1 Like

This will show campus map on start

Uploading: Screenshot_20231011_173312_appinventor.ai_sinolumbathelmasiyambonga.Zimbabwe_Univ_Diret_fixed.jpg...


Good day
now l want to input the other csv files that l have that is for parking spaces, sports field and roads. as for roads l want to specify their categories eg walking paths and major roads. In the previous blocks we have been using campus buildings only