I\'m monitoring incoming SMSs.
My app is working perfectly with a BroadcastReceiver. However it is working from an Activity and would like to keep the <
BroadcastReceiver
Add Broadcast Reciever in manifest:
Create Class BootReciever.java
public class BootReceiver extends BroadcastReceiver { @Override public void onReceive(Context context, Intent intent) { if(intent.getAction().equals(Intent.ACTION_BOOT_COMPLETED)){ // +++ Do Operation Here +++ } } }