Archive for 'Notifications'

Android Notification

 

The following android application will create a “Hello World” notification in the status bar. Just copy the following code and paste it in your android app:

Incoming search terms:

  • Simple status bar android

Hiding the Notification Bar and Title Bar in Android

Android Hiding the Status Bar or Notification Bar
Hiding the title bar & status bar is generally used in gaming and full-screen applications in-order to utilize the entire screen area. We come also come across various places where we need to hide the title bar or notifications bar.

What is Status Bar or Notifications Bar and Title bar?

What is Status bar and title bar in Android?

Method 1: Through Code

Hide the Status bar or Notifications Bar and Title Bar through coding (Not recommended)
Code:

Method 2: Through AndroidManifest.xml
Hiding the Title bar through AndroidManifest.xml
CODE

Hiding both the Status or Notification bar and Title bar through AndroidManifest.xml

Incoming search terms:

  • android hide title bar
  • hide notification bar android

Code to cancel all local notifications

Using this code we can cancel all the local notifications in iPhone, programmatically.

Incoming search terms:

  • cancelalllocalnotifications not work