Android 二进制短信不工作
我正在从一个模拟器向另一个模拟器发送二进制短信,这两个模拟器都是Galaxy Nexus API 22。消息已发送,但出现了三个问题:Android 二进制短信不工作,android,sms,Android,Sms,我正在从一个模拟器向另一个模拟器发送二进制短信,这两个模拟器都是Galaxy Nexus API 22。消息已发送,但出现了三个问题: 在发送emulator时,默认SMS应用程序会像正常发送的文本消息一样显示SMS 在接收emulator时,收到SMS时会弹出一条通知,SMS会像正常接收的文本消息一样出现在默认消息应用程序中 我的应用程序没有收到二进制短信 发件人(创建时的主要活动): 收件人的舱单条目: <receiver android:name=".Receiver"
<receiver
android:name=".Receiver"
android:exported="true">
<intent-filter>
<action android:name="android.intent.action.DATA_SMS_RECEIVED" />
<data
android:scheme="sms"
android:host="*"
android:port="2345" />
</intent-filter>
</receiver>
<receiver
android:name=".Receiver"
android:exported="true">
<intent-filter>
<action android:name="android.intent.action.DATA_SMS_RECEIVED" />
<data
android:scheme="sms"
android:host="*"
android:port="2345" />
</intent-filter>
</receiver>