Hi, Ive followed the Erel tutorial instructions in:
but it does not work.
Ive adder to the manifest:
Created a Service called "readsmsservice" and complete it like the tutorial.
The service starts ok but it does nothing when sms arrives.
Im using b4a 9.80
Anything I missed?
Thanks
Intent Filters - Intercepting SMS messages in the background
Old tutorial. Don't use services. Use receivers. Broadcast receivers are program components that can handle broadcasted messages. These messages usually notify about a system event. There are two types of receivers in Android: statically registered receivers and dynamically registered...
www.b4x.com
Ive adder to the manifest:
B4X:
AddReceiverText(readsmsservice,
<intent-filter>
<action android:name="android.provider.Telephony.SMS_RECEIVED" />
</intent-filter>)
Created a Service called "readsmsservice" and complete it like the tutorial.
The service starts ok but it does nothing when sms arrives.
Im using b4a 9.80
Anything I missed?
Thanks