Hey,
      It's the first time that i run the android emulator on the mac. and
I'm pretty sure that i have configure it well.

so i write a program called AndroidDialer
here is the program

package com.google.android.AndroidDialer;

import android.app.Activity;
import android.content.Intent;
import android.net.Uri;
import android.os.Bundle;
import android.view.View;
import android.widget.Button;
import android.widget.EditText;

public class AndroidDialer extends Activity {
    /** Called when the activity is first created. */
    @Override
    public void onCreate(Bundle savedInstanceState) {
        super.onCreate(savedInstanceState);
        setContentView(R.layout.main);

        final EditText numberInputed = (EditText)
findViewById(R.id.numberInputed);
        final Button callButton = (Button) findViewById(R.id.callButton);

        callButton.setOnClickListener(new Button.OnClickListener(){
            public void onClick(View v) {
                Intent callIntent = new Intent(Intent.ACTION_CALL,
Uri.parse("tel:" + numberInputed.getText().toString()));
                callIntent.addFlags(Intent.FLAG_ACTIVITY_NEW_TASK);
                startActivity(callIntent);
            }
        });
    }
}


and when I lunch the emulator it show  something  that i have never meet
before.
"[2009-07-11 11:34:59 - Emulator] 2009-07-11 11:34:59.236 emulator[3585:10b]
Warning once: This application, or a library it uses, is using
NSQuickDrawView, which has been deprecated. Apps should cease use of
QuickDraw and move to Quartz.
"

so could anyone be kind enough to help me ?
thanks.

--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google
Groups "Android Beginners" 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-beginners?hl=en
-~----------~----~----~----~------~----~------~--~---

Reply via email to