Code example for FragmentActivity

Methods: onStart

0
     * registering {@link BroadcastReceiver}, etc. 
     */ 
    @Override 
    protected void onStart() { 
        Log.v(TAG, "onStart");
        super.onStart(); 
    } 
 
    /** 
     * onResume() から、{@link Activity} がフォアグラウンドに来て、ユーザの操作ができるようになります。 
     * {@link Activity} は頻繁に Resume 状態から Paused 状態へと遷移しますので、ここに重い処理は書かないようにします。 
     * 
     * Starting the foreground lifetime of this {@link Activity} with this method. 
     * The {@link Activity} comes in front of all other activities and interacting with the user. 
     * An activity can frequently go between the resumed and paused states, so 
     * the code in these methods should be fairly lightweight. 
     */ 
    @Override 
    protected void onResume() { 
        Log.v(TAG, "onResume");
        super.onResume();