A Oneida man charged with homicide in connection with a deadly overdose was in court on Friday for his preliminary hearing.