When my app sends an SMS on the HTC EVO 4G via
android.telephony.SmsManager.sendTextMessage(), my BroadcastReceiver
that gets called on success/fauilure of the send is sometimes passed a
resultCode of 133179. This value is not mentioned in the API docs.
Does anyone know what this code means? In particular, is it a
temporary failure (subject to automatic retry) or a permanent failure?

>From data gatherd by flurry analytics my app has been tested on over
50 devices and the 133179 resultCode so far has only ever occurred on
HTC EVO 4G devices. I'm unable to test further myself as I don't have
an EVO, nor do I live near a CDMA network (not sure if CDMA is a
factor or not). But I need to know if this resultCode is a temporary
or permanent failure. Has anyone come across this before?

Note: There is at least one other undocumented resultCode that is
sometimes broadcast for SMS send requests: 133404. This occurs on HTC
Hero and Legend devices (and maybe others -- I'm not sure). From my
testing it seems that ResultCode 133404 is a temporary failure that
can be safely ignored -- the phone will automatically retry and
eventually broadcast a "final" resultCode for the message (0, 1, 2, 3
or 4 as per the javadoc for SmsManager).

Thanks in advance ...

-- 
You received this message because you are subscribed to the Google
Groups "Android Developers" group.
To post to this group, send email to [email protected]
To unsubscribe from this group, send email to
[email protected]
For more options, visit this group at
http://groups.google.com/group/android-developers?hl=en

Reply via email to