A Londonderry man has been accused of phoning his former partner 300 times after she ended their relationship by text message.