List of article on Archieve

Toast & Custom Toast With Example In Android Studio

In Android, Toast is used to display information for a period of time. It contains a message to be displayed quickly and disappears after specified period of time. It does not block the user interaction. Toast is a subclass of Object class. In this we use two constants for setting the duration for the Toast. … Continue reading Toast & Custom Toast With Example In Android Studio

onStop() Method Tutorial With Example In Android Studio

onStop() Method In Android Activity Life Cycle When Activity is in background then onPause() method will execute. After a millisecond of that method next onStop() method will execute. Means here also Activity is not visible to user when onStop() executed. We will use onStop() method to stop Api calls etc. This onStop() method will clean … Continue reading onStop() Method Tutorial With Example In Android Studio

onPause() Method Tutorial With Example In Android

onPause() Method In Android Activity Life Cycle: When Activity is in background then onPause() method will execute Activity is not visible to user and goes in background when onPause() method is executed onPause() Example In Android: Lets create onPause() program to understand the topic: Final Output that we will create: Step 1: Designing The UI … Continue reading onPause() Method Tutorial With Example In Android

onStart() Method In Android With Example

onStart() When activity start getting visible to user then onStart() will be called. This calls just after the onCreate() at first time launch of activity. When activity launch, first onCreate() method call then onStart() and then onResume(). If the activity is in onPause() condition i.e. not visible to user. And if user again launch the … Continue reading onStart() Method In Android With Example

onCreate(Bundle savedInstanceState) Activity Function And Example In Android

onCreate(Bundle savedInstanceState) Function in Android: When an Activity first call or launched then onCreate(Bundle savedInstanceState) method is responsible to create the activity. When ever orientation(i.e. from horizontal to vertical or vertical to horizontal) of activity gets changed or when an Activity gets forcefully terminated by any Operating System then savedInstanceState i.e. object of Bundle Class … Continue reading onCreate(Bundle savedInstanceState) Activity Function And Example In Android

Download Free - Master Android App Development Sidebar

DOWNLOAD THIS FREE eBook!

This free eBook will help you master the learning of Android App Development in Android Studio!
close-link

Android Developer Facebook Group Free

Premium Project Source Code:




DOWNLOAD THIS FREE eBook!

This free eBook will help you master the learning of Android App Development in Android Studio!
close-link

With a very poor revenue from selling source code files or using Google AdSense, we need your help to survive this website. Please contribute any amount you can afford
Pay
close-link