Consider the code snippet below:
public class MyReceiver extends PhoneStateIntentReceiver
{
@Override
public void onReceiveIntent(Context context, Intent intent)
{
if (intent.action == Intent.CALL_ACTION)
{
}
}
}
Assuming that notifyPhoneCallState has been called to enable MyReceiver to receive notifications about the phone call states, in which of the following cases will the code in get executed?
Correct Answer: The code in will never get executed.
Explanation:
Note: This Question is unanswered, help us to find answer for this one
More Android Programming MCQ Questions
Android Programming MCQs | Topic-wise