Android Open Source - Android-MobileServices-Feedback Main Activity






From Project

Back to project page Android-MobileServices-Feedback.

License

The source code is released under:

Copyright (c) 2014 Microsoft Permission is hereby granted, free of charge, to any person obtaining a copy of this software and associated documentation files (the "Software"), to deal in the Software...

If you think the Android project Android-MobileServices-Feedback 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.msdpe.feedback;
// w w w  .j  a v  a 2  s. c  o m
import android.os.Bundle;
import android.app.Activity;
import android.content.Intent;
import android.view.Menu;
import android.view.View;
import android.view.View.OnClickListener;
import android.widget.Button;

public class MainActivity extends Activity {

  @Override
  protected void onCreate(Bundle savedInstanceState) {
    super.onCreate(savedInstanceState);
    setContentView(R.layout.activity_main);
    
    Button btnSendFeedback = (Button) findViewById(R.id.btnSendFeedback);
    btnSendFeedback.setOnClickListener(new OnClickListener() {      
      @Override
      public void onClick(View v) {
        Intent intent = new Intent(getApplicationContext(), FeedbackActivity.class);         
            startActivity(intent);
      }
    });
  }

  @Override
  public boolean onCreateOptionsMenu(Menu menu) {
    // Inflate the menu; this adds items to the action bar if it is present.
    getMenuInflater().inflate(R.menu.activity_main, menu);
    return true;
  }

}




Java Source Code List

com.msdpe.feedback.FeedbackActivity.java
com.msdpe.feedback.FeedbackActivity.java
com.msdpe.feedback.FeedbackApplication.java
com.msdpe.feedback.FeedbackService.java
com.msdpe.feedback.Feedback.java
com.msdpe.feedback.MainActivity.java
com.msdpe.feedback.MainActivity.java