this is the MainActivity.java file in the Hello Android example code:

package com.dummies.android.helloandroid;


import android.app.Activity;
import android.os.Bundle;

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

this is the error messages it generates:

Description     Resource        Path    Location        Type
R cannot be resolved to a variable      SilentmodetoggleActivity.java   /
silent mode toggle/src/com/dummies/android/silentmodetoggle     line 11
Java Problem

Description     Resource        Path    Location        Type
The method onAccuracyChanged(Sensor, int) of type
AccelerometerPlayActivity.SimulationView must override a superclass
method  AccelerometerPlayActivity.java  /AccelerometerPlayActivity/src/
com/example/android/accelerometerplay   line 457        Java Problem

Description     Resource        Path    Location        Type
The method onSensorChanged(SensorEvent) of type
AccelerometerPlayActivity.SimulationView must override a superclass
method  AccelerometerPlayActivity.java  /AccelerometerPlayActivity/src/
com/example/android/accelerometerplay   line 378        Java Problem


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

Reply via email to