Code example for Notification

0
 
	public NotificationProxy()  
	{ 
		super(); 
		notification = new Notification(
			android.R.drawable.stat_sys_warning, null, System.currentTimeMillis());
		notification.flags = Notification.FLAG_AUTO_CANCEL;
	} 
 
	public NotificationProxy(TiContext tiContext) 
	{ 
		this(); 
	} 
 
	@Override 
	public void handleCreationDict(KrollDict d)
	{ 
		super.handleCreationDict(d);
		if (d == null) {
			return; 
		}