Eclipse warning

by Chihau Chau » Sun, 12 Apr 2009 05:14:51 GMT


Sponsored Links
 hi everybody,

Since previous releases of android SDK (I think since version 0.9), I
have a warning when I run a aplication from Eclipse.

"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."


How I can solve this? I am running Eclipse 3.4 (Ganymede) in Mac OS X 10.5.6.


Thanks!

-- 
Chihau Chau

--~--~---------~--~----~------------~-------~--~----~



Eclipse warning

by Mark Murphy » Sun, 12 Apr 2009 08:54:00 GMT


 


Ignore it. AFAIK, it is an error raised by the qemu emulator system, not
by anything in Android proper.

-- 
Mark Murphy (a Commons Guy)
 http://commonsware.com  |  http://twitter.com/commonsguy 

Android App Developer Training:  http://commonsware.com/training.html 

--~--~---------~--~----~------------~-------~--~----~


Sponsored Links


Other Threads

1. Send SMS in Android

hi guys,

i have a application which send sms. but i found that the application
always sends 2 sms messages to the selected number.

couldn't figure out how is this happening. so i'll paste the code
below if you have any suggestions just let me know

public class Compose extends Activity {
   private EditText name, msg;
   private Button send;
   private Spinner spinnerTimer;
   private ImageButton contacts;
   String contactName, number;
   private ImageView shp;
   private HashMap<String, Integer> color;

   @Override
   protected void onCreate(Bundle savedInstanceState) {
      // TODO Auto-generated method stub
      super.onCreate(savedInstanceState);
      setContentView(R.layout.compose_sms);
      colorMap();
      name = (EditText) findViewById(R.id.num);
      msg = (EditText) findViewById(R.id.msg);
      send = (Button) findViewById(R.id.snd);
      send.setOnClickListener(new OnClickListener() {

         @Override
         public void onClick(View v) {
            // TODO Auto-generated method stub
            Log.d("Button", "Button");
            send("454546", "Mike");
            return;
         }
      });


   }

   public void alert(String header, String body) {
      new AlertDialog.Builder(this).setTitle(header).setMessage(body)
            .setCancelable(true).setNeutralButton("Close",
                  new DialogInterface.OnClickListener() {
                     @Override
                     public void onClick(DialogInterface dialog,
                           int which) {
                        // TODO Auto-generated method stub
                     }
                  }).show();
   }






   @Override
   public boolean onKeyDown(int keyCode, KeyEvent event) {
      // TODO Auto-generated method stub
      if (keyCode == KeyEvent.KEYCODE_BACK) {
         finish();
         Intent intent = new Intent(this, Menu.class);
         startActivityForResult(intent, 107);
         return true;
      }
      return false;
   }



   private void send(String number,String msg) {

         PendingIntent pi = PendingIntent.getActivity(this, 0,
                  new Intent(this, Compose.class), 0);
         Log.d("SMS", "SMS");
              SmsManager sms = SmsManager.getDefault();
              sms.sendTextMessage(number, null, msg, pi,
null);

   }
}


regards,
Mike

-- 

2. Making the graphic layer transparent, for video playback

Hi,
I'm porting Android to a board with hardware video decoding support.
The board hardware draws the video into a video layer beneath the
graphic layer. I've implemented a custom media player that passes the
calls to the hardware decoders, but I need to make Android's surfaces
transparent. Is there any way this is possible with the current
Android architecture? I'm using the Eclair version for MIPS
architectures.
Thanks in advance,
 Svetozar

-- 
unsubscribe: android-porting+unsubscr...@googlegroups.com
website: 

3. deserialize byte[]

4. Creating Menu Problem

5. How to build default applications as a seperate

6. Help: tolong bantu cek hasil ROOT HTC Hero

7. HH android Meizu M