I'm working from a simple "hello world" tutorial and then modify it into the app I want. I started out with a hello world app added a button and now I'm tryin to respond to button events, etc.
But when I compile I'm getting the error: "package andriod.widget does not exist \n import andriod.widget.Button;"
The code is
package com.luke.bowls;
import android.app.Activity;
import android.os.Bundle;
import android.view.View;
import android.view.View.OnClickListener;
import andriod.widget.Button;
public class Bowls extends Activity
{
/** Called when the activity is first created. */
@Override
public void onCreate(Bundle savedInstanceState)
{
super.onCreate(savedInstanceState);
setContentView(R.layout.main);
final Button button = (Button)findViewById(R.id.android_button);
button.setOnClickListener(new OnClickListener() {
public void onClick(View v) {
// Perform action on clicks
}
});
}
}
It looks like a library reference problem but most of build code is hidden from me so I have no idea what to do to fix it.