Ali
Ali

Reputation: 11610

how to make a call within android app?

I need to create some thing like prank call app so which API should I used for developing the application in which user can call to any number with in app ? Please help.

Upvotes: 2

Views: 734

Answers (2)

Konstantin Pribluda
Konstantin Pribluda

Reputation: 12367

This is done by broadcasting specific intent ( see: http://developer.android.com/reference/android/content/Intent.html )

ACTION_DIAL displays dialer while ACTION_CALL actually places call.

Upvotes: 4

olex
olex

Reputation: 797

Look at the Intent API: http://developer.android.com/reference/android/content/Intent.html#ACTION_DIAL

Note your app will also need the permission to dial numbers.

Upvotes: 1

Related Questions