I have the following code:
String[] where; where.append(ContactsContract.Contacts.HAS_PHONE_NUMBER + \"=1\"); where.append(ContactsContract.Contacts.IN_VISIB
Apache Commons Lang has
T[] t = ArrayUtils.add( initialArray, newitem );
it returns a new array, but if you're really working with arrays for some reason, this may be the ideal way to do this.