Code example for Notification.Builder

Methods: getNotification

0
	private void NotificationNotify(String tag, Builder mBuilder) {
		if (android.os.Build.VERSION.SDK_INT < 11) {
			// Not supported 
		} 
		if (android.os.Build.VERSION.SDK_INT < 16)
			mNotificationManager.notify(tag, 0,mBuilder.getNotification());
		else 
			mNotificationManager.notify(tag, 0, mBuilder.build());
	} 
		 
	private void NotificationCancel(String tag) {
		mNotificationManager.cancel(tag, 0);
		DavSyncOpenHelper helper = new DavSyncOpenHelper(this);
	} 
	 
	 
	public DownloadService() { 
		super("DownloadService"); 
	} 
	 
	@Override