
Build an android cars app using Kotlin, PHP, and Google Maps. Learn Kotlin basics, Android UI, location and Maps integration, and a PHP-MySQL web API connecting to the backend.
Set up Android Studio and a PHP web server, and use NetBeans as the development environment to build your Kotlin Android car app with Google Maps.
Explore the basics of Kotlin through an overview designed for Android app development, aligned with the Android Cars App using Kotlin, PHP and Google Maps course.
Learn to create a new Kotlin project in IntelliJ IDEA, configure a Cartland JVM project, define the main function, and print hello world with a simple run-and-display example.
Declare mutable variables with var and constants with val in Kotlin, specifying types like Int, Double, Float, String, and Any; assign values, and print them with println.
The lecture shows how to accept null values by using the question mark syntax and the not operator, illustrated with an age input example using read line and type casting.
Explore implementing a condition with the if statement, using read line to integer, type casting, and an if-else to show fail for marks below 50 and pass otherwise.
Learn to use the when keyword in Kotlin as a replacement for multiple if statements, with cases for 1, 2, and a 3 to 6 range, plus a default.
Explore how to implement for loops in Kotlin using ranges like 1..10, step 3, and reverse iterations with downTo, including defining variables in the loop for an Android cars app.
Learn to use the while loop in a custom language, mirroring Java and C#, by initializing a variable, testing a condition, and incrementing to print 0–4 or 0–5.
Create fixed-size arrays with arrayOf in Kotlin, edit elements, and access values by zero-based indices. Iterate with for loops, or for each, using size minus one for the last index.
Learn how to create a dynamic string list (arraylist) in Kotlin, add and remove items, and print all values using a for loop.
Learn how to create a hash map in kotlin by mapping employee names to salaries, define string keys and numeric values, add entries, and print results.
Explore object-oriented programming using Kotlin in an overview designed for Android car app development, covering core concepts and practical coding approaches.
This lecture explains how to define a class as a template for objects, add attributes and a display function, and instantiate an object to set and show its properties.
Compare returnable and non-returnable functions in Java, C-Sharp, and C++. Use void for no return and unit as an alternative, and learn how to store a function’s return value.
Explore how constructors in Scala define default values for object fields, allow creating objects with or without specific parameters, and override defaults during instantiation.
Understand overloading in Kotlin by using the same function name with parameter types or counts, such as find by barcode or by name and sum with two or three parameters.
Define a parent class A with a display function, extend it with child class B using colon and open, and observe inherited display and final class restrictions.
Learn how a subclass overrides a superclass method using the override keyword, calling super.display to preserve base behavior while adding extra actions in a Kotlin context.
Discover how a companion object creates static, shared variables across all instances, using per-object X and a shared Y to contrast instance state with shared state.
Explore an Android overview for building a cars app using Kotlin, PHP, and Google Maps. Learn core Android concepts and how Google Maps integration supports the app.
Create an Android Studio project from start to finish, set the name and package, enable Kotlin support, add an empty activity with an XML layout, and run on the emulator.
Configure a button, edit text, and a text view in an Android activity, set attributes and ids, and handle a click to display input in the text view.
Learn to display images with an image view, load drawables from drawable folder, and switch cat to dog at runtime via a button using set image resources and R.drawable references.
Explore implementing checkboxes in an Android app to allow multiple selections, wiring a button to gather selected options, and displaying them in a toast message.
Learn how to use Android intents to navigate between activities and launch external apps, including explicit and implicit intents that open a browser to Google.
Learn how to send a value between activities in an Android app using put extra and get string extra, via intents to navigate between activities.
Explore using intents and onActivityResult to receive camera captures, including starting the camera with a capture action and a request code, and display the resulting bitmap in an image view.
Explore location features and Google Maps integration in an Android cars app built with Kotlin, PHP, and Google Maps.
Explore how the Android location manager accesses the system location service, creates a location manager via getSystemService, checks if GPS is enabled, and guides users to location settings when needed.
Implement a location listener to receive updates from the location manager, handle on location change, and use request location updates with GPS or network to obtain latitude and longitude.
Create a Google Map activity in Android, obtain a Google Map API key from the console, and configure Google Play services Maps to test on an emulator.
Learn to build a Google Maps activity with a map fragment, set coordinates and markers, move the camera with zoom, and switch map types between normal, satellite, and 3D.
Use a geocoder to convert latitude and longitude into a readable address, including country, city, admin area, and address line, for display in the Google Maps activity.
Connect the device location to Google Maps by creating a location manager and a location listener. Update longitude and latitude on the map as the user moves, using geocoder data.
Implement runtime location permissions for Android 6.0+ with Google Maps by requesting ACCESS_FINE_LOCATION at runtime and handling the permission result to avoid security exceptions.
Learn the fundamentals of web api and json, and see how to integrate api data into an Android car app using Kotlin and Google Maps.
Learn how web APIs fetch data from a database, return JSON objects or arrays, and enable Android or web apps to decode and display weather information.
Learn to create a MySQL database and a drivers table using phpMyAdmin, including an auto-increment id, name and mobile fields, and insert sample data.
Learn the basics of sql statements—insert into, update, select, and delete—applied to a drivers table, with auto-incrementing ids and varchar fields like name and mobile.
Learn to add data to a database from a php web file. Connect to localhost, select the taxi database, and insert drivers using bound name and mobile values.
Create a PHP web API that retrieves a single driver by id from the drivers table and returns it as JSON, with the id supplied by user input.
Learn how to retrieve multiple rows from a database and return a json array using a php script, including selecting all drivers and encoding the result for a web api.
Explore the Volley library overview for Android cars app development using Kotlin, PHP, and Google Maps.
Use Volley to call a PHP API from Android app, add Volley dependency and permission, then send name and mobile to a PHP file that stores them in drivers table.
Use Volley string request to send name and mobile parameters to a PHP server via GET, constructing the URL and handling the response or errors.
Learn to fetch a driver's data with Volley JSON object in an Android activity, using a just object request to display name and mobile in text views.
Learn to fetch all drivers as a JSON array with volley, parse objects to collect driver names, and display them in a toast before the next video introduces recycler view.
Implement a recycler view to display a list of drivers with a name and mobile in an mvc pattern, using a driver model and a dedicated view row.
Create a recycler view to display drivers with a two-field model (name and mobile), and implement a driver adapter with a view holder and the key methods onCreateViewHolder, onBindViewHolder, and getItemCount.
Implement a recycler view adapter by wiring getItemCount, onCreateViewHolder, and onBindViewHolder to display a list of names and mobile numbers. Inflate the row layout and bind data in the main activity.
Fetch and display driver data using Volley, populate the recycler view via the driver adapter, configure a vertical layout, and prepare to load images with Picasso.
Demonstrate loading an online image in an Android app with the Picasso library, add the Gradle dependency, and render a web URL into an image view.
Create a car helper database and a users table with mobile, password, name, and user_type, with mobile as the primary key, then build a php signup page.
Develop a php-based signup web API that connects to a cars app database, validates mobile number, and stores mobile, password, name, and user type after duplicate checks.
Create a PHP web API login that validates username and password against the users table, returning 1 for success and 0 for failure, with a separate employee login page.
Create an Android Studio project for the customer module, add the Volley library to the build.gradle dependencies, and request Internet permission in the manifest to enable network calls.
Design the login activity layout with a vertical linear layout, add username and password fields with icons, set hints, colors, padding, margins, and a login button plus sign up option.
Develop the login flow using Kotlin in Android to call a PHP backend, return 0/1 to show a toast or open home, and store the user id in a session.
Design a sign up activity by reusing the login activity as a base, customizing IDs and text fields for name, password, confirm password, and the sign up button.
Code the sign up activity in android using kotlin and php, validating password confirmation and sending a sign up request. Handle the 0/1 server response to proceed or show errors.
Create and seed a services table for the car helper app, then build a PHP web API to fetch them as JSON for display in the home activity's recycler view.
Implement an android recycler view to list car services using mvc. Define a car model with id, name, and photo, then design service item layout with image and text views.
Develop a service recycler view adapter and view holder to display service names and photos, loading images with Picasso from the server URL.
Fetch service data from the web api, parse json into a car services model, and display it in a recycler view grid in the home activity.
The lecture guides building an order activity with Google Maps in an Android car app, including manifest permissions, API key setup, and passing the service id.
Learn to obtain the user’s location in an Android Kotlin app using a location manager and a location listener, and update the Google Maps view with latitude and longitude.
Design the orders activity by adding a login-style button and a Google Maps fragment in a vertical layout, configuring width, height, namespace, and center alignment to enable ordering.
Identify available employees via a web API by using an employee availability table with status and last task, then query free employees ordered by last task to assign tasks.
Create an orders table with auto-increment order numbers, user_moabite, employee_mobile, service_id, and a timestamped order_date; manage status from sent to on the way, in process, and finished.
Extend the orders table with longitude and latitude, manage service IDs and user info, and pass location data to the Android app to submit and test orders.
Send sms notifications to employees when new tasks are assigned by retrieving their mobile number, configuring manifest permissions, and using SmsManager to include the task and order ID.
Send an sms to the employee with the new task and include the order number, while retrieving the last order number from orders table using SQL in PHP for Android.
Learn to implement runtime location permissions in an android car app by handling dangerous permissions, manifest declarations, sdk version checks, and onRequestPermissionsResult to enable location updates.
Learn how to implement runtime SMS permissions in an Android Kotlin app, handle location permissions, and trigger sending an order only after user grants access.
Build an android employee app with a login screen and an orders screen that shows customer locations and updates service status (on the way, working on, finished, canceled).
Create an employee login flow by defining an employee data class, sending a volley request to a PHP login script, and navigating to the orders list activity on success.
Create a web page that shows orders by joining orders and services to display the order number, date, status, and service name for an employee, converting the result to json.
Build a recycler view in an Android activity, define an orders model with number, date, service name, and status, and prepare the vertical layout for the adapter.
Develop the order adapter and view holder for a recycler view, inflating the item layout and binding four fields from the orders model: name, order number, order date, and status.
Create the show orders activity to fetch orders from the show orders PHP file, parse the JSON array into an order model, and display them in a recycler view.
Develop a php web api endpoint to fetch full order details by order number from the orders table, returning longitude, latitude and related fields as a json object.
Create an order details activity as a Google Map activity, retrieve the order's longitude and latitude, and design a map menu to cancel the order or change its status.
Implement the order details screen by sending the clicked order number from the recycler view to the details activity via an intent, then display latitude and longitude on a map.
Explore how to implement a php web api to update an order status by order number in android cars app, with statuses sent, on way, working on, and finished.
Implements the Android app using a status menu in the order details screen, sending the selection to the database and showing a confirmation toast.
This course will guide you (step by step) to build a car service Android app from login screen to the last step of the order tracking
But at first, It will teach you Kotlin programming language from scratch, then you will learn how to create web services using PHP. Next you will learn how to use Kotlin in android app development
This course has many reach topics like Volley, Picasso and Recycler View, SMS and Google Map API
It's good step to start building app like Uper or Careem
It's divided into the following sections:
This course is useful for IT Developers, Students or any interested person in the mobile and web development field