View

Saturday, 2 June 2012

Dial Application

How to USE Dial the Number in Android

Its a simple default Android api to use the Dial the number .
startActivity(new Intent(Intent.ACTION_CALL, Uri.parse("tel:" + num_et.getText())));

Here i used 1 Edit text for typing the Number and 1 button to make a cal options.
Button cal_btn;
EditText num_et;
public void onClick(View v) {
   
if(num_et!=null ){
startActivity(new Intent(Intent.ACTION_CALL, Uri.parse("tel:" + num_et.getText()))); 
     }
   
   }
  });
Dont forgot to give the cal permission like:
<uses-permission android:name="android.permission.CALL_PHONE" />

8 comments:

  1. I would but say to you all "impressive information"

    Rescue Root

    ReplyDelete
  2. The deep you dig into the subject and give us the accurate data is appreciable.
    one click root droid x

    ReplyDelete
  3. Hi,
    its really nice post about Android application. i apprentice for your post. thanks for shearing useful information about dial application. keep it up.

    ReplyDelete
  4. I have read the process of Dial Application of Android ,Really it is nice example for me and other people which want use it.Thanks for sharing this information...

    Android App Development

    ReplyDelete
  5. Well somehow I got to read lots of articles on your blog. It’s amazing how interesting it is for me to visit you very often.
    create android apps

    ReplyDelete
  6. Even we design and develop engaging, secure and high-performance websites, portals and web applications.

    Mobile Application Development Company

    ReplyDelete