Back to project page SNET.
The source code is released under:
GNU Lesser General Public License
If you think the Android project SNET 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.snet; // w w w . j a v a 2 s. c om import android.app.Activity; import java.io.*; import com.snet.R; import com.snet.R.id; import com.snet.R.layout; import com.snet.notepad.NoteEdition; import com.snet.notepad.NoteMain; import com.snet.textedit.TextEdition; import android.app.AlertDialog; import android.content.Context; import android.content.DialogInterface; import android.content.Intent; import android.os.Bundle; import android.os.Environment; import android.util.Log; import android.view.Menu; import android.view.MenuItem; import android.view.View; import android.widget.*; public class MainActivity extends Activity { protected void onCreate(Bundle savedInstanceState) { super.onCreate(savedInstanceState); setContentView(R.layout.main); } public void notepad(View v) { Intent intentNotepad = new Intent(MainActivity.this , NoteMain.class); MainActivity.this.startActivity(intentNotepad); Log.i("Content "," Main layout "); } public void textedition(View v) { Intent intentTextEdition = new Intent(MainActivity.this , TextEdition.class); MainActivity.this.startActivity(intentTextEdition); Log.i("Content "," Main layout "); } }