Code example for FragmentActivity

Methods: onPause

0
     * because the next activity will not be resumed until this method returns. 
     */ 
    @Override 
    protected void onPause() { 
        Log.v(TAG, "onPause");
        super.onPause(); 
    } 
 
    /** 
     * ユーザに見えなくなるタイミングが onStop() です。 
     * ユーザに見えなくなるので、onStart() で準備した各種リソースをここで開放します。 
     * 
     * Finishing the visible lifetime of this {@link Activity}. 
     * This time the {@link Activity} is no longer visible to the user. 
     * You should release resources from this {@link Activity}, such like 
     * unregistering {@link BroadcastReceiver} or some listener objects. 
     */ 
    @Override 
    protected void onStop() { 
        Log.v(TAG, "onStop");
        super.onStop();