Allen Wright, 17, of Fair Oaks said the program was selected from 20,000 proposals to be marketed by Medl Mobile, a Los Angeles company developing iPhone applications to sell on its Web site, The Sacramento Bee reported Tuesday.
Wright, a junior at Del Campo High School, said the inspiration for the program came to him while he was feeling lonely.
"If you want to send a message, and you don't have anybody to talk to, you could send a little prayer," he said.
Medl Mobile co-founder Andrew Maltin said the company expects the application to be "extremely successful."
"It's so simple, it's brilliant," Maltin said.
The company said the prayers can be read by other users of the program, but the only feedback they will be able to give is clicking on a "thumbs-up" symbol.
Video of Victoria’s Secret models trying to 'twerk' hits Instagram
Britney Spears debuts 'Perfume' video