Android app does not start. Fails with a '...has stopped unexpectedly' message
<p>Hello 
i am new in Android  i am trying to build a program but always when i wanted to start the program it gives me a message:"The application Traim Time (process timetrain.com )has stopped unexpectedly. Please try again." 
Ple Anyone can help me to solve problem
Thank you</p>

<p>this the code</p>

<pre><code>package timetrain.com;


import android.app.Activity;
import android.content.Intent;
import android.os.Bundle;
import android.view.View;
import android.view.Window;
import android.widget.Button;
import android.widget.EditText;


public class timetrain extends Activity {

  private final static int REQUEST_TEXT=0;
  private EditText inputTime;
  private Button go1;
  int heure =0;



/** Called when the activity is first created. */
@Override
public void onCreate(Bundle savedInstanceState) {
    super.onCreate(savedInstanceState);

 // Hide the title bar
    requestWindowFeature(Window.FEATURE_NO_TITLE);
    setContentView(R.layout.main);

    go1=(Button)findViewById(R.id.go1);
    inputTime=(EditText)findViewById(R.id.inputTime);
    heure= Integer.parseInt (inputTime.getText().toString());

    go1.setOnClickListener(new View.OnClickListener(){
        @Override
        public void onClick(View v) {

            if(v==go1){

                Intent intent = new Intent(timetrain.this,lirefile.class);
                intent.putExtra("enterTime",heure);

                startActivityForResult(intent,REQUEST_TEXT);
            }
        }

    });

}

public static int getRequestText() {
    return REQUEST_TEXT;
}
</code></pre>

<p>}</p>
