开发者

Android programming auto sms

开发者 https://www.devze.com 2023-03-12 17:05 出处:网络
I have an application which sends an auto SMS when I receive an SM开发者_C百科S, or missed cal etc.So, if thesame application is there in the opposite person\'s phone, then the the process of sending

I have an application which sends an auto SMS when I receive an SM开发者_C百科S, or missed cal etc. So, if the same application is there in the opposite person's phone, then the the process of sending SMS continues, which should not happen. How to avoid this?

In fact, how to detect an SMS, which is sent by user or auto replied?

Please try to explain programmatically as clearly as possible..


SmsManager sm = SmsManager.getDefault();
sm.sendTextMessage(phoneno, null,"sam", null, null);
0

精彩评论

暂无评论...
验证码 换一张
取 消