This may be a silly question, I'm a bit of a noob. I was reading this post: How do I access call log for android?
and in the answer at the bottom of the code they have this line:
int type = Integer.parseInt(c.getString(c.getColumnIndex(CallLog.Calls.TYPE)));// for call type, Incoming or out going
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?
Thanks, Matt