Hi,

Whenever a new outgoing call in placed OS broadcast a native action
"ACTION_NEW_OUTGOING_CALL" and we can listen to an outgoing call as
follows

public class OutgoingCallListenerCRS extends BroadcastReceiver{

        @Override
        public void onReceive(Context context, Intent intent) {

                Log.e("Chitta : ", "Its working");
        }
}

//////////// manifest as follows

<application android:icon="@drawable/icon" android:label="@string/
app_name">

                <receiver android:name="OutgoingCallListenerCRS"
android:enabled="true">
                        <intent-filter>
                                <action 
android:name="android.intent.action.NEW_OUTGOING_CALL"/>
                                <category  
android:name="android.intent.category.DEFAULT" />
                        </intent-filter>
                </receiver>

    </application>

        <uses-permission
android:name="android.permission.PROCESS_OUTGOING_CALLS"/>


Similarly I want to do same for an incoming call,
I want to make an app that will start by itself whenever a new
incoming call appears, by listening to OS's Native Android Broadcast
Actions, is it possible?

If not, how can I make an app that will start by itself whenever a
incoming call comes in device even though my app was not started
before the incoming call.

Please give some idea or sample etc........

Thanks & Regards
CR Sardar

-- 
You received this message because you are subscribed to the Google
Groups "Android Developers" group.
To post to this group, send email to android-developers@googlegroups.com
To unsubscribe from this group, send email to
android-developers+unsubscr...@googlegroups.com
For more options, visit this group at
http://groups.google.com/group/android-developers?hl=en

Reply via email to