Which return value of the onStartCommand() method ensures that a Service is restarted if the system kills it, but it does not retain the original Intent?
4 phương ánCó giải thích
Các phương án trả lời
Chọn một phương ánLời giảiChọn phương án để mở
Khi một Service bị hệ thống giết, phương thức onStartCommand() sẽ được gọi lại để khởi động lại Service. Tuy nhiên, nếu muốn Service được khởi động lại mà không giữ nguyên Intent ban đầu, thì phương thức onStartCommand() cần trả về giá trị nào?
Cùng chương 5
Which of the following Android system services are involved in routing intents to broadcast receivers?Có lời giảiCâu hỏiWhich component responds to messages from Android system or applications?Có lời giảiCâu hỏiWhich component handle background processing associated with an application?Có lời giảiCâu hỏiCả 26 câu của chủ đề26 câu
Đi tiếp từ đây