passing a value to call-button in android
<p>i am creating a calling application . I am trying to use a default number in actionView and want to pass a mobile number in mobile call button. </p>

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

<pre><code>public void onClick(View arg0) {
                  // this is real calling number 
        long mobile = "tel:9999999999";
                                           // this is default number.and show in textfield of calling.
                    Uri uri = Uri.parse("tel:+919910699440");
                 Intent intent = new Intent(Intent.ACTION_VIEW, uri);
        // here i want to pass real calling num in Button. so when i press the                         
                    //calling button . button will get mobile num but not show.     

                     intent.setData(Uri.parse("tel:"+mobile));

                 startActivity(intent);


                }
</code></pre>

<p>thank you for your time.</p>
