dallinski / MassText

Mass Text Android app
Apache License 2.0
3 stars 4 forks source link

Group selection chooses wrong contact(s) #22

Open dallinski opened 9 years ago

dallinski commented 9 years ago

"When I pick my group, it only selects one of the phone numbers for each contact in that group. For some reason, this always seems to be the wrong one, too! If it selected all the phone numbers, that would work fine for me."

dallinski commented 9 years ago

"When I create groups from my contacts app Mass Text messages ALL the numbers for that contact instead of the main number selected in the contact app."

dallinski commented 9 years ago

"for some reason it does not pick the default number or mobile in only a couple of records... reset the default and placement for those records and then it choose both... the one it choose first and now the one I move and reset as the default"

dallinski commented 9 years ago

When doing the db query, get the phone number that is primary.

http://stackoverflow.com/questions/17141097/phone-is-primary-not-giving-primary-number-for-contact-android http://stackoverflow.com/questions/8089989/how-to-read-phone-number-in-android-from-contacts http://developer.android.com/reference/android/provider/ContactsContract.CommonDataKinds.Phone.html