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.
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.