Back to project page Moka-Scanr.
The source code is released under:
GNU General Public License
If you think the Android project Moka-Scanr listed in this page is inappropriate, such as containing malicious code/tools or violating the copyright, please email info at java2s dot com, thanks.
package io.github.nick11roberts.pdf_drive; //from w w w. j a v a 2 s . co m import android.app.Activity; import android.content.Intent; import android.os.Bundle; import android.view.View; import android.widget.Button; public class MainActivity extends Activity { @Override protected void onCreate(Bundle savedInstanceState) { super.onCreate(savedInstanceState); setContentView(R.layout.activity_main); final Button mainButton = (Button) findViewById((Integer) R.id.mainButton); mainButton.setOnClickListener(new View.OnClickListener() { public void onClick(View v) { Intent launchOptionsActivityIntent = new Intent(MainActivity.this, OptionsActivity.class); startActivity(launchOptionsActivityIntent); } }); } }