Creating a custom navigation application for campus setup

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

what l have noticed is that the gps signal when you are inside a building its weak hence am not sure if its possible to create a navigation app within a building

I have been trying to go through my blocks and yours to see where l am missing it , how come the API key is working on yours

  • create a separate csv for these other facilities
  • or add the destinations for these to your existing List of destinations.

Yes, the signals are weak. Navigation Within A Building - #4 by SteveJG

Probably because you input your api token in the aia Block?

I did try using it in the blocks unless if it was a case that l was supposed to delete it in the design

if l create different csv file where am l supposed to attach them in the blocks am l supposed to use the join block

  • no you cannot use the join block

  • there are many ways you can do this. An 'easy' way is to provide a second File control as indicated below. Another way would be to load the facilities csv and provide a switch to select between them. This is YOUR app. Try some blocks on a copy of the app Project that works so that if you make a coding mistake, you can recover.

  • different csv then you can use a second File control (File2) and second ListView possibly and then use similar Blocks as below. You need to replace destSubList with facilitiesSubList and an appropriate name for your second csv

You need to adapt the File1 code to File 2 blocks

for the read from filename block am supposed to put the first file , the second file in the same text block

I am sorry, I do not know what your are suggesting.

I cannot build YOUR app.

You need to experiment and learn to code; not just copy existing code.

You might provide a second app for facilities directions; essentially just replace the csv in the original app with your csv facility file. Change the app name. This way is an easy way to provide a stand alone facilities app.

Alternatively, just expand your existing destination csv. :wink: Have all locations on one app.

If you need more help with your worthwhile Project, check with someone on the university computer department to get advice.

Here are some resources to help you learn to use the AI2 tools. A very good way to learn App Inventor is to read the free Inventor's Manual here in the AI2 free online eBook App Inventor 2 Book: Create Your Own Android Apps ... the links are at the bottom of the Web page. The book 'teaches' users how to program with AI2 blocks.

There is a free programming course here Course In A Box and the aia files for the projects in the book are here: App Inventor 2 Book: Create Your Own Android Apps

How to do a lot of basic things with App Inventor are described here: How do you...? .

Also look here App inventor español. Offline. Tutorial. Ejemplos. Instalación. Códigos. Juegos. Curso gratis de App inventor. and here http://www.imagnity.com/tutorial-index/ for more tutorials including Imagnity.com List Tutorial, Mirrored - @Saj

Learn about components Component Reference
and visit the Library The MIT App Inventor Library: Documentation & Support Help>Library on the MENU

Thank you

@sinolumbathelma , I have been experimenting. I have an example using two ListView components I would like to publish as a tutorial for the community showing how intents can also be used to locate buildings.

If I have your permission to use your Zimbabwe building csv in the tutorial I will post the tutorial in a few days and a copy here for you to test. I need to know the Zimbabwe part of the tutorial works.

Thank you.

You can use the buildings Csv

1 Like

Thank you.

Please try TwoLV_CampusExperiment.aia (12.3 KB) and let me know if if works for you.

-- Steve

Good day
I tried out the TwoLV_CampusExperiment and its working properly and l actually enjoyed working on it instead of the other one that we have

Thus l want to try and leave the buildings for University of Zimbabwe only