| | |
| | | |
| | | public class LinphoneTestActivity extends Activity { |
| | | |
| | | private static final String password = "xFNxyrTIM8gLAOGDw3OiuzV5F"; |
| | | private static final String password = "Wc7SeYXb0oyGOXVvtUYtju2Dy"; |
| | | private static final String serverIP = "47.96.88.250:25060";//""116.62.26.215:35060"; |
| | | private String account = ""; |
| | | |
| | |
| | | |
| | | // 呼叫 |
| | | private EditText numberEdit; |
| | | private Button callBtn,monitorBtn; |
| | | private Button callBtn, monitorBtn; |
| | | |
| | | @Override |
| | | protected void onCreate(Bundle savedInstanceState) { |
| | |
| | | intent.addFlags(Intent.FLAG_ACTIVITY_NEW_TASK); |
| | | intent.putExtra(HDLLinphoneKit.KEY_SIP_ACCOUNT, number); |
| | | startActivity(intent); |
| | | // HDLLinphoneKit.getInstance().callTo(number, true); |
| | | }); |
| | | |
| | | monitorBtn = findViewById(R.id.monitor_btn); |
| | |
| | | } |
| | | |
| | | @Override |
| | | public void onRejectCallAllAction() { |
| | | |
| | | } |
| | | |
| | | @Override |
| | | public void onUnlockAction() { |
| | | // |
| | | } |