Tag Archives: androidtutorial

Timer Application with Handler

In this tutorial we will learn how to make your own Timer with Start, Pause, Resume and Stop statements. We will use here a Handler, what allows us to send and process message and runnable objects.

To create a timer application, we have more options. For example we can use a Timer or a CountDownTimer.

Continue reading Timer Application with Handler

Follow and like us:


A Service (like ForegroundService) is an application component that can perform long-running operations in the background, and it doesn’t provide a user interface.

Another application component can start a service, and it continues to run in the background even if the user switches to another application. Additionally, a component can bind to a service to interact with it. For example, a service can handle network transactions, play music, perform file I/O, or interact with a content provider, all from the background.

Continue reading ForegroundService

Follow and like us:


A notification is a message that Android displays outside your app’s UI to provide the user with reminders, communication from other people, or other timely information from your app. Users can tap the notification to open your app or take an action directly from the notification.

When you issue a notification, it first appears as an icon in the status bar.
Users can swipe down on the status bar to open the notification drawer, where they can view more details and take actions with the notification.

Continue reading Notification

Follow and like us:

Relational and Logical Operators

In computer science, a relational and logical operators are a programming language constructs or operators which tests or defines some kind of relation between two entities. These include numerical equality (e.g., 5 = 5) and inequalities (e.g., 4 ≥ 3). In programming languages that include a distinct boolean data type in their type system, like Pascal, Ada, or Java, these operators usually evaluate to true or false, depending on if the conditional relationship between the two operands holds or not.

Continue reading Relational and Logical Operators

Follow and like us: