Android
Programming and Technical
Programming
Technical
What are the various return values of onStartCommand(), and when to use what?
Options
1) START_STICKY - in case if android stops our service forcefully, then restart service by sending intent null
2) START_NOT_STICKY - in case if android stops our service forcefully, then don't restart, until user restarts it.
3) START_REDELIVER_INTENT- in case if android stops our service forcefully, then restart service by sending re-sending the intent.
4) all options are true
Read Solution (Total 1)
-
- 4) All options are true. we are having different options.
- 3 years agoHelpfull: Yes(0) No(0)
Android Other Question