Hello. I'm looking for a way to separate CallLog entries from private numbers (i.e "Unknown", e.t.c), so i've found in SDK sources file CallerInfo.java which contains:
public static final String PRIVATE_NUMBER = "-2"; Unfortunately seems that several device manufactures change this value, e.g. Samsung and Sony Ericsson follow this value and i get "-2" as a phone number in CallLog entries, but HTC returns "-1" instead. Moreover, CallerInfo.java is not public class so i can't use directly. So, the question is: Does anyone knows reliable constant which i can use to separate calls from private numbers? Thanks in advance. -- You received this message because you are subscribed to the Google Groups "Android Developers" group. To post to this group, send email to android-developers@googlegroups.com To unsubscribe from this group, send email to android-developers+unsubscr...@googlegroups.com For more options, visit this group at http://groups.google.com/group/android-developers?hl=en