| | |
| | | |
| | | private String deviceSipAccount;//设备SIP账号 |
| | | |
| | | |
| | | @Override |
| | | protected void onCreate(Bundle savedInstanceState) { |
| | | super.onCreate(savedInstanceState); |
| | |
| | | initCallBack(); |
| | | initCountDownTimer(); |
| | | initLinphone(); |
| | | initVibrator(); |
| | | |
| | | // initVibrator(); |
| | | } |
| | | |
| | | /** |
| | |
| | | mCountDownTimer.cancel(); |
| | | mCountDownTimer = null; |
| | | } |
| | | //5. |
| | | onDestroyLinphone(); |
| | | |
| | | HDLLog.i(TAG, "onDestroy"); |
| | | |
| | | } |
| | | |
| | | |
| | |
| | | timer_lp_calltime = (Chronometer) findViewById(R.id.timer_lp_calltime); |
| | | tv_lp_calltime = findViewById(R.id.tv_lp_calltime); |
| | | setWidthHeightWithRatio(ll_video_lp_rendering, 16, 9); |
| | | |
| | | |
| | | } |
| | | |
| | | /** |
| | |
| | | if (!TextUtils.isEmpty(titleName)) { |
| | | tv_lp_title.setText(titleName); |
| | | } |
| | | |
| | | deviceSipAccount = extras.getString(HDLLinphoneKit.KEY_SIP_ACCOUNT); |
| | | } |
| | | } |