1

Here is my code:

<receiver android:name=".IncomingSms"     android:permission="android.permission.BROADCAST_SMS">
    <intent-filter android:priority="2147483648">
        <action android:name="android.provider.Telephony.SMS_RECEIVED" />
        <category android:name="android.intent.category.DEFAULT" />
    </intent-filter>
</receiver>

My app work fine when GoSMSPro is not installed.I install my app fisrt then install GoSMSPro but still can not receive sms.

I have another question and it is: how BeeTalk can receive registration sms when even GoSMSPro is installed?

Manian Rezaee
  • 1,012
  • 12
  • 26

1 Answers1

1

Android: Listen for incomming sms when GoSMSPro installed

Some applications register SMS BroadcastReceiver with highest priority so those application receive callback of received SMS first and halt this receiver so other application which also register this won't receive callback.

Alternate option , you can use ContentObserver that receive callback when there is any message received/deleted etc.

Ajay S
  • 48,003
  • 27
  • 91
  • 111