0

I'm trying to make a phone call programmaticaly and get the result of a call in code. I'm making the call this way:

    Intent i = new Intent(Intent.ACTION_CALL);
    i.setData(Uri.parse("tel:" + EmergenciesConfigActivity.contactList.get(i).getTelf_number().trim()));
    startActivity(i);

I've thought about use startActivityForResult method, but i couldn't guess how to configure onActivityResult method.

Cœur
  • 32,421
  • 21
  • 173
  • 232
Toporokis
  • 1
  • 1

0 Answers0