I am sending wap push using now sms software.I have a android development phone. The following is my code to receive wap push
Android Manifest file <receiver android:enabled="true" android:name=".PushMsgReceiver"> <intent-filter> <action android:name="android.provider.Telephony.WAP_PUSH_RECEIVED" /> <action android:name="android.provider.Telephony.SMS_RECEIVED" /> <action android:name="android.provider.Telephony.MMS_RECEIVED" /> </intent-filter> </receiver> </application> <uses-permission android:name="android.permission.INTERNET"></uses-permission> <uses-permission android:name="android.permission.RECEIVE_WAP_PUSH"></uses-permission> <uses-permission android:name="android.permission.RECEIVE_SMS"></uses-permission> <uses-permission android:name="android.permission.RECEIVE_MMS"></uses-permission> PushMsgReceiver.java public class PushMsgReceiver extends BroadcastReceiver { public final static String TAG = "Push Receiver"; private static final String SMS_RECEIVED = "android.provider.Telephony.SMS_RECEIVED"; private static final String PUSH_RECEIVED = "android.provider.Telephony.WAP_PUSH_RECEIVED"; @Overide public void onReceive(Context context, Intent intent) { Log.e(TAG, "Intent recieved: " + intent.getAction()); if (intent.getAction().equals(SMS_RECEIVED)) { //toast to show result Log.e(TAG, "SMS: " + intent.getAction()); Toast.makeText(context, "SMS_RECEIVED", Toast.LENGTH_LONG).show(); } if (intent.getAction().equals(PUSH_RECEIVED)) { //toast to show result Log.e(TAG, "PUSH: " + intent.getAction()); Toast.makeText(context, "PUSH MSG", Toast.LENGTH_LONG).show(); } } But It is not displaying for Wap push. This receiver is not at all active on Wap push receive event. But message comes to my development phone inbox Any help please -- You received this message because you are subscribed to the Google Groups "Android Developers" group. To post to this group, send email to android-developers@googlegroups.com To unsubscribe from this group, send email to android-developers+unsubscr...@googlegroups.com For more options, visit this group at http://groups.google.com/group/android-developers?hl=en