android: call a number
<p>i am working in android.</p>

<p>i want to call a number which is displaying in textbox. this is my code in xml file:-</p>

<pre><code> &lt;TextView android:id="@+id/textView_event_place_contactNo"

            android:text="Contact No"

            android:layout_height="wrap_content"

            android:layout_width="wrap_content"

             android:textColor="#000000"

            android:textSize="10dp"

            android:phoneNumber="true"  android:autoLink="phone"/&gt;
</code></pre>

<p>and this is my code:-</p>

<pre><code>      textView_contactNo.setOnClickListener(new View.OnClickListener() {

                @Override

                public void onClick(View v) {

                    Intent callIntent = new Intent(Intent.ACTION_CALL);

                    callIntent.setData(Uri.parse("tel:9783506635"));

                    startActivity(callIntent);

                }

            });
</code></pre>

<p>This above code is working properly. But problem is this , whenever i click on contact number then that call window opens, even if i dont want to call that number and press back button then also my call is connecting.</p>

<p>So please tell me what should i do for this, so when i press back button then call should not connect.</p>
