NotifyPhoneCallState has to be called if your application wishes to receive a notification about an incoming phone call.
notifyPhoneCallState is a call back function that is called when the call state changes.
NotifyPhoneCallState is called to initiate a call from the device.
NotifyPhoneCallState is used to send notifications about call states.
notifyPhoneCallState gets called when the device receives an incoming phone call.
A and C
B and D
StartActivity and startActivityForResult can both be used to start a new activity from your activity class.
Only startActivityForResult can be used to launch a new activity from your activity class.
StartActivity(myIntent); and startActivityForResult(myIntent, -1); have the same result.
StartActivity(myIntent); and startActivityForResult(myIntent, 0); have the same result.
A and C
Import android drivers
Import android hardware camera
Import android camera
Import android hardware
Import android util
Both startActivity and startSubActivity start an activity synchronously.
Both startActivity and startActivityForResults start an activity asynchronously.
StartActivity is an asynchronously call, but startSubActivity is synchronous.
StartActivity is a synchronous call, but startSubActivity is asynchronous.