Android Open Source - ExIm-Guide Main_menu






From Project

Back to project page ExIm-Guide.

License

The source code is released under:

GNU General Public License

If you think the Android project ExIm-Guide listed in this page is inappropriate, such as containing malicious code/tools or violating the copyright, please email info at java2s dot com, thanks.

Java Source Code

package com.ExIm_guide;
import android.os.Bundle;
import android.util.Log;
import android.view.View;
import android.view.View.OnClickListener;
import android.app.Activity;
import android.content.Context;
import android.content.Intent;
import android.view.Menu;
import android.widget.Button;
import com.ExIm_guide.R;
/*  ww  w . j a va  2  s.c o m*/
public class Main_menu extends Activity {
  



    @Override
    protected void onCreate(Bundle savedInstanceState) {
      super.onCreate(savedInstanceState);
      setContentView(R.layout.activity_main);
      
    }
    //@Override
    public void onClick1(View arg0) {
          final Context context = this;
        Intent intent = new Intent(context, Statewise.class);
            startActivity(intent);  
            Log.d("AISI","FIRST BUTTON WAS CLIKED");
      }
    public void onClick2(View arg0) {
      final Context context = this;
    Intent intent = new Intent(context, What.class);
    startActivity(intent);  
    Log.d("AISI","Second BUTTON WAS CLIKED");
   
  }
    public void onClick3(View arg0) {
      final Context context = this;
    Intent intent = new Intent(context, About.class);
    startActivity(intent);  
    Log.d("AISI","THIRD BUTTON WAS CLIKED");
  }
    
    public void onClick4(View arg0) {
      final Context context = this;
    Intent intent = new Intent(context, Descr.class);
    startActivity(intent);  
    Log.d("AISI","THIRD BUTTON WAS CLIKED");
  }
  

}




Java Source Code List

com.ExIm_guide.About.java
com.ExIm_guide.Descr.java
com.ExIm_guide.Main_menu.java
com.ExIm_guide.SQLiteConnector.java
com.ExIm_guide.SQLiteHelper.java
com.ExIm_guide.SplashScreen.java
com.ExIm_guide.Statewise.java
com.ExIm_guide.What.java