The creator of an iPhone app called "A Note To God" is in a coma after being hit by a car over the weekend in a Sacramento suburb.



Allen Wright developed an iPhone application that allows users to send up prayers that go into cyberspace. Now his friends and family are praying for him.



The story of his injury is a dramatic one that had paniced members of his family searching in the dark for their injured loved one.



The 18-year-old was walking along a street about 12:45 a.m. Sunday morning when he was hit by a car, Josh Hart, Wright's brother-in-law, confirmed to KCRA in Sacramento.



Hart said that Wright was talking on the phone with a friend when he was hit. The person he was talking to said he could hear cars driving by but no sound from his friend.



When family members got to the scene, they told KCRA at first they could only find one of Wright's shoes in the road. Eventually the found Wright sitting on an island in the middle of the roadway, conscious but bleeding from the ears and not talking.



At some point, Wright suffered a seizure and lost consciousness. He has been in a coma at Mercy San Juan Hospital since the crash, Hart said.



As of Tuesday afternoon, police told KCRA they were still looking for the car that hit the teenager.

When his prayer app went live Wright said, "I think that there should be an app so that when you don’t have anyone you can talk to, you can write a note to God."



The company that purchased the app, MEDL Mobile updated its app page after they learned Wright was hurt:

We have been informed that Allen Wright, creator of Note to God, was involved in a serious car accident and is currently in the hospital. Our thoughts and prayers go out to Allen and his family.

---KCRA.com