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 android-developers@googlegroups.com To unsubscribe from this group, send email to android-developers-unsubscr...@googlegroups.com For more options, visit this group at http://groups.google.com/group/android-developers?hl=en -~----------~----~----~----~------~----~------~--~---