1) Is there any way that I can send a raw SMS PDU from an Android device?
Or,
2) are there any classes available that can give me access to the PDU headers (for example TP-DCS) so that I can construct the PDU as I like?
I have searched the net and found: http://www.androidjavadoc.com/1.0_r1_src/com/android/internal/telephony/gsm/ISms.html but the above classes are private and as such are not available to me(haven't actually understood why).
Is what I'm asking possible in any way or not? If not then why can't I have that kind of functionallity?
Thanx
I know how. http://www.silentservices.de/products/android-hushsms/ and
xposed
framework http://repo.xposed.info/module/de.robv.android.xposed.installerYou'll need to root your phone to make use of the the
xposed
module 'raw-pdu', but it works. Hush-sms provides the api functionality / extensibility to send the 7 raw sms types.This is a requested feature for the public API.
The developer comments hint at using the
sendRawPdu
from the internalSMSDispatcher
API, which can be done via reflection. However, the use of private APIs for production code is highly discouragedIt is not clear if it's possible to send using the public
TelephonyManager
API.In conclusion: It's not clear if it's possible. I have the same question as you.