Code example for Toast

Methods: setTextshow

0
	} 
	 
	private void debug(final CharSequence cs) {
		handler.post(new Runnable() {
			public void run() { 
				toast.setText(cs);
				toast.show();
			} 
		}); 
	} 
	 
	private void process(byte[] data) {
		if (data != null) {
			 
			final long time = System.currentTimeMillis();
			 
			final int uv_i = data.length * 2 / 3;
			 
			int red = 0, green = 0, blue = 0,
			    red_x = 0, green_x = 0, blue_x = 0,
			    red_y = 0, green_y = 0, blue_y = 0;