I’m using the package android.telephony.SmsManagerto send an SMS message from within my application, and it seems to be sending the message twice on the test device (Samsung Galaxy S 2) running Android 4.0.3, but does not have the same issue on another Galaxy S 2 running Android 2.3.5.
I’ve debugged the code very thoroughly.
My question is, has anybody else experienced this problem on devices running Android 4.0.x, is there a work around? (I’ve tried this Android 1.6 SMS (older application code))
Also it would be interesting to know if the problem is only found on SGS2s or if there is a wider API bug (there is no mention of this package being changed in the API docs)
Cheers
There is an issue with firmware (LPQ) specifically for Samsung Galaxy S2 running ICS 4.0.3 where SMS is sent twice on all 3rd party apps (including Handcent, GO SMS, etc) except stock messaging app. I think the latest version of firmware LP7 fixes the duplicate send SMS issue. Can you verify the base firmware version on your phone?
Handcent & GO SMS has found their own workarounds and upgraded their apks to market.