I have the following code:
String[] where; where.append(ContactsContract.Contacts.HAS_PHONE_NUMBER + \"=1\"); where.append(ContactsContract.Contacts.IN_VISIB
I've made this code! It works like a charm!
public String[] AddToStringArray(String[] oldArray, String newString) { String[] newArray = Arrays.copyOf(oldArray, oldArray.length+1); newArray[oldArray.length] = newString; return newArray; }
I hope you like it!!