Car Locator System is a internet based system that tracks your car in real time and shows its current location on the map.
This Project uses:
- PHP - PHP handles the linking of database and online servers with the android apps.
- Android Studio - Apps for the android is created using android studio.
- Server 000webhost - Its a free server that has been used by us to host php scripts and databse online.
- Java - It has been used in android studio for building backend of the the android app.
- xml - Design UI and animations of android apps.
- html - For designing email containing otp.
- Google Maps Api
- Volley Networking Library (for Android)
- CircleImageView (https://github.com/hdodenhof/CircleImageView)
- PinView (https://github.com/ChaosLeong/PinView)
Extract the Apps.rar and copy the files to a device.
To install the Car Tracker app copy the "Car Tracker.apk" to your phone storage and install it.
To install the Car Locator app copy the "Car Locator.apk" to your phone storage and install it.
Open app info for both the apps and grant all the permissions for both the apps.
In the apps java files or string.xml wherever there is "https://car-locator-javalab-proj.000webhostapp.com/" replace it by your website name where the php files have been uploaded.
Ex: In this repository inside "Car-Locator-System/CarLocator4L/app/src/main/res/values/strings.xml" there are links like:
"https://car-locator-javalab-proj.000webhostapp.com/loginA.php"
make it:
"https://your-example-site.com/loginA.php"
- Apps crashing when requesting permission/s.(Temporary fix: Accept the permissions by going to settings>apps>Car Tracker/Car Locator>Permissions>Switch on all permissions)
- Map not zooming in Car Locator app.
- Online status is not changing in database if Car Tracker app is closed abruptly like when phone/emulator is rebooted not in proper way (like by removing barttery or force stopping emulator etc.)