12. Trong trường hợp khẩn cấp điều quan trọng là thông điệp được thông qua. Cải thiện sự vững mạnh của appli¬cation bằng cách bao gồm chức năng tự động thử lại. Giám sát sự thành công của truyền tin nhắn SMS của bạn để bạn có thể phát lại một tin nhắn nếu nó không gửi thành công.
12.1 Bắt đầu bằng cách tạo ra một String tĩnh công mới trong Hoạt động Responder khẩn cấp sẽ được sử dụng trong phạm vi phát sóng Intents để chỉ ra các tin nhắn SMS đã được gửi đi.
12.2 cập nhật phương pháp phản ứng bao gồm một PendingIntent mới mà chương trình phát sóng các hành động tạo ra trong bước trước khi truyền tin nhắn SMS đã hoàn thành. Các Ý định đóng gói phải bao gồm số của người nhận một vai phụ.
đang được dịch, vui lòng đợi..