How is an incoming message delivered to my application?

Please read here how to receive incoming SMS messages.

Category: 
Messaging