I have a big problem, the only relationship i can get between sms content provider and the contacts content provider is the phone numbers BUT the sms content provider stores numbers in a different format as compared to how the numbers are stored in the contacts content provider. hence how can I compare the numbers between the two tables since I dont see any other relationship or column that binds them. I my country the phone number format is +254728306203, this is how the sms provider store the number but the contacts provider stores it as 072-830-6203 Any help will be greatly appreciated
Share
Try this (For SDK 2.0+). Let the number be in any format.. just pass it as a string…
Add permission
android.permission.READ_CONTACTSin manifest.