Fragments in Android Studio

fragments in android studio

Through the previous articles we learned what are activities in android studio, what are intents and also activities life cycle. In this article we will learn learn what are fragments. Fragments are another part of the android app that represents a reusable portion of your app UI. A Fragment can determines and maintains it’s own layout and life cycle. Moreover, it can manage it’s own life cycle. One important note is that fragments can not exist on their own. Moreover, we must host the fragments by an activity or another…

Read More

Activity Lifecycle in Android Studio

Activity Lifecycle in Android Studio

In the previous articles we learned the activities in android studio. Also, we mentioned that the android app experience differs from its desktop one. This difference in that the android app doesn’t always begin in the same place. Moreover there is no a determined start for the android app. For that, in this article you will learn the concept of activity lifecycle in android studio. As a user navigates through, out of, and back to your app, instances of an activity in your app changes through different states in their…

Read More

Intent and Intent Filters in Android Studio

Intent and Intent Filters

In this article you will learn all about Intent and Intent Filters in android studio. An Intent is the way to request an action from another app component in form of messaging object. For example, when you want to start activity, send message or share image. The ways that intent communicate with app components. There are several ways where the intent communicate with app components. 1- Starting Activities In order to start activity in android you need to pass an intent to the method startActivity(). This intent should describe the…

Read More

Activities in Android Studio

activities android studio

In the previous articles of our android studio tutorials for beginners we learned how to create an android studio project. By default android studio create packages and files from which is the Main Activity java file. Surely, an activity class is a crucial component of any android app. So, this article is important as we introduce activities in android studio. What is Activity class?, an activity represents the window in which the app draws it UI. The mobile app differs from desktop app in that a user’s interaction with the…

Read More