DevBytes: Android 4.4 SMS APIs
Why Stack Overflow recommends it
Stack Overflow users link it as the official reference when asking about or implementing SMS and MMS receiving on KitKat.
Recommended by 0 people across 0 different months, 2014 to 2015.
What it is
A short DevBytes episode from the Android Developers channel explaining the SMS and MMS changes in Android 4.4 KitKat, including the new concept of a default SMS app. It walks through how an app should send and receive messages under the new APIs and points to sample code.
What people said
Cites Etienne Lawlor · 2014-02 · Stack Overflow · on “Receive MMS messages in Android KitKat”
So this video Android 4.4 SMS APIs [this video] from #DevBytes explains the recent changes to the SMS APIs in KitKat. They also provide a link with a sample project. [LINK] They suggest that you handle the receive of an MMS in a service. Which all looks fine, except they neglect to mention the most undocumented piece. How to actually handle an incoming MMS. Here is the sample from the project [LINK] I have tried to "handle the MMS" [LINK] I can get the extras from the intent but the only meaningful thing that I can extract is the number from which the MMS was sent. Can anyone point me in the right direction about how to go about this? I noticed that a WAP_PUSH_MESSAGE contains a few things, a FRO
Cites ToastMaster · 2014-06 · Stack Overflow · on “Android can't understand and make a SmsReceiver for KitKat devices”
I followed the Video of DevBytes - Android 4.4 SMS API's - [this video] With no luck i couldn't write a successful app that can receive SMS messages for kitkat devices. I made the exact format that the DevBytes developer did in his video and when i sent a message in the DDMS + Debug my receiver class Didn't jumped to the Breakpoint. Manifest: <uses-permission android:name="android.permission.RECEIVE_SMS"/> <uses-permission android:name="android.permission.WRITE_SMS"/> <uses-permission android:name="android.permission.READ_SMS"/> <uses-permission android:name="android.permission.SEND_SMS"/> <application android:allowBackup="true" android:icon="@drawable/ic_launcher" android:label="@string/app_name
Cites Albentrix · 2015-02 · Stack Overflow · on “Android - Try to send fake sms to myself without mobile network usage”
With the help from Mike M. I finally finished my program. So, this is the code that you must add to your app to be able to send sms without using network: Manifest: <uses-permission android:name="android.permission.WRITE_SMS"/> <uses-permission android:name="android.permission.READ_SMS"/> <application android:allowBackup="true" android:icon="@drawable/ic_launcher" android:label="@string/app_name" android:theme="@style/AppTheme" > <!-- BroadcastReceiver that listens for incoming SMS messages --> <receiver android:name=".SmsReceiver" android:permission="android.permission.BROADCAST_SMS"> <intent-filter> <action android:name="android.provider.Telephony.SMS_DELIVER" /> </intent-filter> </receive