Skip to content

Instantly share code, notes, and snippets.

@Tonnie-Dev
Created August 3, 2018 09:22
Show Gist options
  • Save Tonnie-Dev/2b299e567b90e582825c65d8211b589a to your computer and use it in GitHub Desktop.
Save Tonnie-Dev/2b299e567b90e582825c65d8211b589a to your computer and use it in GitHub Desktop.
getSystem Services
@Override
protected void onCreate(Bundle savedInstanceState) {
super.onCreate(savedInstanceState);
/*getting a notification service*/
NotificationManager notificationManager = (NotificationManager) getSystemService(Context
.NOTIFICATION_SERVICE);
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment