He admitted downloading child pornography, viewing it, and then deleting the files, according to police reports.
Tuesday night, he was released on $100,000 unsecured bail. When reached by phone, he declined comment.
Haley was arrested along with three other men as part of an investigation by the Computer Crime Task Force, the Delaware County Internet Crimes Against Children Task Force, and members of the Philadelphia Special Victims Unit.
The arrests stemmed from among 10 search warrants issued in Philadelphia Tuesday, and more arrests are expected, said Michael Mattson, assistant district attorney in Delaware County.
The investigation into Haley's activities began with Delaware County Detective Lisa M. Carroll, who was working undercover. In May, Carroll discovered that a computer was sharing hundreds of files on the Gnutella network. The user of the network had configured the Limewire shared-file service to allow browsing of his shared folder. There, she found a pornographic photo depicting a 12-year-old girl, and traced the shared file to a computer IP address.
Eventually, Carroll also found photo files that included incest and the rape of an 11-year-old.
Carroll contacted Comcast and subpoenaed the subscriber's name, which led her to Haley, according to records.
The three other men arrested in the sweep were not sharing pornography with one another, Mattson said, but each was involved in similar behavior.
Police Commissioner Charles H. Ramsey, who joined the force more than a decade after Haley retired, said Wednesday that he did not know of any link between Haley's alleged crimes and his time on the force.
"Certainly, anything that has to do with crimes against children is something you hate to see," Ramsey said. "There's no excuse for it, and I think those who commit these crimes should be punished at the fullest extent of the law, regardless of who they may be."
Two police officers were charged last year with sex crimes related to children. In November, then-Officer Tyrone Wiggins was arrested on charges of raping a girl several times over the course of a few years, beginning when she was 12.
Adrian Makuch, a Crime Scene Unit officer, was arrested in December on charges of trying to take nude photographs of a 15-year-old boy and attempting to solicit sexual favors from an undercover officer who posed as a teenager.
Contact staff writer Trish Wilson at 610-313-8095 or email@example.com.
Inquirer staff writers Vernon Clark and Mark Fazlollah contributed to this article.