Tested Codes
Labels
Home(SITE MAP)
C
C++
Java
Sorting
Data Structure
Android
Searching
About me
Contact me
Monday, 6 July 2015
TO CALL FROM ANDROID APP
JAVA CODE :
//Put The required number after tel:
Intent
icall
=new
Intent
("
android.intent.action.CALL
",
Uri.parse("tel:9999999999")
);
startActivity(icall);
//end of code
This requires permission so add this in manifest.xml
<uses-permission android:name="android.permission.CALL_PHONE"/>
No comments:
Post a Comment
Newer Post
Older Post
Home
Subscribe to:
Post Comments (Atom)
No comments:
Post a Comment