package com.example.helloandroid;
import android.app.Activity;
import android.os.Bundle;
import android.widget.TextView;
public class HelloAndroid extends Activity {
/** Called when the activity is first created. */
@Override
public void onCreate(Bundle savedInstanceState) {
super.onCreate(savedInstanceState);
TextView tv = new TextView(this);
tv.setText("Hello Android");
setContentView(tv);
}
}
I get these warnings doing compiling
Quote
[2010-03-27 09:39:52 - Emulator] 2010-03-27 09:39:52.432 emulator[1237:903] 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.
[2010-03-27 09:40:16 - HelloAndroid] WARNING: Application does not specify an API level requirement!
[2010-03-27 09:40:16 - HelloAndroid] Device API version is 7 (Android 2.1)
[2010-03-27 09:40:16 - HelloAndroid] WARNING: Application does not specify an API level requirement!
[2010-03-27 09:40:16 - HelloAndroid] Device API version is 7 (Android 2.1)
Anu one who know why I get this ?? cause I can't find a reason in the programs nor in my AVD

New Topic/Question
Reply


MultiQuote







|