skip to Main Content

Firebase – call by phone number on button click (java)

I have a call method on button click button_call=(Button) findViewById(R.id.button_call); button_call.setOnClickListener(new View.OnClickListener() { @Override public void onClick(View view) { Intent intent=new Intent(Intent.ACTION_DIAL); intent.setData(Uri.parse("tel:+79142214017")); startActivity(intent); } }); And the data transfer method in Firebase private void validateClientInfo() { if (TextUtils.isEmpty(client_edit.getText().toString())) {…

VIEW QUESTION
Back To Top
Search