
Explore the four major Android components—activities, broadcast receivers, services, and content providers—as the building blocks for high-quality apps to be explored in detail in the next lecture.
Explore what an activity is and how the screen that appears when you launch an app represents the user interface, with views drawing all graphical elements across multiple activities.
Understand intent in Android as the intention to perform an action. Use intents to start activities, services, or deliver broadcasts to broadcast receivers.
Explore how intents relate to Android activities, using a Gmail example to show starting a second activity with an Intent and returning to the first via the back button.
Handle events in Android by registering an on click listener to a button; tapping it triggers an intent to navigate from the first activity to the second.
Learn how to migrate between activities using explicit intent and pass data with or without a bundle, illustrated by a username being sent from a main to a second activity.
Explore how the bundle facilitates sharing data between activities using explicit intents, and compare direct and indirect methods for passing data.
Explore the Android activity life cycle and its methods—onCreate, onStart, onResume, onPause, onStop, onDestroy, and onRestart—and how they run when launching apps and navigating between main and second activities.
Explore how Android activity lifecycle methods handle screen rotation by showing portrait to landscape transitions, where the activity is destroyed and recreated, as demonstrated in Android Studio.
Explore how screen rotation affects Android activities, highlighting that edit text preserves its value across orientation changes while text view and buttons may reset; learn portrait versus landscape behavior.
Explore how screen rotation affects view state by comparing views that retain state (edit text, checkbox, radio button, switch) with those that don't (text view, button).
Explore practical solutions to handle screen orientation in Android apps, including restoring the activity state, managing configuration changes manually, and a bonus method.
Learn how to handle screen orientation in Android by saving and restoring activity state with onSaveInstanceState and onRestoreInstanceState, preserving the result across lifecycle changes.
Learn to handle the button click event in Android by implementing the onClick listener interface. Wire two buttons, design with constraint and linear layouts, and change layout backgrounds on clicks.
Learn to handle Android button clicks by directly setting onClick listeners on two buttons, changing the ConstraintLayout and LinearLayout colors, and running the app in the emulator.
Learn to handle a button click in Android using onClick in XML (way 3), generate the corresponding method in MainActivity, and change constraint and linear layouts' background colors.
Learn to pass data between Android activities using explicit intents, sending a string from the main activity to the second activity and displaying it in a text view.
Pass data between Android activities using a bundle. Create a bundle, put a string with key name as Hello Android, attach with putExtras, and display it in the second activity.
Develop a two-activity demo app to illustrate the activity lifecycle, logging onCreate, onStart, onResume, onPause, onStop, onRestart, and onDestroy as users switch between activities.
Learn to start another activity using an intent in android studio by wiring two buttons to launch a second activity, creating the second activity, and using startActivity with the intent.
*** Learn the Fundamentals of Android Activities with Java Programing Language***
Ever wanted to learn the basics of Android Activities in Android Studio but thought they were hard?
Good news, they're not! I will show you just how easy it can be!
You just need the basic knowledge of Java and Little-bit knowledge of Android Studio.
Well, that's why I created this "Android Fundamentals of Activities for Beginners by using Java Programming Language". Course No other course takes you from beginner (with no experience) to full apps development. I will show you how to:
What are the main components of Android Applications?
How Android activity works.
Learn the entire app concepts in great detail.
This course is for you if you:
Are a beginner or novice to Android App development or Game Development
Want to understand the concept of Android Development?
Love to do new things
Have a basic understanding of Java and Android Studio.
This course is not for you if:
You are an expert or have Advanced knowledge of Android Application Development.
What software do you need?
Android Studio (free) which runs on PC / Mac / Linux
Do you need experience?
Yes. I assume you should have some basic knowledge of Java and Android Studio. No app development experience is needed.
As a reminder you will Learn:
The basics of Android Activity Fundamentals.
The concept will be explained in more detail.
You will get a full source code of the applications.