FAQS


finish activity

Views: 1109  |   Date: 2014-04-18 21:03:26

After I start an activity that call an Intent.ACTION_CALL, I can not control to stop it. Do anybody help me, please ?


Some code :

1. Intent i = new Intent(Intent.ACTION_CALL);
2. i.setData(Uri.parse("tel:12345"));
3. startActivityForResult(i, REQUEST_CODE);
......
4. finishActivity(REQUEST_CODE);

-> line 4 is not work ! But it is work for other Intent I make by myself (not a system intent).

 
Submit Your Answer
  |  
 
 
 

Preview :