Code example for PriorityBlockingQueue

0
	private EditText _editHost;
	private EditText _editPort;
	private TextView _txtUUID;
	private Button _btnStatus;
	 
	private static PriorityBlockingQueue<Message> _queue = new PriorityBlockingQueue<Message>();
	 
	private static int i = 10;
	 
	/** Called when the activity is first created. */ 
	/* (non-Javadoc) 
	 * @see android.app.Activity#onCreate(android.os.Bundle) 
	 */ 
	@Override 
	public void onCreate(Bundle savedInstanceState) {
		 
	    super.onCreate(savedInstanceState);
	    this.setContentView(R.layout.pam);
	     
//	    Intent intent = new Intent(); 
//	    intent.setClass(PamActivity.this, PamService.class);