Android Open Source - SNET Main Activity






From Project

Back to project page SNET.

License

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.

Java Source Code

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 ");
    }
}




Java Source Code List

com.snet.MainActivity.java
com.snet.notepad.NoteEdition.java
com.snet.notepad.NoteMain.java
com.snet.notepad.Note.java
com.snet.notepad.NotesBDD.java
com.snet.notepad.Preference.java
com.snet.notepad.SQLiteBase.java
com.snet.textedit.TextEdition.java