Mobile Programming Question:
An Activity volunteers to respond to implicit intents by
invoking the startActivityForIntent method |
||
adding an intent filter to it's manifest. |
||
adding a volunteer flag to it's onCreate() method. |
||
specifying the volunteer attribute in it's XML layout file |
Answer)
One can add a volunteer flag to that of onCreate() method.
One can receive the result from that of the activity while one sinishes the call startActivityForResult() and this can be done with regards to using onCreate() method and then passing it which would help with the response to the intent as well as the user would not see as to which service would start.
Please comment in case you need any other inputs.
Please share a like if you find the answer helpful.
Thank you.
Get Answers For Free
Most questions answered within 1 hours.