Hi Mak,

       it works! But i want something different... i want to see the number
being dialed and after the call key being pressured. How can i do this?
        []s,
           Michelle.

2009/7/31 Mark Murphy <[email protected]>

>
> Michelle Silva wrote:
> > public class MakeCall extends Activity {
> >     /** Called when the activity is first created. */
> >     @Override
> >     public void onCreate(Bundle savedInstanceState) {
> >         super.onCreate(
> > savedInstanceState);
> >         Intent intent = new Intent(Intent.ACTION_DIAL);
> >         intent.setData(Uri.parse("99999999"));
> >         startActivity(intent);
> >
> >         setContentView(R.layout.main);
> >     }
> > }
>
> Try:
>
> intent.setData(Uri.parse("tel:99999999"));
>
> --
> Mark Murphy (a Commons Guy)
> http://commonsware.com | http://twitter.com/commonsguy
>
> Need help for your Android OSS project? http://wiki.andmob.org/hado
>
> >

--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google
Groups "Android Developers" group.
To post to this group, send email to [email protected]
To unsubscribe from this group, send email to
[email protected]
For more options, visit this group at
http://groups.google.com/group/android-developers?hl=en
-~----------~----~----~----~------~----~------~--~---

Reply via email to