The typical way these cases fail is that the State has to prove that the defendant actually broke the plane of the door or more simply put went into the house. It's not enough to prove he was seen near by. They will need evidence that he was in the house such as video, fingerprints or DNA. Your friend should review the evidence against him with his attorney. Good Luck.
I would think that there is more than just being seen near the crime scene.
The above is not intended as legal advice. The response does not constitute the creation of an attorney client relationship as this forum does not provide for a confidential communication.
If he was seen near the crime scene with the property of the owner of the home this is known as circumstantial evidence and circumstantial evidence just as direct evidence must be proven beyond a reasonable doubt.