Back to project page YourConsole.
The source code is released under:
MIT License
If you think the Android project YourConsole 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 com.akisute.yourconsole.app; //ww w . j a va 2s. c om import android.app.Activity; import android.os.Bundle; import android.view.Menu; import android.view.MenuItem; import com.akisute.yourconsole.R; import com.akisute.yourconsole.app.model.MText; public class MainActivity extends Activity { @Override protected void onCreate(Bundle savedInstanceState) { super.onCreate(savedInstanceState); setContentView(R.layout.activity_main); } @Override public boolean onCreateOptionsMenu(Menu menu) { getMenuInflater().inflate(R.menu.main, menu); return true; } @Override public boolean onOptionsItemSelected(MenuItem item) { int id = item.getItemId(); switch (id) { case R.id.action_settings: SaveIntentService.startActionSave(this, "Settings"); return true; default: return false; } } }