Is there a way of reading SMS messages that stored on the SIM card (rather than the phone)? When I connect my phone via Bluetooth in the car, any SMS messages received get put on the SIM card instead of the phone. I was wondering there was a way of reading them using any of the libraries?
Dim cr As ContentResolver
cr.Initialize("cr")
Dim uri As Uri
uri.Parse("content://sms/icc")
Dim rs As ResultSet = cr.Query(uri, Null, "", Null, "")
Do While rs.NextRow
For c = 0 To rs.ColumnCount - 1
Log(rs.GetColumnName(c) & ": " & rs.GetString2(c))
Next
Loop
rs.Close