Android 短信 彩信 wap push的接收

接收彩信
<receiver android:name=".smsreceiver"
     android:permission="android.permission.BROADCAST_WAP_PUSH">
        <intent-filter android:priority="10000">
          <action android:name= "android.provider.Telephony.WAP_PUSH_RECEIVED" />
          <data android:mimeType="application/vnd.wap.mms-message" />
        </intent-filter>
     </receiver> 
接收wap push
<receiver android:name=".smsreceiver">
    <intent-filter>
        <action android:name="android.provider.Telephony.WAP_PUSH_RECEIVED" />
        <data android:mimeType="application/vnd.wap.sic" />
    </intent-filter>
    </receiver>
 
接收短信
 
<receiver android:name=".smsreceiver">
        <intent-filter>
           <action android:name="android.provider.Telephony.SMS_RECEIVED" />
        </intent-filter>
     </receiver>  
 

你可能感兴趣的:(android,移动开发,职场,休闲,信息接收)