title: how to get the number of the most frequent value entry in callLog.calls?
body: <pre><code>Call Log Calls entry is this
  
   - Name        Number         TYPE          date called
   - Jed         12345          Incoming      7-18-2013
   - Roger       14611          Incoming      7-18-2013
   - Jed         12345          Incoming      7-18-2013
   - Jed         12345          Incoming      7-18-2013
   - Kevin       11111          Incoming      7-18-2013
  </code></pre>
  
  <p>Hi, i want to query in android such that i will only retrieve
  Jed, 12345    &lt;&lt; since he has the most repetitive value in the list,
  im suppose to do this in sqlite (android query) but i dont know which functions to invoke
  This is the code i used, but i was only able to get the recent number that called instead of the one with the most entries.  HOW DO I DO THE QUERY?</p>
  
  <pre><code>    Date date=new Date() ;  
  
      Cursor c = contxt.getContentResolver().query(CallLog.Calls.CONTENT_URI,
              null, CallLog.Calls.TYPE + " AND " + CallLog.Calls.INCOMING_TYPE + 
              " AND " + CallLog.Calls.Date + "&gt;=" + date.getDate() ,
              null,
              CallLog.Calls.DATE + " DESC LIMIT 1");
      if(c!=null)
          do{
              int callCounter = c.getCount();
              String num = callLog_cursor.getString(callLog_cursor
                  .getColumnIndex(android.provider.CallLog.Calls.NUMBER));
          }while(c.moveToFirst());
  </code></pre>