Use IntentFiler in onPause()
<p>I want to start my Application (ex update my TextView) after press back button. But it didn't work. Please help me.</p>

<pre><code>public void onCreate(Bundle savedInstanceState) {
    super.onCreate(savedInstanceState);
    setContentView(R.layout.main);        
   intentFilter = new IntentFilter();
    intentFilter.addAction("SMS_RECEIVED_ACTION");  
    registerReceiver(intentReceiver, intentFilter);
}


protected void onPause() {
     registerReceiver(intentReceiver, intentFilter);
     super.onPause();

}

private  BroadcastReceiver intentReceiver = new BroadcastReceiver() {           
    @Override
    public void onReceive(Context context, Intent intent) {
        sendSMS("123","message"); 

    }
};
</code></pre>
