我对重复的任务有个问题。
基本上,我在做服务,发送短信和检查响应一分钟。如果收到响应,则使用成功消息更新textview,否则失败。我的发送短信服务正常,但我被困在接收短信。我打电话,发送短信,查看短信,就像这样:
sendSms("6617", "Test") // it works;
readSms.run() // it works too;
if (message.equals("desired sms"){ // it doesn't wait read sms to finish
updateTextView("