Android 上的短信自动回复
首先,一个非编程问题:我的手机会自动回复未接来电并发送一条短信:“抱歉。我现在不在手机旁边。” 我的手机从哪里想到要这样做?我该如何让它停止?
还有一个编程问题:我怎样才能让我的 Android 做任意事情来响应未接来电,例如通过电子邮件将电话号码发送给我,或者只是自定义 SMS 自动响应,也许回复我的位置。
First, a non-programming question: My phone is auto-responding to missed calls with a text message: "Sorry. I'm not near my phone right now." Where did my phone get the idea to do that and how do I make it stop?
And a programming question: How can I make my Android do arbitrary things in response to a missed call, such as email me the phone number, or just customize the SMS auto-response, perhaps replying with my location.
如果你对这篇内容有疑问,欢迎到本站社区发帖提问 参与讨论,获取更多帮助,或者扫码二维码加入 Web 技术交流群。
绑定邮箱获取回复消息
由于您还没有绑定你的真实邮箱,如果其他用户或者作者回复了您的评论,将不能在第一时间通知您!
发布评论
评论(2)
您的编程问题的答案:
为来电设置一个 IntentListener。 如果没有得到答复,请让您的应用程序进行相应处理!
The answer to your programming question:
Setup an IntentListener for incoming calls. If it's not answered, have your application process it accordingly!
我发现我安装了一个名为 dgAway 的 Android Market 应用程序,它可以进行短信自动回复。 我从未运行过该应用程序,也从未检查过“自动回复未接来电”框,但似乎这可能就是自动回复的原因。 我尝试卸载它,自动响应似乎已停止。
添加:我发现了一个非常好的 Android 应用程序,DroidTracker,当联系人向您发送您选择的短语(例如“你在哪里?”或“ping”)时,它会(对于批准的联系人)自动回复您的位置。 您还可以设置一个不太容易猜到的短语(默认为“我想要回我的手机”),这将使您的手机自动回复任何人,无论是否批准。 这样,如果您的手机丢失或被盗,您可以询问手机在哪里。
I figured out that I had installed an Android Market app called dgAway that does SMS auto-responses. I had never run that app nor checked the "auto-respond to missed calls" box, but it seems that may have been what was doing the auto-responses. I tried uninstalling it and the auto-responses seem to have stopped.
ADDED: I found a really nice Android app, DroidTracker, that will (for approved contacts) auto-reply with your location when the contact texts you a phrase of your choosing (eg, "where are you?" or "ping"). You can also set a less guessable phrase (default is "I want my phone back") that will cause your phone to auto-respond to anyone, approved or not. That way if your phone is lost or stolen you can ask your phone where it is.