Android sendTextMessage sends two identical messages on exceution

后端 未结 4 1039
陌清茗
陌清茗 2021-01-14 07:59

I\'ve been working on an app that sends SMS-messages. The problem I have is that the sendTextMessage method sends two messages with the same content. How do I fix that?

4条回答
  •  感情败类
    2021-01-14 08:22

    I've created a small Android library project that solves this issue using the reply from Stipa as well as code to make it work on HTC Tattoo and to make sure the right implementation is selected based on the device.

    https://github.com/nadam/compatibility-sms-manager

提交回复
热议问题