Join the social network of Tech Nerds, increase skill rank, get work, manage projects...

How to catch activities in foreground/background using ActivityLifecycleCallbacks?

To catch the states of every activity in our android application we have to implement ActivityLifecycleCallbacks. ActivityLifecycleCallbacks will have different override method as onActivityCreated, onActivityStarted, onActivityResumed, onActivit...

Implicit intent in android with example

Intent: Subclass : android.content.Intent class Intent is basically a way of communication between the various components such as activities, broadcast receivers , etc. We use it with startActivity() method to start a...

Activity and its life cycle in Android?

An activity represents a single screen with user interface(UI) i.e.,a window with which you interact with your android phone. It is a pre-defined class in Android and every android application which has a UI must inherit it to create a window.Us...

Structure of Android Manifest file

In every android application AndroidManifest.xml is the necessary part. Manifest file contains every essential information about your appliucation. It contains information about your package, activities, permissions, services, brodcast receiver a...

Check application screen visibility

Hey do you want to run some code on basis of screen visibility in your can create an Application level class and can set every screen visibility in onResume or in onPaused like this : public class ThisApplication extends Application {...

How to navigate between activities

This tutorial describes how to navigate between activities. For navigating between activities we use Explicit Intent. For this we create a new Intent, specifying the current Activity's context and the class of the Activity to launch. And pass...

Activity Life cycle

Hello again, this video tutorial will guide you about the Activity life cycle in Android. From this tutorial you will get the better idea of all the life cycle methods of an Activity.
Sign In

Sign up using

Forgot Password
Fill out the form below and instructions to reset your password will be emailed to you:
Reset Password
Fill out the form below and reset your password: