Code example for MergeCursor

0
		Log.d(TAG, "limit: " + limit);
		final String[] proj = new String[] { "_id",
				"address as " + SearchManager.SUGGEST_COLUMN_TEXT_1,
				"body as " + SearchManager.SUGGEST_COLUMN_TEXT_2 };
		final String where = "body like '%" + query + "%'";
		return new MergeCursor(new Cursor[] { this.getContext().getContentResolver()
				.query(SMS_URI, proj, where, null, null) });
	} 
 
	/** 
	 * {@inheritDoc} 
	 */ 
	@Override 
	public boolean onCreate() { 
		return true; 
	} 
 
	/** 
	 * {@inheritDoc} 
	 */ 
	@Override