“android.provider.Telephony.SMS_RECEIVED” not working on my device (HTC Wildfire) - how to debug?

前端 未结 4 1147
礼貌的吻别
礼貌的吻别 2020-12-09 06:36

I face really frustrating problem.

I created SMS receiver as most online and book\'s tutorials say.

AndroidManifest.xml:



        
4条回答
  •  旧巷少年郎
    2020-12-09 07:02

    I am pretty sure that this code is right. You might not be seeing the Toast message, But the logs would have come. Check the Logcat and you should see the log you have put.

    You should be using Notifications inside BroadcastReceivers and not Toasts.

提交回复
热议问题