“SBurK” Documentation v2.6


“Android Apps for Parents and Drivers”


Table of Contents

  1. What is SBurK?
  2. Parent App
  3. Driver App
  4. Firebase setup
  5. Ad setup
  6. FAQ

A) What is SBurK? - top

SBurK is a comprehensive system for school bus tracking that manages the daily school bus operation. SBurK consists of three sub systems, which are

Here we present the Android mobile apps for parents and drivers

I strongly recommend to setup the backend first, then the mobile apps.


B) Parent App - top

In order to build the android app for parents correctly, please make sure that you have accounts for

Please install Android Studio 3.5 or above, then open it and follow the following steps

  1. Go to file-> open and go to the location of the purchased "SchoolBusTracker" folder
  2. In the left pane, open gradle-wrapper.properties file
  3. Make sure that you set the gradle version to 7.2 in the last line of the file
  4. distributionUrl=https\://services.gradle.org/distributions/gradle-7.2-all.zip
    
  5. In the left pane, open "Util.java" file
  6. Change the value for the variable "WEB_SERVER_URL" with your backend url
  7. Change the value for the variable "WEB_SOCKET_SERVER_HOST" with your laravel-echo-server url
  8. Change the value for the variable "WEB_SOCKET_SERVER_PORT" with your laravel-echo-server port number
  9. Edit Util.java file
  10. Mapbox setup

C) Driver App - top

In order to build the android app for drivers correctly, please make sure that you have accounts for

Please install Android Studio 3.5 or above, then open it and follow the following steps

  1. Go to file-> open and go to the location of the purchased "SchoolBusDriver" folder
  2. In the left pane, open gradle-wrapper.properties file
  3. Make sure that you set the gradle version to 4.10 in the last line of the file
  4. distributionUrl=https\://services.gradle.org/distributions/gradle-7.2-all.zip
    
  5. In the left pane, open "Util.java" file
  6. Change the value for the variable "WEB_SERVER_URL" with your backend url
  7. Edit the "AndroidManifest.xml" file to add your Google maps api key
  8. 	#change the value with your api key
            <meta-data
                android:name="com.google.android.geo.API_KEY"
                android:value="YOUR GOOGLE MAPS API KEY HERE" />
    
  9. Do the same steps as above in parent app for mapbox setup (you can use the same key)

D) Firebase setup - top

  • Go to your fire base account
  • Add new project and name it "SBurK", if you do not perform this step when you install the backend
  • Firebase cloud messaging
  • Click on the Android icon to add Firebase to your Android app
  • Firebase cloud messaging
  • Do the following for both android apps

  • E) Ad setup - top

  • Set app id in AndroidManifest.xml
  • Set app id in AndroidManifest.xml
  • Set app unit id in activity_main.xml
  • Set app unit id in activity_main.xml

    F) FAQ - top

    1. How to change the share message of the driver and parent apps?
    2. Edit the string.xml file in the path "app/src/main/res/values" at the tag

      		<string name="share_body">
      
      You can also edit it in other languages in the folders values-lang, where lang in {"de", "fr", ..}

    3. Notifications not working
    4. Make sure that you installed the "google-services.json" file in the path "SchoolBusTracker/app"

      In Android studio, click on file->Invalidate Caches / Restart, then clean project and rebuild it.

    5. The school bus icon is not moving while the driver changes his location
    6. Make sure that the laravel-echo-server is working correctly. Go to the url of your admin panel and append it with 6001, i.e., open http://www.yourdomain.com:6001 and check if it gives OK

    7. The parent app or driver app does not continue after entering the correct verification code
    8. Make sure that you install the Firebase cloud messaging correctly by adding "google-services.json" file. The app needs a token from the Firebase and will not continue to the main screen until this token is obtained.


    Once again, thank you so much for using SBurK. As I said at the beginning, I'd be glad to help you if you have any questions. I'll do my best to assist. If you have a more general question relating to the items on CodeCanyon, you might consider visiting the forums and asking your question in the "Item Discussion" section.

    CreativeAppsDev Team

    Go To Table of Contents