User Tools

Site Tools


intents:calls

Differences

This shows you the differences between two versions of the page.

Link to this comparison view

intents:calls [2020/05/02 09:15]
becca extra detail
intents:calls [2020/05/02 23:12]
Line 1: Line 1:
-===== Phone Calls ===== 
  
- 
-**Launch Dialer app** 
- 
-action=  "android.intent.action.DIAL", 
-uri= "tel:5551237654" 
- 
-''app.SendIntent(null, null, "android.intent.action.DIAL", null, "tel:5551237654");'' 
- 
-**Direct Call** 
- 
-action=  "android.intent.action.CALL", 
-uri= "tel:5551237654" 
- 
-''app.SendIntent(null, null, "android.intent.action.CALL", null, "tel:5551237654");'' 
- 
-Please note that no package or activity is required because Dialer app differs among manufacturers and sometimes event among models from same manufacturer. 
- 
-Most devices display the Dialer app for both DIAL and CALL 
- 
-The main differences, in addition to whether the user needs to press the button are: 
-  * CALL requires PHONE permission and DIAL does not 
-  * DIAL does not allow emergency calls 
-  * DIAL suppresses some special characters such as **#** to prevent abuse 
intents/calls.txt ยท Last modified: 2020/05/02 23:12 (external edit)