Android – Make Phone Calls

Android – Make Phone Calls

For more visit: Android – Make Phone Calls

Android provides Built-in applications for phone calls, in some occasions we may need to make a phone call through our application. This could easily be done by using implicit Intent with appropriate actions. Also, we can use PhoneStateListener and TelephonyManager classes, in order to monitor the changes in some telephony states on the device.

This chapter lists down all the simple steps to create an application which can be used to make a Phone Call. You can use Android Intent to make phone call by calling built-in Phone Call functionality of the Android. Following section explains different parts of our Intent object required to make a call.

Action to make Phone Call

Intent phoneIntent = new Intent(Intent.ACTION_CALL);

You can use ACTION_DIAL action instead of ACTION_CALL, in that case you will have option to modify hardcoded phone number before making a call instead of making a direct call.

Data/Type to make Phone Call

phoneIntent.setData(Uri.parse(“tel:91-000-000-0000″)); to be continued...

要查看或添加评论,请登录

Peeyush Singhal的更多文章

  • Kiodesk : A Custome Support Software

    Kiodesk : A Custome Support Software

    KioDesk helps businesses deliver outstanding customer support to their clients through tools that allow customers to…

  • Roboeyelabs : A Online Free CRM Software

    Roboeyelabs : A Online Free CRM Software

    Customer relationship management (CRM) manages your business's single most important goal - satisfying your customers…

  • Sign Up for Best Free Bug Tracking Software | Bugcutter

    Sign Up for Best Free Bug Tracking Software | Bugcutter

    Bugcutter is a cloud based Bug Tracking and Project management tool. You can manage your projects here in a simplest…

  • Bugcutter - A Cloud based Project Management Tool

    Bugcutter - A Cloud based Project Management Tool

    Bugcutter is A cloud based bug tracking and project management tool . It is kanban based simple and free tools to…

  • PK Player - Android app

    PK Player - Android app

    Stylish , Powerful and Fast Music Player with elegant design . Music Player lets you manage all your music files…

  • Grow Your Business With Android Apps

    Grow Your Business With Android Apps

    Android has emerged as the most popular mobile operating system in the world. With more than 1 billion active Android…

  • Custom Fonts in Android - w2class

    Custom Fonts in Android - w2class

    In this post, we’ll look at a generalized approach, which is more complex, but also more suitable for a repeated use of…

  • Music Library for Android

    Music Library for Android

    This is the music library for android. You can use this library by just download and import in your android project.

    1 条评论
  • AppLocker - Android application

    AppLocker - Android application

    AppLocker is an application which is used to keep your privacy. You can lock your applications in your phone.

  • How to Get List of Installed Apps in Android

    How to Get List of Installed Apps in Android

    How to Get List of Installed Apps in Android Android PackageManager class is used to retrieve information on the…

社区洞察

其他会员也浏览了