Find centralized, trusted content and collaborate around the technologies you use most.
Teams
Q&A for work
Connect and share knowledge within a single location that is structured and easy to search.
我可以使用 android 的 sms api 让用户在不离开我的应用程序的情况下发送和接收消息吗?即,据用户所知,短信完全是我的应用程序的一部分。
到目前为止,我的理解是我可以让用户从我的应用程序内发送短信,但收件人不会在我的应用程序内收到短信。
是的你可以。通过使用,SmsManager您可以从自己的应用程序发送短信。您还可以设置侦听器来拦截收到的消息并将它们显示给用户。这一切都是由许多应用程序开发人员完成的。
SmsManager