Code example for FragmentActivity

Methods: onStart

     * registering {@link BroadcastReceiver}, etc. 
    protected void onStart() { 
        Log.v(TAG, "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. 
    protected void onResume() { 
        Log.v(TAG, "onResume");