I have created SMS Receiver app… but i want to create it as an service, it should run in the background (i.e no separate UI for this app, want to work like alarm app) and even if mobile restarts it automatically starts… could any one help on this?
My previous SMS Receiver app code was here
Unable to instantiate activity ComponentInfo in Android Receive Sms App
Your existing
BroadcastReceiverfor the (undocumented)android.provider.Telephony.SMS_RECEIVEDalready runs in the background.Your existing
BroadcastReceiverfor the (undocumented)android.provider.Telephony.SMS_RECEIVEDalready is available after the device reboots.