title: How are call types (Incoming/Outgoing/Missed) stored in Android Call Log?
body: <p>This may be a silly question, I'm a bit of a noob. I was reading this post: <a href="https://stackoverflow.com/questions/6786666/how-do-i-access-call-log-for-android">How do I access call log for android?</a> </p>
  
  <p>and in the answer at the bottom of the code they have this line: </p>
  
  <pre><code>int type = Integer.parseInt(c.getString(c.getColumnIndex(CallLog.Calls.TYPE)));// for call type, Incoming or out going
  </code></pre>
  
  <p>I'm a little confused as to how the call type is stored, is it as a string or as an integer?
  The line of code shown makes me think its saved as a number, but in string format. Can anyone explain this to me?</p>
  
  <p>Thanks,
  Matt</p>