Code example for Service

Methods: stopForeground

0
	    public void showNotification(Service context, int id, Notification n) {
	    	context.startForeground(id, n);
	    } 
 
	    public void hideNotification(Service context, int id) {
	    	context.stopForeground(true);
	    } 
	} 
 
 
} 
Stop searching for code, let great code find you!  Add Codota to your java IDE