package io.rong.app.activity;

import android.media.AudioManager;
import android.os.Bundle;
import android.support.v7.app.ActionBarActivity;

import io.rong.app.R;

public abstract class BaseActivity extends ActionBarActivity {

    @Override
    protected void onCreate(Bundle savedInstanceState) {
        super.onCreate(savedInstanceState);
        setVolumeControlStream(AudioManager.STREAM_MUSIC);// 使得音量键控制媒体声音
        getSupportActionBar().setLogo(R.drawable.de_bar_logo);//actionbar 添加logo

    }


}

@@ -131,24 +131,67 @@
 rActivity;%0A%0A
+import com.umeng.analytics.MobclickAgent;%0A%0A
 import io.ro
@@ -543,10 +543,207 @@
     %7D%0A%0A%0A
+    public void onResume() %7B%0A        super.onResume();%0A        MobclickAgent.onResume(this);%0A    %7D%0A%0A    public void onPause() %7B%0A        super.onPause();%0A        MobclickAgent.onPause(this);%0A    %7D%0A%0A
 %7D%0A

add umeng