Affidavits of probable cause are presented to the District Judge by the police to determine if a search warrant is appropriate.
An arraignment is a hearing. It is where the District Judge formally charges the accused with a crime. The accused will then plead guilty or not guilty. The District Judge can then set bail, if appropriate.