Most stud detector apps work by using your phone's internal compass to detect metal inside the walls. However, while they do work, the accuracy is questionable, and there's no saying if the 'stud' detected is a stud or something else like a pipe — something you don't want to drill a hole through.