Syntax error in Android app
<p>I am very new to Android and need to make an application for calculating the last digit of a bank account but I got many errors. What is my error?</p>

<p>The errors I am getting are:</p>

<blockquote>
  <p>@line 9 Multiple markers at this line Syntax error on token ".", expected Syntax error, insert ">" to complete ReferenceType1
  2.@line 12 The method onCreate(Bundle) is undefined for the type Object
  3.@line 16 Cannot cast from int to Button
  4.@line 31 The method onClick(View) of type acnlCal must override a superclass method</p>
</blockquote>

<p>I create a new blank project and start typing everything according to the reference in a book:</p>

<pre><code>package ancl;
import com.momo.ANCL.R;

import android.app.Activity;
import android.os.Bundle;
import android.widget.*;
import android.view.View;

public class acnlCal.java extends Actvity {
TextView textview1 ,clock; Button button1; EditText editText1;
String num; int [] num1 = new int [9];
public void onCreate(Bundle savedInstanceState) {
    super.onCreate(savedInstanceState);
    setContentView(R.layout.main);
    editText1 = (EditText) this.findViewByID(R.id.editText1);
    button1 = (Button)R.id.button1;
    textview1 = (TextView) this.findViewByID(R.id.textView1);
    button1.setOnClickListener(null);
    for (int i=0;i&lt;9;i++) {
        num1[i] = num.charAt(i);}
    }
    private EditText findViewByID(int edittext12) {
    // TODO Auto-generated method stub
    return null;
}
    private void setContentView(int main) {
    // TODO Auto-generated method stub

}
    @Override
    public void onClick(View v) {
        int [] numfix ={4,3,2,7,6,5,4,3,2};
        int [] num2 = new int[9];
        for (int i=0;i&lt;9;i++) {
            num2 [i] = (num1[i]*numfix[i])%10;
        }
        String str1 = num2.toString();
        int num3 , temp , temp2 = 0;
        for (int j=0;j&lt;9;j++) {
            temp = (num2[j]+temp2);
            temp2 = temp;
        }
        num3 = temp%10;
        int num4 = 10-num3;
        textview1.setText(str1+num4);



}
}
</code></pre>
