The App Inventor app must be running when the incoming call is received. AI2 apps cannot run as a service, that is what is required to start an AI app after any incoming call. AI2 apps cannot presently run in the background; that is necessary for your app.
Broadcast a predefined msg .... use the Texting component or do you really mean the app will play a sound file when the phone rings? If so, then you will need the Player component.
The above is a simplification. You have a lot to learn to develop this app and some of the feature you want cannot be coded with App Inventor. You could code something similar.
We want you to have fun with App Inventor so here are some resources to help you learn to use the AI2 tools A very good way to learn App Inventor is to read the free Inventor's Manual here in the AI2 free online eBook
http://www.appinventor.org/book2 ... the links are at the bottom of the Web page. The book 'teaches' users how to program with AI2 blocks.
Regards,
Steve