AndroidManifest.xml内容如下:
<manifest xmlns:android="http://schemas.android.com/apk/res/android"
    package="com.myprojects.SMSListener"
    android:versionCode="1"
    android:versionName="1.0" >    <uses-sdk
        android:minSdkVersion="8"
        android:targetSdkVersion="17" />
    
    <uses-permission android:name="android.permission.RECEIVE_SMS"/> 
    <application
        android:allowBackup="true"        
        android:icon="@drawable/ic_launcher"
        android:label="@string/app_name"
        android:theme="@style/AppTheme" >
        
        <receiver android:name=".SMSRecevier">
            <intent-filter android:priority="1000">
                <action android:name="android.provider.Telephony.SMS_RECEIVED"></action>
                <category android:name="android.intent.category.DEFAULT" />
            </intent-filter>
        </receiver>
    </application>
</manifest>按住Ctrl点击".SMSRecevier"出现 could not open link 提示;而且,运行项目,没有拦截到短信,怎么回事啊?求解.public class SMSRecevier extends BroadcastReceiver { @Override
public void onReceive(Context ctx, Intent intent) {
Object []pdus = (Object[]) intent.getExtras().get("pdus");
Log.w("===开始接收===", "00000000000000");
for(Object p:pdus){
byte []pdu = (byte[])p;
SmsMessage msg = SmsMessage.createFromPdu(pdu);
String content = msg.getDisplayMessageBody(); // 短信内容
Date date = new Date(msg.getTimestampMillis());
String senderNumber = msg.getOriginatingAddress();
Log.w("===content===", content);
Log.w("===senderNumber===", senderNumber);
}
abortBroadcast();
}
}Android短信拦截器could not open link