making phone call in android
<p>Making a Call through android device via phone and the code does not seems to work </p>

<p>I am call this funtion </p>

<pre><code>private void call() {
    try {
        Intent callIntent = new Intent(Intent.ACTION_CALL);
        callIntent.setData(Uri.parse("912345678"));
        startActivity(callIntent);
    } catch (ActivityNotFoundException activityException) {
        Log.e("dialing-example", "Call failed", activityException);
    }
}
</code></pre>

<p>also i have given the permission</p>

<pre><code>&lt;uses-permission android:name="android.permission.CALL_PHONE"&gt;&lt;/uses-permission&gt;
</code></pre>

<p>What am i doing wrong any one can guide me?</p>
