title: Use MergeCursor
body: <p>I have 3 requests to the database, which return Cursor a,b,c. Sample query:</p>
  <pre><code>public Cursor SearchQueryMoscow (String query ){
           Cursor m;
            a = sqldb.query(true, DataBase.TABLE_NAME, new String[]{KEY_ROWID,ADRESS2,TIME2
                     ,PRICE2,OBJECT2,OPICANIE2,FINDWC2,DISTANSHIONMETRO2,CITY2},CITY2 + &quot; IN ('ROMA') and (&quot;
                      + &quot; adress LIKE &quot; + &quot;'%&quot; + query + &quot;%'&quot; 
                      + &quot; OR gowc LIKE &quot; + &quot;'%&quot; + query + &quot;%'&quot;
                      + &quot; OR timework LIKE &quot; + &quot;'%&quot; + query + &quot;%'&quot;
                      + &quot; OR price LIKE &quot; + &quot;'%&quot; + query + &quot;%'&quot;
                      + &quot; OR mesto LIKE &quot; + &quot;'%&quot; + query + &quot;%'&quot;
                      + &quot; OR opicanie LIKE &quot; + &quot;'%&quot; + query + &quot;%'&quot;
                      + &quot; OR distanshionmetro LIKE &quot; + &quot;'%&quot; + query + &quot;%')&quot;
                     , null, null, null, null, null); 
  return a ;} 
  </code></pre>
  <p>Нow to combine the result of three cursors using MergeCursor?
  I wrote:</p>
  <pre><code>MergeCursor mergecursor = new MergeCursor(mCursors); 
  </code></pre>
  <p>how to further combine the results of three cursors?
  <a href="http://www.java2s.com/Open-Source/Android/android-core/platform-cts/android/database/cts/MergeCursorTest.java.htm" rel="nofollow noreferrer">example seen</a></p>