@Override protected void onCreate(Bundle savedInstanceState) { logger.d("message_activity#onCreate:%s", this); super.onCreate(savedInstanceState); currentSessionKey = getIntent().getStringExtra(IntentConstant.KEY_SESSION_KEY); initSoftInputMethod(); initEmo(); initAlbumHelper(); initAudioHandler(); initAudioSensor(); initView(); imServiceConnector.connect(this); EventBus.getDefault().register(this, SysConstant.MESSAGE_EVENTBUS_PRIORITY); logger.d("message_activity#register im service and eventBus"); }