@@ -0,0 +1,2144 @@
+package com.cnus.epasswordlocker;%0A%0Aimport android.os.Bundle;%0Aimport android.app.Activity;%0Aimport android.content.Intent;%0Aimport android.view.Menu;%0Aimport android.view.MotionEvent;%0Aimport android.view.View;%0Aimport android.widget.ImageView;%0Aimport android.widget.Toast;%0Aimport android.widget.ToggleButton;%0Aimport android.view.View.OnClickListener;%0A%0Apublic class MainActivity extends Activity %7B%0A%0A    @Override%0A    public void onCreate(Bundle savedInstanceState) %7B%0A        super.onCreate(savedInstanceState);%0A        setContentView(R.layout.table_layout);%0A        %0A//        ImageView img = (ImageView) findViewById(R.id.action_row1);%0A//        img.setOnClickListener(new OnClickListener() %7B%0A//%09%09%09%0A//%09%09%09@Override%0A//%09%09%09public void onClick(View v) %7B%0A//%09%09%09%09// TODO Auto-generated method stub%0A//%09%09%09%09%0A//%09%09%09%09//Starting a new Intent%0A//                Intent nextScreen = new Intent(getApplicationContext(), CategoryActivity.class);%0A// %0A//                //Sending data to another Activity%0A//                //nextScreen.putExtra(%22category%22, R.string.row1col1);%0A//                 %0A//                //Log.e(%22n%22, inputName.getText()+%22.%22+ inputEmail.getText());%0A// %0A//                startActivity(nextScreen);%0A//%09%09%09%7D%0A//%09%09%7D);%0A       %0A    %7D%0A    %0A    @Override%0A    public boolean onCreateOptionsMenu(Menu menu) %7B%0A        getMenuInflater().inflate(R.menu.epl_main_actions, menu);%0A %0A        return super.onCreateOptionsMenu(menu);%0A    %7D%0A    %0A    public void onRow1Clicked(View view)%7B%0A    %09ImageView img = (ImageView)findViewById(R.id.action_row1);%0A    %09%0A    %09Intent categoryActivity = new Intent(getApplicationContext(), CategoryActivity.class);%0A    %09startActivity(categoryActivity);%0A    %7D%0A%0A    public void onToggleClicked(View view) %7B%0A        // Is the toggle on?%0A        boolean on = ((ToggleButton) view).isChecked();%0A        %0A        if (on) %7B%0A            // Enable lock%0A        %09Toast.makeText(getApplicationContext(), %22The switch is ON%22,%0A        %09%09%09Toast.LENGTH_SHORT).show();%0A        %7D else %7B%0A            // Disable lock%0A        %09Toast.makeText(getApplicationContext(), %22The switch is OFF%22,%0A        %09%09%09Toast.LENGTH_SHORT).show();%0A        %7D%0A    %7D%0A%0A    %0A%7D%0A

Create MainActivity.java