Android Open Source - groundify-android Home






From Project

Back to project page groundify-android.

License

The source code is released under:

GNU General Public License

If you think the Android project groundify-android 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 deftsoft.iground.android;
//from   ww  w  .ja  v  a  2s.c  om
import android.app.Activity;
import android.content.Intent;
import android.os.Bundle;
import android.view.View;
import android.view.View.OnClickListener;
import android.widget.Button;
import android.widget.ImageView;

public class Home extends Activity implements OnClickListener {

  private Button addChild_Button, deleteChild_Button, groundChild_Button,
      
  viewConseq_Button;

  private ImageView back;

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

    // TODO Auto-generated method stub

    setContentView(R.layout.activity_child_home);

    widgetIntialize();

    setListener();

  }

  private void setListener() {
    // TODO Auto-generated method stub

    back.setOnClickListener(this);

    addChild_Button.setOnClickListener(this);

    deleteChild_Button.setOnClickListener(this);

    groundChild_Button.setOnClickListener(this);

    viewConseq_Button.setOnClickListener(this);
  }

  private void widgetIntialize() {
    // TODO Auto-generated method stub

    back = (ImageView) findViewById(R.id.back_imageView);

    addChild_Button = (Button) findViewById(R.id.addChild_button);

    deleteChild_Button = (Button) findViewById(R.id.deleteChild_button);

    groundChild_Button = (Button) findViewById(R.id.groundChild_button);

    viewConseq_Button = (Button) findViewById(R.id.viewConseq_button);

  }

  @Override
  public void onClick(View v) {
    // TODO Auto-generated method stub

    switch (v.getId()) {

    case R.id.back_imageView:

      finish();

      break;

    case R.id.addChild_button:

      
      startActivity(new Intent(Home.this, AddChildScreen.class));

      break;

    
    case R.id.deleteChild_button:

    
      startActivity(new Intent(Home.this, DeleteChildScreen.class));

      break;

    case R.id.groundChild_button:

      
      startActivity(new Intent(Home.this, GrounChild.class));

      break;

    case R.id.viewConseq_button:
      
      
      startActivity(new Intent(Home.this, ViewConsequence.class));
      


      break;

    
    default:
      
      break;
    }

  }

}




Java Source Code List

.ConsequenceImageGridActivity.java
custom.adapter.pckg.GridAdapter.java
custom.adapter.pckg.MyAdapter.java
custom.adapter.pckg.MyLazyAdapter.java
custom.adapter.pckg.MySpinnerAdapter.java
deftsoft.android.iground.utility.Base64.java
deftsoft.android.iground.utility.ChildDetail.java
deftsoft.android.iground.utility.DatePickerFragment.java
deftsoft.android.iground.utility.DeleteChildWebResponse.java
deftsoft.android.iground.utility.GetNewCosequence.java
deftsoft.android.iground.utility.HttpUploader.java
deftsoft.android.iground.utility.ImageFilePath.java
deftsoft.android.iground.utility.SetConSeqWebServiceWebResponse.java
deftsoft.android.iground.utility.SignupDetail.java
deftsoft.android.iground.utility.TimePickerFragment.java
deftsoft.android.iground.utility.Utility.java
deftsoft.android.iground.utility.ViewConseqDetail.java
deftsoft.android.iground.utility.WebServiceLinks.java
deftsoft.android.iground.utility.WebServiceResponse.java
deftsoft.android.image.upload.Base64.java
deftsoft.android.image.upload.UploadImageToServer.java
deftsoft.iground.android.AddChildScreen.java
deftsoft.iground.android.AddConsequenceActivity.java
deftsoft.iground.android.BridgeClass.java
deftsoft.iground.android.CopyOfConsequenceImageGridActivity.java
deftsoft.iground.android.DeleteChildScreen.java
deftsoft.iground.android.GrounChild.java
deftsoft.iground.android.HomeScreenActivity.java
deftsoft.iground.android.Home.java
deftsoft.iground.android.LogInScreenActivity.java
deftsoft.iground.android.MyHttpClient.java
deftsoft.iground.android.SignUpScreenActivity.java
deftsoft.iground.android.ThankYouActivity.java
deftsoft.iground.android.UILApplication.java
deftsoft.iground.android.ViewConsequence.java
deftsoft.iground.android.CustomizeListView.AbsListViewBaseActivity.java
deftsoft.iground.android.CustomizeListView.BaseActivity.java
deftsoft.iground.android.CustomizeListView.Constants.java
iground.child.interfaces.Consequnceselected.java