
Explore android firebase and machine learning with kotlin in this comprehensive course. Learn authentication, real-time database, firestore, storage, messaging, ads, and machine learning integration from basics to advanced features.
Install Android Studio and IntelliJ IDEA (Community or Ultimate) as the main development tools, and set up a web server and NetBeans IDE as shown.
Master the fundamentals of Kotlin through an overview designed for Android development, laying the groundwork for Firebase and ML integration.
Create a new project in intill idea, select Koplin and Cartland JVM, then write a main function with fun and print hello world, noting no semicolon, and run the example.
Learn to declare variables and constants in Kotlin with var and val, assign datatypes like integer, double, float, and string, and print values.
Explore null handling in Kotlin using the question mark and not operators, with a practical age input example that casts readLine to an integer to avoid null pointer errors.
Learn to implement conditional logic with the if statement to decide pass or fail based on user-entered marks, using readLine to integer conversion and simple comparison.
Master how to use the when keyword in place of multiple if statements, handling cases like 1, 2, ranges between 3 and 6, and a default else outcome.
Learn how to use the for loop in Kotlin to iterate over ranges, apply steps like 1, 3, and print sequences from 1 to 10 or 10 down to 1.
See how to use the while loop in Kotlin: initialize a variable, set a condition, and increment inside the loop to print 0 through 4 (or 0 to 5).
Learn how to create fixed-size arrays with arrayOf in Kotlin, access elements by zero-based index, print all elements, and iterate over the array using for loops.
Learn to create a dynamic array list of strings in Kotlin, add items, print all values with a for loop, and remove an item to update the list.
Create a hash map with string keys and values, storing employee names and salaries, and print the results to review key-value pairs in Kotlin.
Get an overview of object-oriented programming in Kotlin for Android development, highlighting core concepts and how Kotlin supports object-oriented design in building apps.
Define a class as a template for objects, add attributes like name, major, and mobile, implement a show function, and instantiate the object in main to display its data.
Explore the difference between returnable and non-returnable functions, using void and unit, with examples in Java, C#, and C++. Learn how to return values and store results in variables.
Explore how constructors in Kotlin provide default values for object properties, showing how a bill type defaults to cash and can be overridden by a different value.
Explore function overloading in Kotlin, using the same name with different parameter types or counts, illustrated by find by barcode or name and sum with two or three parameters.
Learn how to implement inheritance in Kotlin by using a parent class, inheriting with a colon, and calling the display function to print hello from a and hello from b.
Explore overriding in a subclass that inherits from a superclass, using the override keyword to replace the base display method while optionally adding extra behavior via the subclass.
Learn how Kotlin uses a companion object to implement static-like variables, sharing Y across all class instances while instance fields like X remain unique per object, accessed as ClassName.Y.
Learn to create a new Android Studio project and connect it to Firebase, enable email and password authentication, create a Firebase project, and verify the connection in the Firebase console.
Enable Firebase authentication with email and password, then create an Android sign-up screen that collects email, password, and confirmation to register a new user via Firebase.
Learn to implement Firebase authentication with email and password in Android using Kotlin, including sign-up, login, error handling, and navigation from the login activity to the home activity.
Create and log in users with Firebase authentication using email and password, display the current user’s email on the home screen, and implement sign out with a dedicated button.
Implement Firebase authentication UI for Android with email, phone, and Google providers, configure providers, start sign-in activity, and handle results to navigate to the home screen.
Sign in with Google, email, or phone, then implement sign out and delete account actions on the home screen with on-click listeners to return to the main login activity.
Learn to build and test UI authentication with email, phone, and Google in a Kotlin Firebase app. Test sign-in flows, phone verification, and account deletion.
Learn how to integrate Facebook login into an Android app using Firebase authentication, including creating a Facebook app, configuring the Android platform, obtaining hash keys, and updating sdk versions.
Copy the two lines into the string resources and update the application id with your Facebook values; run the app to enable Facebook login.
Explore creating a real-time Firebase database, a NoSQL, hierarchical JSON-like store that supports real-time updates, with configurable read/write rules and optional authentication to secure access.
Build an Android Studio app to add and update courses in a real-time database using Firebase, saving course name and price under the courses node when you click save.
Read data from the Firebase Realtime Database into an Android Kotlin app by attaching a value event listener to the courses/cartland path and update the price in real time.
Read keys and values from Firebase Realtime Database and display them in a list view using a value event listener, a hash map, and an array adapter.
Create a Cloud Firestore collection for courses with documents and fields, and configure read/write rules. Learn about auto ID and adding documents before connecting your Android app.
Connect your Android app to Cloud Firestore, add Firestore library, and create a form with id, name, and price fields with an add button to store courses in a collection.
Add data to Cloud Firestore in an Android Kotlin app by creating a Cloud Firestore instance, building a hash map with id, name, price, and adding to the courses collection.
Learn how to set a custom document name in a Firestore collection by using set instead of add, using the course id as the document name.
Update the course price in Cloud Firestore by targeting the document id three in the corsets collection, applying a price field update, and using an onCompleteListener to confirm success.
Add a delete button to remove a Cloud Firestore document by its id, call delete on the document reference, and display a deleted confirmation when complete.
Learn to retrieve a Firestore document by id in an Android Kotlin app, showing name and price when found and displaying an error when the id does not exist.
Retrieve all documents from the courses collection in Firestore, extract names and prices, and populate a list view using an adapter in Kotlin for Android.
Get collection documents data at real time by switching from addOnCompleteListener to addSnapshotListener, using a querySnapshot to listen for added, deleted, or modified documents and updating the adapter via notifyDataSetChanged.
Retrieve collection documents with a price condition using where clauses to filter results, such as prices less than 45, and observe updates in real time.
Learn how to set up Firebase storage, create folders, upload and download files, configure read and write rules for authentication, and integrate the storage library into an Android Studio project.
Tap the image to start the camera, capture a photo, and save it under the entered name in storage.
Learn to crop and rotate images in an Android app using the Android image crop library, including selecting from camera or gallery and handling permissions and activity results.
Learn to upload a cropped image using the cropped image library to Firebase storage in a Kotlin Android app, creating a storage reference to my images and handling outcomes.
Learn to download an image from firebase storage by obtaining the download URL and displaying it in an image view, after uploading and cropping the image in android using kotlin.
discover how to add ads to Android apps with Google AdMob, including creating an AdMob account, activating Firebase, and earning revenue through banner, interstitial, and rewarded ads with unit IDs.
Learn how to integrate AdMob into an Android app by connecting to Firebase, adding the AdMob service, and using a banner ad with Kotlin code and an ad unit id.
Set up Google AdMob ads by creating an app and ad unit, choosing between full screen or video formats, and use the test id during development.
Implement text recognition on Android with Firebase and ML Kit, capturing an image via camera and extracting text blocks, lines, and words using the Firebase Vision text detector.
Explore how to implement text recognition in an Android app using the machine learning kit with Firebase, including downloading the model, testing on a device, and viewing results via toast.
Implement barcode scanning in android using firebase and ml kit with kotlin, capturing images from the camera and processing qr codes and barcodes via a vision barcode detector.
Explore how image labeling with Firebase ML Kit detects objects and activities in photos. Implement the label detector in an Android app, load the library, and display all image labels.
Test machine learning for image labeling by capturing an image on a physical device and seeing the app extract elements from the image.
Learn to implement in-app messaging with Firebase in an Android app, set up the library, obtain an instance ID, and create a test campaign.
Learn how to implement Firebase Cloud Messaging (FCM) in an Android Kotlin app by wiring up the Firebase library, adding the Firebase messaging service, and handling onMessageReceived to show notifications.
This course will guide you (step by step) to use the most used features of Firebase in Android applications and Kotlin.
Also, you will learn about implementing the amazing cloud machine learning features like text recognition, image labeling, bar code scanning and so on
In Addition, you will learn many interested topics such as social media login, real time database, storgae, AdMob, storage, FCM and in app messaging ... etc
But at first, It will teach you Kotlin programming language from scratch. So if you have basic knowledge of Kotlin, you can skip the first two sections
Lastly, you will build chat application where you will use many firebase features inside this application.
It's divided into the following sections:
Kotlin Basics
OOP using Kotlin
Firebase Authenticaion
Firebase Realtime Database
Firebase Cloud FireStore
Firebase Google AdMob
Firebase Machine Learning
Firebase FCM and In App Messaging
Chat Application
This course is useful for IT Developers, Students or any interested person in the mobile and web development field
Enjoy