diff --git a/FirstPage/.gitignore b/FirstPage/.gitignore
new file mode 100644
index 0000000000000000000000000000000000000000..39fb081a42a86ccf8f9cf99dbccc8bdf7c828bce
--- /dev/null
+++ b/FirstPage/.gitignore
@@ -0,0 +1,9 @@
+*.iml
+.gradle
+/local.properties
+/.idea/workspace.xml
+/.idea/libraries
+.DS_Store
+/build
+/captures
+.externalNativeBuild
diff --git a/FirstPage/app/.gitignore b/FirstPage/app/.gitignore
new file mode 100644
index 0000000000000000000000000000000000000000..796b96d1c402326528b4ba3c12ee9d92d0e212e9
--- /dev/null
+++ b/FirstPage/app/.gitignore
@@ -0,0 +1 @@
+/build
diff --git a/FirstPage/app/build.gradle b/FirstPage/app/build.gradle
new file mode 100644
index 0000000000000000000000000000000000000000..411f776a879d49ba5d85a9514e5c80d3ca2eedcf
--- /dev/null
+++ b/FirstPage/app/build.gradle
@@ -0,0 +1,48 @@
+apply plugin: 'com.android.application'
+
+android {
+    compileSdkVersion 25
+    buildToolsVersion "25.0.1"
+    defaultConfig {
+        applicationId "tn.cbe.nandhu1296.firstpage"
+        minSdkVersion 18
+        targetSdkVersion 25
+        versionCode 1
+        versionName "1.0"
+        multiDexEnabled true
+        testInstrumentationRunner "android.support.test.runner.AndroidJUnitRunner"
+    }
+    packagingOptions {
+        exclude 'META-INF/LICENSE'
+        exclude 'META-INF/LICENSE-FIREBASE.txt'
+        exclude 'META-INF/NOTICE'
+    }
+
+    buildTypes {
+        release {
+            minifyEnabled false
+            proguardFiles getDefaultProguardFile('proguard-android.txt'), 'proguard-rules.pro'
+        }
+    }
+}
+
+dependencies {
+    compile fileTree(dir: 'libs', include: ['*.jar'])
+    androidTestCompile('com.android.support.test.espresso:espresso-core:2.2.2', {
+        exclude group: 'com.android.support', module: 'support-annotations'
+    })
+
+    // compile 'com.google.firebase:firebase-core:10.0.1'
+    // compile 'com.google.android.gms:play-services-ads:9.0.2'
+    // compile 'com.android.support:multidex:1.0.0'
+    compile 'com.firebase:firebase-client-android:2.5.2'
+    compile 'com.google.firebase:firebase-auth:9.0.2'
+    compile 'com.android.volley:volley:1.0.0'
+    compile 'com.android.support:appcompat-v7:25.2.0'
+    compile 'com.android.support.constraint:constraint-layout:1.0.1'
+    compile 'com.android.support:design:25.2.0'
+    testCompile 'junit:junit:4.12'
+}
+apply plugin: 'com.google.gms.google-services'
+
+// Add to the bottom of the file
diff --git a/FirstPage/app/google-services.json b/FirstPage/app/google-services.json
new file mode 100644
index 0000000000000000000000000000000000000000..289e14f758038a7221c2f2b23fb85f81924dfb1b
--- /dev/null
+++ b/FirstPage/app/google-services.json
@@ -0,0 +1,42 @@
+{
+  "project_info": {
+    "project_number": "952545707602",
+    "firebase_url": "https://chatapp-84987.firebaseio.com",
+    "project_id": "chatapp-84987",
+    "storage_bucket": "chatapp-84987.appspot.com"
+  },
+  "client": [
+    {
+      "client_info": {
+        "mobilesdk_app_id": "1:952545707602:android:7e392573806435c1",
+        "android_client_info": {
+          "package_name": "tn.cbe.nandhu1296.firstpage"
+        }
+      },
+      "oauth_client": [
+        {
+          "client_id": "952545707602-b4j34cp9q2q35fce9p5dof4tbum4emn4.apps.googleusercontent.com",
+          "client_type": 3
+        }
+      ],
+      "api_key": [
+        {
+          "current_key": "AIzaSyC1ZnfxZNiLMzNuWegIZF30S3M8k0gCtDo"
+        }
+      ],
+      "services": {
+        "analytics_service": {
+          "status": 1
+        },
+        "appinvite_service": {
+          "status": 1,
+          "other_platform_oauth_client": []
+        },
+        "ads_service": {
+          "status": 2
+        }
+      }
+    }
+  ],
+  "configuration_version": "1"
+}
\ No newline at end of file
diff --git a/FirstPage/app/proguard-rules.pro b/FirstPage/app/proguard-rules.pro
new file mode 100644
index 0000000000000000000000000000000000000000..23c3f70e72c39f17bdc918dd34124986e64f2f33
--- /dev/null
+++ b/FirstPage/app/proguard-rules.pro
@@ -0,0 +1,25 @@
+# Add project specific ProGuard rules here.
+# By default, the flags in this file are appended to flags specified
+# in C:\Android\sdk2/tools/proguard/proguard-android.txt
+# You can edit the include path and order by changing the proguardFiles
+# directive in build.gradle.
+#
+# For more details, see
+#   http://developer.android.com/guide/developing/tools/proguard.html
+
+# Add any project specific keep options here:
+
+# If your project uses WebView with JS, uncomment the following
+# and specify the fully qualified class name to the JavaScript interface
+# class:
+#-keepclassmembers class fqcn.of.javascript.interface.for.webview {
+#   public *;
+#}
+
+# Uncomment this to preserve the line number information for
+# debugging stack traces.
+#-keepattributes SourceFile,LineNumberTable
+
+# If you keep the line number information, uncomment this to
+# hide the original source file name.
+#-renamesourcefileattribute SourceFile
diff --git a/FirstPage/app/src/androidTest/java/tn/cbe/nandhu1296/firstpage/ExampleInstrumentedTest.java b/FirstPage/app/src/androidTest/java/tn/cbe/nandhu1296/firstpage/ExampleInstrumentedTest.java
new file mode 100644
index 0000000000000000000000000000000000000000..1b8f98e7c88968d7c9f46ea1a8d59fe061cacee5
--- /dev/null
+++ b/FirstPage/app/src/androidTest/java/tn/cbe/nandhu1296/firstpage/ExampleInstrumentedTest.java
@@ -0,0 +1,26 @@
+package tn.cbe.nandhu1296.firstpage;
+
+import android.content.Context;
+import android.support.test.InstrumentationRegistry;
+import android.support.test.runner.AndroidJUnit4;
+
+import org.junit.Test;
+import org.junit.runner.RunWith;
+
+import static org.junit.Assert.*;
+
+/**
+ * Instrumentation test, which will execute on an Android device.
+ *
+ * @see <a href="http://d.android.com/tools/testing">Testing documentation</a>
+ */
+@RunWith(AndroidJUnit4.class)
+public class ExampleInstrumentedTest {
+    @Test
+    public void useAppContext() throws Exception {
+        // Context of the app under test.
+        Context appContext = InstrumentationRegistry.getTargetContext();
+
+        assertEquals("tn.cbe.nandhu1296.firstpage", appContext.getPackageName());
+    }
+}
diff --git a/FirstPage/app/src/main/AndroidManifest.xml b/FirstPage/app/src/main/AndroidManifest.xml
new file mode 100644
index 0000000000000000000000000000000000000000..6fbd9afb92f864c17996f2fb37331cc8258af5fd
--- /dev/null
+++ b/FirstPage/app/src/main/AndroidManifest.xml
@@ -0,0 +1,41 @@
+<?xml version="1.0" encoding="utf-8"?>
+<manifest xmlns:android="http://schemas.android.com/apk/res/android"
+    package="tn.cbe.nandhu1296.firstpage">
+
+    <uses-sdk
+        android:minSdkVersion="8"
+        android:targetSdkVersion="21" />
+
+    <uses-permission android:name="android.permission.SEND_SMS" />
+    <uses-permission android:name="android.permission.WRITE_EXTERNAL_STORAGE" />
+    <uses-permission android:name="android.permission.READ_PHONE_STATE" />
+    <uses-permission android:name="android.permission.READ_EXTERNAL_STORAGE" />
+    <uses-permission android:name="android.permission.INTERNET" />
+
+    <application
+        android:allowBackup="true"
+        android:icon="@mipmap/go_freshicon"
+        android:label="FarmCorp"
+        android:roundIcon="@mipmap/side_icon"
+        android:supportsRtl="true"
+        android:theme="@style/AppTheme">
+        <activity android:name=".MainActivity">
+            <intent-filter>
+                <action android:name="android.intent.action.MAIN" />
+
+                <category android:name="android.intent.category.LAUNCHER" />
+            </intent-filter>
+        </activity>
+        <activity
+            android:name=".NavigationActivity"
+            android:label="FarmCorp"
+            android:theme="@style/AppTheme.NoActionBar" />
+        <activity android:name=".Smspage" />
+        <activity android:name=".Register" />
+        <activity android:name=".Users" />
+        <activity android:name=".login" />
+        <activity android:name=".Chat" />
+        <activity android:name=".Main3Activity" />
+    </application>
+
+</manifest>
\ No newline at end of file
diff --git a/FirstPage/app/src/main/GoFreshIcon-web.png b/FirstPage/app/src/main/GoFreshIcon-web.png
new file mode 100644
index 0000000000000000000000000000000000000000..635fc52e29a42ef478cb929c7e459a3e49f51966
Binary files /dev/null and b/FirstPage/app/src/main/GoFreshIcon-web.png differ
diff --git a/FirstPage/app/src/main/SideIcon-web.png b/FirstPage/app/src/main/SideIcon-web.png
new file mode 100644
index 0000000000000000000000000000000000000000..e5c2e80bd0b5caec01303840ba337e34f01fee80
Binary files /dev/null and b/FirstPage/app/src/main/SideIcon-web.png differ
diff --git a/FirstPage/app/src/main/fp3-web.png b/FirstPage/app/src/main/fp3-web.png
new file mode 100644
index 0000000000000000000000000000000000000000..c4de4a133c9b6714edf11f3f5e8df1f254cdeecf
Binary files /dev/null and b/FirstPage/app/src/main/fp3-web.png differ
diff --git a/FirstPage/app/src/main/go_freshicon-web.png b/FirstPage/app/src/main/go_freshicon-web.png
new file mode 100644
index 0000000000000000000000000000000000000000..635fc52e29a42ef478cb929c7e459a3e49f51966
Binary files /dev/null and b/FirstPage/app/src/main/go_freshicon-web.png differ
diff --git a/FirstPage/app/src/main/ic_launcher-web.png b/FirstPage/app/src/main/ic_launcher-web.png
new file mode 100644
index 0000000000000000000000000000000000000000..635fc52e29a42ef478cb929c7e459a3e49f51966
Binary files /dev/null and b/FirstPage/app/src/main/ic_launcher-web.png differ
diff --git a/FirstPage/app/src/main/java/tn/cbe/nandhu1296/firstpage/Chat.java b/FirstPage/app/src/main/java/tn/cbe/nandhu1296/firstpage/Chat.java
new file mode 100644
index 0000000000000000000000000000000000000000..a22580245f1436c277bf724645e3a7ba7bdd0a06
--- /dev/null
+++ b/FirstPage/app/src/main/java/tn/cbe/nandhu1296/firstpage/Chat.java
@@ -0,0 +1,111 @@
+package tn.cbe.nandhu1296.firstpage;
+
+import android.support.v7.app.AppCompatActivity;
+import android.os.Bundle;
+import android.view.View;
+import android.view.ViewGroup;
+import android.widget.EditText;
+import android.widget.ImageView;
+import android.widget.LinearLayout;
+import android.widget.ScrollView;
+import android.widget.TextView;
+
+import com.firebase.client.ChildEventListener;
+import com.firebase.client.DataSnapshot;
+import com.firebase.client.Firebase;
+import com.firebase.client.FirebaseError;
+
+import java.util.HashMap;
+import java.util.Map;
+
+public class Chat extends AppCompatActivity {
+    LinearLayout layout;
+    ImageView sendButton;
+    EditText messageArea;
+    ScrollView scrollView;
+    Firebase reference1, reference2;
+
+    @Override
+    protected void onCreate(Bundle savedInstanceState) {
+        super.onCreate(savedInstanceState);
+        setContentView(R.layout.activity_chat);
+
+        layout = (LinearLayout)findViewById(R.id.layout1);
+        sendButton = (ImageView)findViewById(R.id.sendButton);
+        messageArea = (EditText)findViewById(R.id.messageArea);
+        scrollView = (ScrollView)findViewById(R.id.scrollView);
+
+        Firebase.setAndroidContext(this);
+        reference1 = new Firebase("https://chatapp-84987.firebaseio.com/messages/" + UserDetails.username + "_" + UserDetails.chatWith);
+        reference2 = new Firebase("https://chatapp-84987.firebaseio.com/messages/" + UserDetails.chatWith + "_" + UserDetails.username);
+
+        sendButton.setOnClickListener(new View.OnClickListener() {
+            @Override
+            public void onClick(View v) {
+                String messageText = messageArea.getText().toString();
+
+                if(!messageText.equals("")){
+                    Map<String, String> map = new HashMap<String, String>();
+                    map.put("message", messageText);
+                    map.put("user", UserDetails.username);
+                    reference1.push().setValue(map);
+                    reference2.push().setValue(map);
+                }
+            }
+        });
+
+        reference1.addChildEventListener(new ChildEventListener() {
+            @Override
+            public void onChildAdded(DataSnapshot dataSnapshot, String s) {
+                Map map = dataSnapshot.getValue(Map.class);
+                String message = map.get("message").toString();
+                String userName = map.get("user").toString();
+
+                if(userName.equals(UserDetails.username)){
+                    addMessageBox("You:-\n" + message, 1);
+                }
+                else{
+                    addMessageBox(UserDetails.chatWith + ":-\n" + message, 2);
+                }
+            }
+
+            @Override
+            public void onChildChanged(DataSnapshot dataSnapshot, String s) {
+
+            }
+
+            @Override
+            public void onChildRemoved(DataSnapshot dataSnapshot) {
+
+            }
+
+            @Override
+            public void onChildMoved(DataSnapshot dataSnapshot, String s) {
+
+            }
+
+            @Override
+            public void onCancelled(FirebaseError firebaseError) {
+
+            }
+        });
+    }
+
+    public void addMessageBox(String message, int type){
+        TextView textView = new TextView(Chat.this);
+        textView.setText(message);
+        LinearLayout.LayoutParams lp = new LinearLayout.LayoutParams(ViewGroup.LayoutParams.MATCH_PARENT, ViewGroup.LayoutParams.WRAP_CONTENT);
+        lp.setMargins(0, 0, 0, 10);
+        textView.setLayoutParams(lp);
+
+        if(type == 1) {
+            textView.setBackgroundResource(R.drawable.rounded_corner1);
+        }
+        else{
+            textView.setBackgroundResource(R.drawable.rounded_corner2);
+        }
+
+        layout.addView(textView);
+        scrollView.fullScroll(View.FOCUS_DOWN);
+    }
+}
\ No newline at end of file
diff --git a/FirstPage/app/src/main/java/tn/cbe/nandhu1296/firstpage/ForShareit.java b/FirstPage/app/src/main/java/tn/cbe/nandhu1296/firstpage/ForShareit.java
new file mode 100644
index 0000000000000000000000000000000000000000..942c4db58406de05e2823bda1adebdd5d99d3c5b
--- /dev/null
+++ b/FirstPage/app/src/main/java/tn/cbe/nandhu1296/firstpage/ForShareit.java
@@ -0,0 +1,11 @@
+package tn.cbe.nandhu1296.firstpage;
+
+/**
+ * Created by Nandha kumar on 22-04-2017.
+ */
+
+class ForShareit {
+
+
+
+}
diff --git a/FirstPage/app/src/main/java/tn/cbe/nandhu1296/firstpage/Main3Activity.java b/FirstPage/app/src/main/java/tn/cbe/nandhu1296/firstpage/Main3Activity.java
new file mode 100644
index 0000000000000000000000000000000000000000..dd3e801c6baec36ae7b5acd507d6cfa07c5048a0
--- /dev/null
+++ b/FirstPage/app/src/main/java/tn/cbe/nandhu1296/firstpage/Main3Activity.java
@@ -0,0 +1,14 @@
+package tn.cbe.nandhu1296.firstpage;
+
+import android.support.v7.app.AppCompatActivity;
+import android.os.Bundle;
+
+public class Main3Activity extends AppCompatActivity {
+
+    @Override
+    protected void onCreate(Bundle savedInstanceState) {
+        super.onCreate(savedInstanceState);
+        setContentView(R.layout.activity_main3);
+
+    }
+}
diff --git a/FirstPage/app/src/main/java/tn/cbe/nandhu1296/firstpage/MainActivity.java b/FirstPage/app/src/main/java/tn/cbe/nandhu1296/firstpage/MainActivity.java
new file mode 100644
index 0000000000000000000000000000000000000000..fba66a502785bf0de2a8f121ba5ca4b30b4565bd
--- /dev/null
+++ b/FirstPage/app/src/main/java/tn/cbe/nandhu1296/firstpage/MainActivity.java
@@ -0,0 +1,29 @@
+package tn.cbe.nandhu1296.firstpage;
+
+import android.content.Intent;
+import android.support.v7.app.AppCompatActivity;
+import android.os.Bundle;
+import android.view.View;
+import android.widget.Button;
+
+public class MainActivity extends AppCompatActivity {
+public static Button explorebutton;
+    @Override
+    protected void onCreate(Bundle savedInstanceState) {
+        super.onCreate(savedInstanceState);
+        setContentView(R.layout.activity_main);
+        explore();
+    }
+
+    private void explore() {
+        explorebutton=(Button) findViewById(R.id.firstpagebutton);
+        explorebutton.setOnClickListener(new View.OnClickListener() {
+            @Override
+            public void onClick(View view) {
+                Intent intent1=new Intent(MainActivity.this,NavigationActivity.class);
+                startActivity(intent1);
+            }
+        });
+
+    }
+}
diff --git a/FirstPage/app/src/main/java/tn/cbe/nandhu1296/firstpage/NavigationActivity.java b/FirstPage/app/src/main/java/tn/cbe/nandhu1296/firstpage/NavigationActivity.java
new file mode 100644
index 0000000000000000000000000000000000000000..5e2172cc946ac353772f9a9f29cfa8dc881e34b0
--- /dev/null
+++ b/FirstPage/app/src/main/java/tn/cbe/nandhu1296/firstpage/NavigationActivity.java
@@ -0,0 +1,157 @@
+package tn.cbe.nandhu1296.firstpage;
+
+import android.content.Intent;
+import android.content.pm.ApplicationInfo;
+import android.net.Uri;
+import android.os.Bundle;
+import android.support.design.widget.FloatingActionButton;
+import android.support.design.widget.NavigationView;
+import android.support.design.widget.Snackbar;
+import android.support.v4.view.GravityCompat;
+import android.support.v4.widget.DrawerLayout;
+import android.support.v7.app.ActionBarDrawerToggle;
+import android.support.v7.app.AppCompatActivity;
+import android.support.v7.widget.Toolbar;
+import android.view.Menu;
+import android.view.MenuItem;
+import android.view.View;
+import android.widget.Toast;
+
+import java.io.File;
+
+public class NavigationActivity extends AppCompatActivity
+        implements NavigationView.OnNavigationItemSelectedListener {
+
+    @Override
+    protected void onCreate(Bundle savedInstanceState) {
+        super.onCreate(savedInstanceState);
+        setContentView(R.layout.activity_navigation);
+        Toolbar toolbar = (Toolbar) findViewById(R.id.toolbar);
+        setSupportActionBar(toolbar);
+
+        FloatingActionButton fab = (FloatingActionButton) findViewById(R.id.fab);
+        fab.setOnClickListener(new View.OnClickListener() {
+            @Override
+            public void onClick(View view) {
+Intent new1= new Intent(NavigationActivity.this,Main3Activity.class);
+                startActivity(new1);
+                Snackbar.make(view, "still not yet updated , need to improvise", Snackbar.LENGTH_LONG)
+                        .setAction("Action", null).show();
+            }
+        });
+
+        DrawerLayout drawer = (DrawerLayout) findViewById(R.id.drawer_layout);
+        ActionBarDrawerToggle toggle = new ActionBarDrawerToggle(
+                this, drawer, toolbar, R.string.navigation_drawer_open, R.string.navigation_drawer_close);
+        drawer.setDrawerListener(toggle);
+        toggle.syncState();
+
+        NavigationView navigationView = (NavigationView) findViewById(R.id.nav_view);
+        navigationView.setNavigationItemSelectedListener(this);
+    }
+
+    @Override
+    public void onBackPressed() {
+        DrawerLayout drawer = (DrawerLayout) findViewById(R.id.drawer_layout);
+        if (drawer.isDrawerOpen(GravityCompat.START)) {
+            drawer.closeDrawer(GravityCompat.START);
+        } else {
+            super.onBackPressed();
+        }
+    }
+
+    @Override
+    public boolean onCreateOptionsMenu(Menu menu) {
+        // Inflate the menu; this adds items to the action bar if it is present.
+        getMenuInflater().inflate(R.menu.navigation, menu);
+        return true;
+    }
+
+    @Override
+    public boolean onOptionsItemSelected(MenuItem item) {
+        // Handle action bar item clicks here. The action bar will
+        // automatically handle clicks on the Home/Up button, so long
+        // as you specify a parent activity in AndroidManifest.xml.
+        int id = item.getItemId();
+
+        //noinspection SimplifiableIfStatement
+        if (id == R.id.action_settings) {
+
+            ApplicationInfo app = getApplicationContext().getApplicationInfo();
+            String filePath = app.sourceDir;
+
+            Intent intent = new Intent(Intent.ACTION_SEND);
+
+// MIME of .apk is "application/vnd.android.package-archive".
+// but Bluetooth does not accept this. Let's use "*/*" instead.
+            intent.setType("*/*");
+
+// Only use Bluetooth to send .apk
+            intent.setPackage("com.android.bluetooth");
+
+// Append file and send Intent
+            intent.putExtra(Intent.EXTRA_STREAM, Uri.fromFile(new File(filePath)));
+            startActivity(Intent.createChooser(intent, "Share app"));
+
+            return true;
+        }
+        if (id == R.id.action_settings2) {
+            Toast.makeText(NavigationActivity.this, "App created by : NandhaKumar , VinaiMalapati", Toast.LENGTH_LONG).show();
+
+            return true;
+        }
+        if (id == R.id.action_settings3) {
+
+            return true;
+        }
+
+        return super.onOptionsItemSelected(item);
+    }
+
+    @SuppressWarnings("StatementWithEmptyBody")
+    @Override
+    public boolean onNavigationItemSelected(MenuItem item) {
+        // Handle navigation view item clicks here.
+        int id = item.getItemId();
+
+        if (id == R.id.nav_camera) {
+            Intent intent3=new Intent(NavigationActivity.this,login.class);
+            startActivity(intent3);
+            // Handle the camera action
+        } else if (id == R.id.nav_gallery) {
+            Intent intent2=new Intent(NavigationActivity.this,Smspage.class);
+            startActivity(intent2);
+            Toast.makeText(NavigationActivity.this, "sim charges will occur", Toast.LENGTH_LONG).show();
+
+
+        } else if (id == R.id.nav_share) {
+            //Intent intent25=new Intent(NavigationActivity.this,ForShareit.class);
+            //startActivity(intent25);
+            //Intent intent25=getPackageManager().getLaunchIntentForPackage("com.facebook.katana");
+            //startActivity(intent25);
+            Intent inte= new Intent(Intent.ACTION_SEND);
+            inte.setType("text/plain");
+            inte.setPackage("com.facebook.katana");
+            startActivity(inte);
+        } else if (id == R.id.nav_manage) {
+
+        } else if (id == R.id.nav_slideshow) {
+            Intent intent32=new Intent(NavigationActivity.this,Main3Activity.class);
+            startActivity(intent32);
+
+
+
+        } else if (id == R.id.nav_send) {
+           Intent intent26=new Intent(Intent.ACTION_VIEW,Uri.parse("https://play.google.com/store/apps/details?id=com.google.android.youtube"));
+            //market://details?id=com.ucon.truyen
+            startActivity(intent26);
+        }
+
+        DrawerLayout drawer = (DrawerLayout) findViewById(R.id.drawer_layout);
+        drawer.closeDrawer(GravityCompat.START);
+        return true;
+
+
+
+    }
+}
diff --git a/FirstPage/app/src/main/java/tn/cbe/nandhu1296/firstpage/Register.java b/FirstPage/app/src/main/java/tn/cbe/nandhu1296/firstpage/Register.java
new file mode 100644
index 0000000000000000000000000000000000000000..49261c51439aea915f7ef104b82b76785970b574
--- /dev/null
+++ b/FirstPage/app/src/main/java/tn/cbe/nandhu1296/firstpage/Register.java
@@ -0,0 +1,140 @@
+package tn.cbe.nandhu1296.firstpage;
+
+import android.app.ProgressDialog;
+import android.content.Intent;
+import android.support.v7.app.AppCompatActivity;
+import android.os.Bundle;
+import android.view.View;
+import android.widget.Button;
+import android.widget.EditText;
+import android.widget.TextView;
+import android.widget.Toast;
+
+import com.android.volley.Request;
+import com.android.volley.RequestQueue;
+import com.android.volley.Response;
+import com.android.volley.VolleyError;
+import com.android.volley.toolbox.StringRequest;
+import com.android.volley.toolbox.Volley;
+import com.firebase.client.Firebase;
+
+import org.json.JSONException;
+import org.json.JSONObject;
+
+public class Register extends AppCompatActivity {
+    EditText username, password;
+    Button registerButton,fbutton,gbutton;
+    String user, pass;
+    TextView login;
+
+    @Override
+    protected void onCreate(Bundle savedInstanceState) {
+        super.onCreate(savedInstanceState);
+        setContentView(R.layout.activity_register);
+
+        username = (EditText)findViewById(R.id.username);
+        password = (EditText)findViewById(R.id.password);
+        registerButton = (Button)findViewById(R.id.registerButton);
+        login = (TextView)findViewById(R.id.login);
+        fbutton = (Button)findViewById(R.id.fbutton1);
+        gbutton = (Button)findViewById(R.id.gbutton1);
+
+       // fbutton=(Button)findViewById(R.id.fbutton1);
+        fbutton.setOnClickListener(new View.OnClickListener() {
+            @Override
+            public void onClick(View v) {
+                //startActivity(new Intent(login.this, Register.class));
+                Intent intfb=getPackageManager().getLaunchIntentForPackage("com.facebook.katana");
+                startActivity(intfb);
+            }
+        });
+
+        gbutton.setOnClickListener(new View.OnClickListener() {
+            @Override
+            public void onClick(View v) {
+                //startActivity(new Intent(login.this, Register.class));
+                Intent intfb1=getPackageManager().getLaunchIntentForPackage("com.android.chrome");
+                startActivity(intfb1);
+            }
+        });
+
+        Firebase.setAndroidContext(this);
+
+        login.setOnClickListener(new View.OnClickListener() {
+            @Override
+            public void onClick(View v) {
+                startActivity(new Intent(Register.this, login.class));
+            }
+        });
+
+        registerButton.setOnClickListener(new View.OnClickListener() {
+            @Override
+            public void onClick(View v) {
+                user = username.getText().toString();
+                pass = password.getText().toString();
+
+                if(user.equals("")){
+                    username.setError("can't be blank");
+                }
+                else if(pass.equals("")){
+                    password.setError("can't be blank");
+                }
+                else if(!user.matches("[A-Za-z0-9]+")){
+                    username.setError("only alphabet or number allowed");
+                }
+                else if(user.length()<5){
+                    username.setError("at least 5 characters long");
+                }
+                else if(pass.length()<5){
+                    password.setError("at least 5 characters long");
+                }
+                else {
+                    final ProgressDialog pd = new ProgressDialog(Register.this);
+                    pd.setMessage("Loading...");
+                    pd.show();
+
+                    String url = "https://chatapp-84987.firebaseio.com/chat_here.json";
+
+                    StringRequest request = new StringRequest(Request.Method.GET, url, new Response.Listener<String>(){
+                        @Override
+                        public void onResponse(String s) {
+                            Firebase reference = new Firebase("https://chatapp-84987.firebaseio.com/users");
+
+                            if(s.equals("null")) {
+                                reference.child(user).child("password").setValue(pass);
+                                Toast.makeText(Register.this, "registration successful", Toast.LENGTH_LONG).show();
+                            }
+                            else {
+                                try {
+                                    JSONObject obj = new JSONObject(s);
+
+                                    if (!obj.has(user)) {
+                                        reference.child(user).child("password").setValue(pass);
+                                        Toast.makeText(Register.this, "registration successful", Toast.LENGTH_LONG).show();
+                                    } else {
+                                        Toast.makeText(Register.this, "username already exists", Toast.LENGTH_LONG).show();
+                                    }
+
+                                } catch (JSONException e) {
+                                    e.printStackTrace();
+                                }
+                            }
+
+                            pd.dismiss();
+                        }
+
+                    },new Response.ErrorListener(){
+                        @Override
+                        public void onErrorResponse(VolleyError volleyError) {
+                            System.out.println("" + volleyError );
+                            pd.dismiss();
+                        }
+                    });
+
+                    RequestQueue rQueue = Volley.newRequestQueue(Register.this);
+                    rQueue.add(request);
+                }
+            }
+        });
+    }
+}
diff --git a/FirstPage/app/src/main/java/tn/cbe/nandhu1296/firstpage/Smspage.java b/FirstPage/app/src/main/java/tn/cbe/nandhu1296/firstpage/Smspage.java
new file mode 100644
index 0000000000000000000000000000000000000000..4d565a5c31fd83ef756bdb6476424408adcdc1ab
--- /dev/null
+++ b/FirstPage/app/src/main/java/tn/cbe/nandhu1296/firstpage/Smspage.java
@@ -0,0 +1,59 @@
+package tn.cbe.nandhu1296.firstpage;
+
+import android.os.Bundle;
+import android.support.v7.app.AppCompatActivity;
+import android.telephony.gsm.SmsManager;
+import android.view.Menu;
+import android.view.View;
+import android.view.View.OnClickListener;
+import android.widget.Button;
+import android.widget.EditText;
+import android.widget.Toast;
+
+public class Smspage extends AppCompatActivity {
+
+    Button btnSend;
+    EditText txtPhoneNo;
+    EditText txtSMS;
+
+    @Override
+    protected void onCreate(Bundle savedInstanceState) {
+        super.onCreate(savedInstanceState);
+        setContentView(R.layout.activity_smspage);
+
+        btnSend=(Button) findViewById(R.id.buttonSend);
+        txtPhoneNo=(EditText) findViewById(R.id.editTextPhoneNo);
+        txtSMS=(EditText) findViewById(R.id.editTextSMS);
+
+        btnSend.setOnClickListener(new OnClickListener() {
+
+            @Override
+            public void onClick(View v) {
+                // TODO Auto-generated method stub
+                String phoneNo=txtPhoneNo.getText().toString();
+                String SMS=txtSMS.getText().toString();
+
+                try {
+                    SmsManager smsManager=SmsManager.getDefault();
+                    smsManager.sendTextMessage(phoneNo, null, SMS, null, null);
+                    Toast.makeText(getApplicationContext(),"SMS Sent!...",Toast.LENGTH_LONG).show();
+                   // Toast.makeText(Smspage.this, "sim charges will occur", Toast.LENGTH_LONG).show();
+
+
+                } catch (Exception e) {
+                    Toast.makeText(getApplicationContext(),	"SMS faild, please try again later!",Toast.LENGTH_LONG).show();
+                    e.printStackTrace();
+                }
+            }
+        });
+
+    }
+
+    @Override
+    public boolean onCreateOptionsMenu(Menu menu) {
+        // Inflate the menu; this adds items to the action bar if it is present.
+        getMenuInflater().inflate(R.menu.main, menu);
+        return true;
+    }
+
+}
diff --git a/FirstPage/app/src/main/java/tn/cbe/nandhu1296/firstpage/UserDetails.java b/FirstPage/app/src/main/java/tn/cbe/nandhu1296/firstpage/UserDetails.java
new file mode 100644
index 0000000000000000000000000000000000000000..744ad7ac35632865a60c35f8760451b46535bd33
--- /dev/null
+++ b/FirstPage/app/src/main/java/tn/cbe/nandhu1296/firstpage/UserDetails.java
@@ -0,0 +1,11 @@
+package tn.cbe.nandhu1296.firstpage;
+
+/**
+ * Created by Nandha kumar on 21-04-2017.
+ */
+
+public class UserDetails {
+    static String username = "";
+    static String password = "";
+    static String chatWith = "";
+}
\ No newline at end of file
diff --git a/FirstPage/app/src/main/java/tn/cbe/nandhu1296/firstpage/Users.java b/FirstPage/app/src/main/java/tn/cbe/nandhu1296/firstpage/Users.java
new file mode 100644
index 0000000000000000000000000000000000000000..63d54976efda3a396af3ac04df39c2212ce8acba
--- /dev/null
+++ b/FirstPage/app/src/main/java/tn/cbe/nandhu1296/firstpage/Users.java
@@ -0,0 +1,104 @@
+package tn.cbe.nandhu1296.firstpage;
+
+import android.app.ProgressDialog;
+import android.content.Intent;
+import android.support.v7.app.AppCompatActivity;
+import android.os.Bundle;
+import android.view.View;
+import android.widget.AdapterView;
+import android.widget.ArrayAdapter;
+import android.widget.ListView;
+import android.widget.TextView;
+
+import com.android.volley.Request;
+import com.android.volley.RequestQueue;
+import com.android.volley.Response;
+import com.android.volley.VolleyError;
+import com.android.volley.toolbox.StringRequest;
+import com.android.volley.toolbox.Volley;
+
+import org.json.JSONException;
+import org.json.JSONObject;
+
+import java.util.ArrayList;
+import java.util.Iterator;
+
+public class Users extends AppCompatActivity {
+    ListView usersList;
+    TextView noUsersText;
+    ArrayList<String> al = new ArrayList<>();
+    int totalUsers = 0;
+    ProgressDialog pd;
+
+    @Override
+    protected void onCreate(Bundle savedInstanceState) { 
+        super.onCreate(savedInstanceState);
+        setContentView(R.layout.activity_users);
+
+        usersList = (ListView)findViewById(R.id.usersList);
+        noUsersText = (TextView)findViewById(R.id.noUsersText);
+
+        pd = new ProgressDialog(Users.this);
+        pd.setMessage("Loading...");
+        pd.show();
+
+        String url = "https://chatapp-84987.firebaseio.com/users.json";
+
+        StringRequest request = new StringRequest(Request.Method.GET, url, new Response.Listener<String>(){
+            @Override
+            public void onResponse(String s) {
+                doOnSuccess(s);
+            }
+        },new Response.ErrorListener(){
+            @Override
+            public void onErrorResponse(VolleyError volleyError) {
+                System.out.println("" + volleyError);
+            }
+        });
+
+        RequestQueue rQueue = Volley.newRequestQueue(Users.this);
+        rQueue.add(request);
+
+        usersList.setOnItemClickListener(new AdapterView.OnItemClickListener() {
+            @Override
+            public void onItemClick(AdapterView<?> parent, View view, int position, long id) {
+                UserDetails.chatWith = al.get(position);
+                startActivity(new Intent(Users.this, Chat.class));
+            }
+        });
+    }
+
+    public void doOnSuccess(String s){
+        try {
+            JSONObject obj = new JSONObject(s);
+
+            Iterator i = obj.keys();
+            String key = "";
+
+            while(i.hasNext()){
+                key = i.next().toString();
+
+                if(!key.equals(UserDetails.username)) {
+                    al.add(key);
+                }
+
+                totalUsers++;
+            }
+
+        } catch (JSONException e) {
+            e.printStackTrace();
+        }
+
+        if(totalUsers <=1){
+            noUsersText.setVisibility(View.VISIBLE);
+            usersList.setVisibility(View.GONE);
+        }
+        else{
+            noUsersText.setVisibility(View.GONE);
+            usersList.setVisibility(View.VISIBLE);
+            usersList.setAdapter(new ArrayAdapter<String>(this, android.R.layout.simple_list_item_1, al));
+        }
+
+        pd.dismiss();
+    }
+}
diff --git a/FirstPage/app/src/main/java/tn/cbe/nandhu1296/firstpage/login.java b/FirstPage/app/src/main/java/tn/cbe/nandhu1296/firstpage/login.java
new file mode 100644
index 0000000000000000000000000000000000000000..63ca2fe1e65dc080d6fad6ca2feb103c1aee3fcf
--- /dev/null
+++ b/FirstPage/app/src/main/java/tn/cbe/nandhu1296/firstpage/login.java
@@ -0,0 +1,117 @@
+package tn.cbe.nandhu1296.firstpage;
+
+import android.app.ProgressDialog;
+import android.content.Intent;
+import android.support.v7.app.AppCompatActivity;
+import android.os.Bundle;
+import android.view.View;
+import android.widget.Button;
+import android.widget.EditText;
+import android.widget.TextView;
+import android.widget.Toast;
+
+import com.android.volley.Request;
+import com.android.volley.RequestQueue;
+import com.android.volley.Response;
+import com.android.volley.VolleyError;
+import com.android.volley.toolbox.StringRequest;
+import com.android.volley.toolbox.Volley;
+
+import org.json.JSONException;
+import org.json.JSONObject;
+
+public class login extends AppCompatActivity {
+    TextView register;
+    EditText username, password;
+    Button loginButton,fb1,google;
+    String user, pass;
+
+    @Override
+    protected void onCreate(Bundle savedInstanceState) {
+        super.onCreate(savedInstanceState);
+        setContentView(R.layout.activity_login);
+//goo();
+        register = (TextView)findViewById(R.id.register);
+        username = (EditText)findViewById(R.id.username);
+        password = (EditText)findViewById(R.id.password);
+        loginButton = (Button)findViewById(R.id.loginButton);
+//google =(Button)findViewById(R.id.button112) ;
+
+
+        register.setOnClickListener(new View.OnClickListener() {
+            @Override
+            public void onClick(View v) {
+                startActivity(new Intent(login.this, Register.class));
+            }
+        });
+
+        loginButton.setOnClickListener(new View.OnClickListener() {
+            @Override
+            public void onClick(View v) {
+                user = username.getText().toString();
+                pass = password.getText().toString();
+
+                if(user.equals("")){
+                    username.setError("can't be blank");
+                }
+                else if(pass.equals("")){
+                    password.setError("can't be blank");
+                }
+                else{
+                    String url = "https://chatapp-84987.firebaseio.com/users.json";
+                    final ProgressDialog pd = new ProgressDialog(login.this);
+                    pd.setMessage("Loading...");
+                    pd.show();
+
+                    StringRequest request = new StringRequest(Request.Method.GET, url, new Response.Listener<String>(){
+                        @Override
+                        public void onResponse(String s) {
+                            if(s.equals("null")){
+                                Toast.makeText(login.this, "user not found", Toast.LENGTH_LONG).show();
+                            }
+                            else{
+                                try {
+                                    JSONObject obj = new JSONObject(s);
+
+                                    if(!obj.has(user)){
+                                        Toast.makeText(login.this, "user not found", Toast.LENGTH_LONG).show();
+                                    }
+                                    else if(obj.getJSONObject(user).getString("password").equals(pass)){
+
+                                        UserDetails.username = user;
+                                        UserDetails.password = pass;
+                                        startActivity(new Intent(login.this, Users.class));
+                                    }
+                                    else {
+                                        Toast.makeText(login.this, "incorrect password", Toast.LENGTH_LONG).show();
+                                    }
+                                } catch (JSONException e) {
+                                    e.printStackTrace();
+                                }
+                            }
+
+                            pd.dismiss();
+                        }
+                    },new Response.ErrorListener(){
+                        @Override
+                        public void onErrorResponse(VolleyError volleyError) {
+                            System.out.println("" + volleyError);
+                            pd.dismiss();
+                        }
+                    });
+
+                    RequestQueue rQueue = Volley.newRequestQueue(login.this);
+                    rQueue.add(request);
+                }
+
+            }
+        });
+    }
+
+   /* private void goo() {
+        Intent inte= new Intent(Intent.ACTION_SEND);
+        inte.setType("text/plain");
+        inte.setPackage("com.facebook.katana");
+        startActivity(inte);
+    } */
+}
diff --git a/FirstPage/app/src/main/res/drawable-hdpi/fp3.png b/FirstPage/app/src/main/res/drawable-hdpi/fp3.png
new file mode 100644
index 0000000000000000000000000000000000000000..6bc2a89970b5e6638826823715c9cb10f8d56376
Binary files /dev/null and b/FirstPage/app/src/main/res/drawable-hdpi/fp3.png differ
diff --git a/FirstPage/app/src/main/res/drawable-hdpi/ic_action_name1.png b/FirstPage/app/src/main/res/drawable-hdpi/ic_action_name1.png
new file mode 100644
index 0000000000000000000000000000000000000000..003fdff2cf68e13acfa386f41db7b63fb70c132e
Binary files /dev/null and b/FirstPage/app/src/main/res/drawable-hdpi/ic_action_name1.png differ
diff --git a/FirstPage/app/src/main/res/drawable-hdpi/ic_action_name2.png b/FirstPage/app/src/main/res/drawable-hdpi/ic_action_name2.png
new file mode 100644
index 0000000000000000000000000000000000000000..505406b559b65f311190fe711cb58dabf00dc525
Binary files /dev/null and b/FirstPage/app/src/main/res/drawable-hdpi/ic_action_name2.png differ
diff --git a/FirstPage/app/src/main/res/drawable-mdpi/fp3.png b/FirstPage/app/src/main/res/drawable-mdpi/fp3.png
new file mode 100644
index 0000000000000000000000000000000000000000..33feb2c6aa918cb575a4559705ba7affe45fe037
Binary files /dev/null and b/FirstPage/app/src/main/res/drawable-mdpi/fp3.png differ
diff --git a/FirstPage/app/src/main/res/drawable-mdpi/ic_action_name1.png b/FirstPage/app/src/main/res/drawable-mdpi/ic_action_name1.png
new file mode 100644
index 0000000000000000000000000000000000000000..ae03c1adfd22fdc7a41bd91b1919413d9c150d3c
Binary files /dev/null and b/FirstPage/app/src/main/res/drawable-mdpi/ic_action_name1.png differ
diff --git a/FirstPage/app/src/main/res/drawable-mdpi/ic_action_name2.png b/FirstPage/app/src/main/res/drawable-mdpi/ic_action_name2.png
new file mode 100644
index 0000000000000000000000000000000000000000..64eabffa4b2473ae7a13cc7c9ace3a7ba9637585
Binary files /dev/null and b/FirstPage/app/src/main/res/drawable-mdpi/ic_action_name2.png differ
diff --git a/FirstPage/app/src/main/res/drawable-v21/ic_menu_camera.xml b/FirstPage/app/src/main/res/drawable-v21/ic_menu_camera.xml
new file mode 100644
index 0000000000000000000000000000000000000000..0d9ea104b2f34dbd9d7a0ea545589660fe6c0ef6
--- /dev/null
+++ b/FirstPage/app/src/main/res/drawable-v21/ic_menu_camera.xml
@@ -0,0 +1,12 @@
+<vector xmlns:android="http://schemas.android.com/apk/res/android"
+    android:width="24dp"
+    android:height="24dp"
+    android:viewportHeight="24.0"
+    android:viewportWidth="24.0">
+    <path
+        android:fillColor="#FF000000"
+        android:pathData="M12,12m-3.2,0a3.2,3.2 0,1 1,6.4 0a3.2,3.2 0,1 1,-6.4 0" />
+    <path
+        android:fillColor="#FF000000"
+        android:pathData="M9,2L7.17,4H4c-1.1,0 -2,0.9 -2,2v12c0,1.1 0.9,2 2,2h16c1.1,0 2,-0.9 2,-2V6c0,-1.1 -0.9,-2 -2,-2h-3.17L15,2H9zm3,15c-2.76,0 -5,-2.24 -5,-5s2.24,-5 5,-5 5,2.24 5,5 -2.24,5 -5,5z" />
+</vector>
diff --git a/FirstPage/app/src/main/res/drawable-v21/ic_menu_gallery.xml b/FirstPage/app/src/main/res/drawable-v21/ic_menu_gallery.xml
new file mode 100644
index 0000000000000000000000000000000000000000..f6872c409eb82cabaa9297998d49005b057d8043
--- /dev/null
+++ b/FirstPage/app/src/main/res/drawable-v21/ic_menu_gallery.xml
@@ -0,0 +1,9 @@
+<vector xmlns:android="http://schemas.android.com/apk/res/android"
+    android:width="24dp"
+    android:height="24dp"
+    android:viewportHeight="24.0"
+    android:viewportWidth="24.0">
+    <path
+        android:fillColor="#FF000000"
+        android:pathData="M22,16V4c0,-1.1 -0.9,-2 -2,-2H8c-1.1,0 -2,0.9 -2,2v12c0,1.1 0.9,2 2,2h12c1.1,0 2,-0.9 2,-2zm-11,-4l2.03,2.71L16,11l4,5H8l3,-4zM2,6v14c0,1.1 0.9,2 2,2h14v-2H4V6H2z" />
+</vector>
diff --git a/FirstPage/app/src/main/res/drawable-v21/ic_menu_manage.xml b/FirstPage/app/src/main/res/drawable-v21/ic_menu_manage.xml
new file mode 100644
index 0000000000000000000000000000000000000000..c1be60b368cee69ed9c866009439b50e4e920230
--- /dev/null
+++ b/FirstPage/app/src/main/res/drawable-v21/ic_menu_manage.xml
@@ -0,0 +1,9 @@
+<vector xmlns:android="http://schemas.android.com/apk/res/android"
+    android:width="24dp"
+    android:height="24dp"
+    android:viewportHeight="24.0"
+    android:viewportWidth="24.0">
+    <path
+        android:fillColor="#FF000000"
+        android:pathData="M22.7,19l-9.1,-9.1c0.9,-2.3 0.4,-5 -1.5,-6.9 -2,-2 -5,-2.4 -7.4,-1.3L9,6 6,9 1.6,4.7C0.4,7.1 0.9,10.1 2.9,12.1c1.9,1.9 4.6,2.4 6.9,1.5l9.1,9.1c0.4,0.4 1,0.4 1.4,0l2.3,-2.3c0.5,-0.4 0.5,-1.1 0.1,-1.4z" />
+</vector>
\ No newline at end of file
diff --git a/FirstPage/app/src/main/res/drawable-v21/ic_menu_send.xml b/FirstPage/app/src/main/res/drawable-v21/ic_menu_send.xml
new file mode 100644
index 0000000000000000000000000000000000000000..00c668c60b05fd2e0b5c4f8bc43c8114c7dbd7a1
--- /dev/null
+++ b/FirstPage/app/src/main/res/drawable-v21/ic_menu_send.xml
@@ -0,0 +1,9 @@
+<vector xmlns:android="http://schemas.android.com/apk/res/android"
+    android:width="24dp"
+    android:height="24dp"
+    android:viewportHeight="24.0"
+    android:viewportWidth="24.0">
+    <path
+        android:fillColor="#FF000000"
+        android:pathData="M2.01,21L23,12 2.01,3 2,10l15,2 -15,2z" />
+</vector>
diff --git a/FirstPage/app/src/main/res/drawable-v21/ic_menu_share.xml b/FirstPage/app/src/main/res/drawable-v21/ic_menu_share.xml
new file mode 100644
index 0000000000000000000000000000000000000000..a28fb9e2897130c7b627049d91c2294679563b05
--- /dev/null
+++ b/FirstPage/app/src/main/res/drawable-v21/ic_menu_share.xml
@@ -0,0 +1,9 @@
+<vector xmlns:android="http://schemas.android.com/apk/res/android"
+    android:width="24dp"
+    android:height="24dp"
+    android:viewportHeight="24.0"
+    android:viewportWidth="24.0">
+    <path
+        android:fillColor="#FF000000"
+        android:pathData="M18,16.08c-0.76,0 -1.44,0.3 -1.96,0.77L8.91,12.7c0.05,-0.23 0.09,-0.46 0.09,-0.7s-0.04,-0.47 -0.09,-0.7l7.05,-4.11c0.54,0.5 1.25,0.81 2.04,0.81 1.66,0 3,-1.34 3,-3s-1.34,-3 -3,-3 -3,1.34 -3,3c0,0.24 0.04,0.47 0.09,0.7L8.04,9.81C7.5,9.31 6.79,9 6,9c-1.66,0 -3,1.34 -3,3s1.34,3 3,3c0.79,0 1.5,-0.31 2.04,-0.81l7.12,4.16c-0.05,0.21 -0.08,0.43 -0.08,0.65 0,1.61 1.31,2.92 2.92,2.92 1.61,0 2.92,-1.31 2.92,-2.92s-1.31,-2.92 -2.92,-2.92z" />
+</vector>
diff --git a/FirstPage/app/src/main/res/drawable-v21/ic_menu_slideshow.xml b/FirstPage/app/src/main/res/drawable-v21/ic_menu_slideshow.xml
new file mode 100644
index 0000000000000000000000000000000000000000..209aa6430e754b466c4256446446cfce615f3394
--- /dev/null
+++ b/FirstPage/app/src/main/res/drawable-v21/ic_menu_slideshow.xml
@@ -0,0 +1,9 @@
+<vector xmlns:android="http://schemas.android.com/apk/res/android"
+    android:width="24dp"
+    android:height="24dp"
+    android:viewportHeight="24.0"
+    android:viewportWidth="24.0">
+    <path
+        android:fillColor="#FF000000"
+        android:pathData="M4,6H2v14c0,1.1 0.9,2 2,2h14v-2H4V6zm16,-4H8c-1.1,0 -2,0.9 -2,2v12c0,1.1 0.9,2 2,2h12c1.1,0 2,-0.9 2,-2V4c0,-1.1 -0.9,-2 -2,-2zm-8,12.5v-9l6,4.5 -6,4.5z" />
+</vector>
diff --git a/FirstPage/app/src/main/res/drawable-xhdpi/fp3.png b/FirstPage/app/src/main/res/drawable-xhdpi/fp3.png
new file mode 100644
index 0000000000000000000000000000000000000000..8f25a8fabccdce3ade31f842896b7742008c75ec
Binary files /dev/null and b/FirstPage/app/src/main/res/drawable-xhdpi/fp3.png differ
diff --git a/FirstPage/app/src/main/res/drawable-xhdpi/ic_action_name1.png b/FirstPage/app/src/main/res/drawable-xhdpi/ic_action_name1.png
new file mode 100644
index 0000000000000000000000000000000000000000..4bf1be1055bcbcda4bafbb427f10e2ffeb820f93
Binary files /dev/null and b/FirstPage/app/src/main/res/drawable-xhdpi/ic_action_name1.png differ
diff --git a/FirstPage/app/src/main/res/drawable-xhdpi/ic_action_name2.png b/FirstPage/app/src/main/res/drawable-xhdpi/ic_action_name2.png
new file mode 100644
index 0000000000000000000000000000000000000000..f2d14b1b922fedb21e4c0abbcc3e3ca676eb4832
Binary files /dev/null and b/FirstPage/app/src/main/res/drawable-xhdpi/ic_action_name2.png differ
diff --git a/FirstPage/app/src/main/res/drawable-xxhdpi/fp3.png b/FirstPage/app/src/main/res/drawable-xxhdpi/fp3.png
new file mode 100644
index 0000000000000000000000000000000000000000..adca9ab8489a229bd75fbe9106fa132aee6a7638
Binary files /dev/null and b/FirstPage/app/src/main/res/drawable-xxhdpi/fp3.png differ
diff --git a/FirstPage/app/src/main/res/drawable-xxhdpi/ic_action_name1.png b/FirstPage/app/src/main/res/drawable-xxhdpi/ic_action_name1.png
new file mode 100644
index 0000000000000000000000000000000000000000..9ca98d020af81877df27ac9de8b565066c95904b
Binary files /dev/null and b/FirstPage/app/src/main/res/drawable-xxhdpi/ic_action_name1.png differ
diff --git a/FirstPage/app/src/main/res/drawable-xxhdpi/ic_action_name2.png b/FirstPage/app/src/main/res/drawable-xxhdpi/ic_action_name2.png
new file mode 100644
index 0000000000000000000000000000000000000000..c1c690c78e4df497b422abf20c5a484076508f95
Binary files /dev/null and b/FirstPage/app/src/main/res/drawable-xxhdpi/ic_action_name2.png differ
diff --git a/FirstPage/app/src/main/res/drawable/fc33.jpg b/FirstPage/app/src/main/res/drawable/fc33.jpg
new file mode 100644
index 0000000000000000000000000000000000000000..8707d1df5ade370aa344868546726a602043dc38
Binary files /dev/null and b/FirstPage/app/src/main/res/drawable/fc33.jpg differ
diff --git a/FirstPage/app/src/main/res/drawable/fc4.jpg b/FirstPage/app/src/main/res/drawable/fc4.jpg
new file mode 100644
index 0000000000000000000000000000000000000000..b6a361c416c900b82aabd9ee25da9dc75ae84b0b
Binary files /dev/null and b/FirstPage/app/src/main/res/drawable/fc4.jpg differ
diff --git a/FirstPage/app/src/main/res/drawable/fc5.jpeg b/FirstPage/app/src/main/res/drawable/fc5.jpeg
new file mode 100644
index 0000000000000000000000000000000000000000..ae29338c14627b74f038ea0183ecb46bae66f04d
Binary files /dev/null and b/FirstPage/app/src/main/res/drawable/fc5.jpeg differ
diff --git a/FirstPage/app/src/main/res/drawable/fc6.png b/FirstPage/app/src/main/res/drawable/fc6.png
new file mode 100644
index 0000000000000000000000000000000000000000..7322b17d2e18393efe56cf60500b3bceec2b2f00
Binary files /dev/null and b/FirstPage/app/src/main/res/drawable/fc6.png differ
diff --git a/FirstPage/app/src/main/res/drawable/fc7.jpg b/FirstPage/app/src/main/res/drawable/fc7.jpg
new file mode 100644
index 0000000000000000000000000000000000000000..73a45ff544a12fc6247cc2c96a4ca5e7e8d19c90
Binary files /dev/null and b/FirstPage/app/src/main/res/drawable/fc7.jpg differ
diff --git a/FirstPage/app/src/main/res/drawable/fp1.jpg b/FirstPage/app/src/main/res/drawable/fp1.jpg
new file mode 100644
index 0000000000000000000000000000000000000000..7b549f12f736b175d89c56a8823a399f8fd68fdd
Binary files /dev/null and b/FirstPage/app/src/main/res/drawable/fp1.jpg differ
diff --git a/FirstPage/app/src/main/res/drawable/fp2.jpg b/FirstPage/app/src/main/res/drawable/fp2.jpg
new file mode 100644
index 0000000000000000000000000000000000000000..1f414794e35bc2bcb53d7e4d73c6aa1729a1b01e
Binary files /dev/null and b/FirstPage/app/src/main/res/drawable/fp2.jpg differ
diff --git a/FirstPage/app/src/main/res/drawable/fp21.jpg b/FirstPage/app/src/main/res/drawable/fp21.jpg
new file mode 100644
index 0000000000000000000000000000000000000000..e86dc1ae20c1b947982a7b34fde948da7b429b56
Binary files /dev/null and b/FirstPage/app/src/main/res/drawable/fp21.jpg differ
diff --git a/FirstPage/app/src/main/res/drawable/fp22.jpg b/FirstPage/app/src/main/res/drawable/fp22.jpg
new file mode 100644
index 0000000000000000000000000000000000000000..7340ebac22ccb76cf3e1c429bdf30a1e23c104eb
Binary files /dev/null and b/FirstPage/app/src/main/res/drawable/fp22.jpg differ
diff --git a/FirstPage/app/src/main/res/drawable/fp24.jpg b/FirstPage/app/src/main/res/drawable/fp24.jpg
new file mode 100644
index 0000000000000000000000000000000000000000..959e4e82f6247bb46d619703c435f809cbdf0452
Binary files /dev/null and b/FirstPage/app/src/main/res/drawable/fp24.jpg differ
diff --git a/FirstPage/app/src/main/res/drawable/rounded_corner1.xml b/FirstPage/app/src/main/res/drawable/rounded_corner1.xml
new file mode 100644
index 0000000000000000000000000000000000000000..1d4e8768ff66eaae9b70e392c40c875cb5a2076d
--- /dev/null
+++ b/FirstPage/app/src/main/res/drawable/rounded_corner1.xml
@@ -0,0 +1,13 @@
+<?xml version="1.0" encoding="utf-8"?>
+<selector xmlns:android="http://schemas.android.com/apk/res/android">
+    <solid android:color="#dddddd" />
+    <stroke
+        android:width="0dip"
+        android:color="#dddddd" />
+    <corners android:radius="10dip" />
+    <padding
+        android:bottom="5dip"
+        android:left="5dip"
+        android:right="5dip"
+        android:top="5dip" />
+</selector>
\ No newline at end of file
diff --git a/FirstPage/app/src/main/res/drawable/rounded_corner2.xml b/FirstPage/app/src/main/res/drawable/rounded_corner2.xml
new file mode 100644
index 0000000000000000000000000000000000000000..560af5ce49d214094cd7f24e069d137f8a1bbb22
--- /dev/null
+++ b/FirstPage/app/src/main/res/drawable/rounded_corner2.xml
@@ -0,0 +1,14 @@
+<?xml version="1.0" encoding="utf-8"?>
+<selector xmlns:android="http://schemas.android.com/apk/res/android">
+    <solid android:color="#f0f0f0" />
+    <stroke
+        android:width="0dip"
+        android:color="#f0f0f0" />
+    <corners android:radius="10dip" />
+    <padding
+        android:bottom="5dip"
+        android:left="5dip"
+        android:right="5dip"
+        android:top="5dip" />
+</selector>
+
diff --git a/FirstPage/app/src/main/res/drawable/side_nav_bar.xml b/FirstPage/app/src/main/res/drawable/side_nav_bar.xml
new file mode 100644
index 0000000000000000000000000000000000000000..458b4b07d185c3fc50ebca176e640d9518c69b61
--- /dev/null
+++ b/FirstPage/app/src/main/res/drawable/side_nav_bar.xml
@@ -0,0 +1,9 @@
+<shape xmlns:android="http://schemas.android.com/apk/res/android"
+    android:shape="rectangle">
+    <gradient
+        android:angle="135"
+        android:centerColor="#4CAF50"
+        android:endColor="#2E7D32"
+        android:startColor="#81C784"
+        android:type="linear" />
+</shape>
\ No newline at end of file
diff --git a/FirstPage/app/src/main/res/layout/activity_chat.xml b/FirstPage/app/src/main/res/layout/activity_chat.xml
new file mode 100644
index 0000000000000000000000000000000000000000..a3653f2267cfd1cc030099ae335b19267f967935
--- /dev/null
+++ b/FirstPage/app/src/main/res/layout/activity_chat.xml
@@ -0,0 +1,36 @@
+<?xml version="1.0" encoding="utf-8"?>
+<LinearLayout xmlns:android="http://schemas.android.com/apk/res/android"
+xmlns:tools="http://schemas.android.com/tools"
+android:layout_width="match_parent"
+android:layout_height="match_parent"
+android:background="@drawable/fc33"
+
+android:paddingBottom="@dimen/activity_vertical_margin"
+android:paddingLeft="@dimen/activity_horizontal_margin"
+android:paddingRight="@dimen/activity_horizontal_margin"
+android:paddingTop="@dimen/activity_vertical_margin"
+android:orientation="vertical"
+tools:context="tn.cbe.nandhu1296.firstpage.Chat">
+
+<ScrollView
+    android:layout_width="match_parent"
+    android:layout_weight="20"
+    android:layout_height="wrap_content"
+    android:id="@+id/scrollView">
+
+    <LinearLayout
+        android:layout_width="match_parent"
+        android:layout_height="wrap_content"
+        android:orientation="vertical"
+        android:id="@+id/layout1">
+
+    </LinearLayout>
+</ScrollView>
+
+<include
+    layout="@layout/message_area"
+    android:layout_width="match_parent"
+    android:layout_height="wrap_content"
+    android:gravity="bottom"
+    android:layout_marginTop="5dp"/>
+</LinearLayout>
\ No newline at end of file
diff --git a/FirstPage/app/src/main/res/layout/activity_listview.xml b/FirstPage/app/src/main/res/layout/activity_listview.xml
new file mode 100644
index 0000000000000000000000000000000000000000..bc8afe7015d304b099f1dbd2d879d1045224cda8
--- /dev/null
+++ b/FirstPage/app/src/main/res/layout/activity_listview.xml
@@ -0,0 +1,17 @@
+<?xml version="1.0" encoding="utf-8"?>
+<LinearLayout xmlns:android="http://schemas.android.com/apk/res/android"
+    android:background="@drawable/fc33"
+    android:orientation="vertical"
+    android:layout_width="match_parent"
+    android:layout_height="match_parent">
+
+    <TextView xmlns:android="http://schemas.android.com/apk/res/android"
+        android:id="@+id/label"
+        android:layout_width="fill_parent"
+        android:layout_height="fill_parent"
+        android:padding="10dip"
+        android:textSize="16dip"
+        android:textStyle="bold" >
+    </TextView>
+
+</LinearLayout>
\ No newline at end of file
diff --git a/FirstPage/app/src/main/res/layout/activity_login.xml b/FirstPage/app/src/main/res/layout/activity_login.xml
new file mode 100644
index 0000000000000000000000000000000000000000..68f2c768eb74a188a1eac3dd06e2be9dc8d4a3ec
--- /dev/null
+++ b/FirstPage/app/src/main/res/layout/activity_login.xml
@@ -0,0 +1,60 @@
+<?xml version="1.0" encoding="utf-8"?>
+<LinearLayout xmlns:android="http://schemas.android.com/apk/res/android"
+    xmlns:app="http://schemas.android.com/apk/res-auto"
+    xmlns:tools="http://schemas.android.com/tools"
+android:layout_width="match_parent"
+android:layout_height="match_parent"
+android:paddingBottom="@dimen/activity_vertical_margin"
+android:paddingLeft="@dimen/activity_horizontal_margin"
+android:paddingRight="@dimen/activity_horizontal_margin"
+android:paddingTop="@dimen/activity_vertical_margin"
+    android:background="@drawable/fc4"
+tools:context="tn.cbe.nandhu1296.firstpage.login"
+android:orientation="vertical"
+android:gravity="center"
+    android:weightSum="1">
+
+    <TextView
+    android:layout_width="match_parent"
+    android:layout_height="wrap_content"
+    android:text="Login"
+    android:textSize="30dp"
+    android:gravity="center"
+    android:layout_marginBottom="20dp"/>
+
+<EditText
+    android:layout_width="match_parent"
+    android:layout_height="wrap_content"
+    android:id="@+id/username"
+    android:inputType="text"
+    android:maxLines="1"
+    android:hint="enter username"
+    android:layout_marginBottom="10dp"/>
+
+<EditText
+    android:layout_width="match_parent"
+    android:layout_height="wrap_content"
+    android:id="@+id/password"
+    android:inputType="textPassword"
+    android:maxLines="1"
+    android:hint="enter password"
+    android:layout_marginBottom="10dp"/>
+
+<Button
+    android:layout_width="match_parent"
+    android:layout_height="wrap_content"
+    android:text="Login"
+ android:background="@color/yellow"
+    android:id="@+id/loginButton"
+    android:layout_marginBottom="20dp"/>
+
+<TextView
+    android:layout_width="match_parent"
+    android:layout_height="wrap_content"
+    android:text="click here..To create account"
+    android:textColor="@color/colorPrimaryDark"
+    android:textSize="20dp"
+    android:gravity="center"
+    android:id="@+id/register"/>
+
+</LinearLayout>
\ No newline at end of file
diff --git a/FirstPage/app/src/main/res/layout/activity_main.xml b/FirstPage/app/src/main/res/layout/activity_main.xml
new file mode 100644
index 0000000000000000000000000000000000000000..ffcb2dc65874ff29f25d9aa720b9dc643f261330
--- /dev/null
+++ b/FirstPage/app/src/main/res/layout/activity_main.xml
@@ -0,0 +1,39 @@
+<?xml version="1.0" encoding="utf-8"?>
+<RelativeLayout xmlns:android="http://schemas.android.com/apk/res/android"
+    xmlns:app="http://schemas.android.com/apk/res-auto"
+    xmlns:tools="http://schemas.android.com/tools"
+    android:layout_width="match_parent"
+    android:background="@drawable/fp1"
+    android:layout_height="match_parent"
+    tools:context="tn.cbe.nandhu1296.firstpage.MainActivity">
+
+
+
+    <Button
+        android:id="@+id/firstpagebutton"
+        android:background="@color/er"
+        android:layout_width="350dp"
+        android:textColor="@color/white"
+        android:textColorHint="@color/colorPrimaryDark"
+        android:textAlignment="center"
+        android:layout_height="55dp"
+        android:layout_marginBottom="12dp"
+        android:text="Food for the Taste is not ENOUGH ,there must be Food for the SOUL..!"
+        android:onClick="explore"
+        android:layout_alignParentBottom="true"
+        android:layout_centerHorizontal="true" />
+
+    <TextView
+        android:id="@+id/textView2"
+        android:layout_width="wrap_content"
+        android:layout_height="wrap_content"
+        android:layout_alignParentTop="true"
+        android:layout_alignStart="@+id/firstpagebutton"
+        android:layout_marginTop="21dp"
+        android:fontFamily="sans-serif-condensed"
+        android:text="Welcome To FarmCorp"
+        android:textColor="@color/colorPrimaryDark"
+        android:textSize="24sp"
+        android:visibility="visible" />
+
+</RelativeLayout>
diff --git a/FirstPage/app/src/main/res/layout/activity_main3.xml b/FirstPage/app/src/main/res/layout/activity_main3.xml
new file mode 100644
index 0000000000000000000000000000000000000000..7e4b492465ddf2aff31c027da090fc2c19c9cf0f
--- /dev/null
+++ b/FirstPage/app/src/main/res/layout/activity_main3.xml
@@ -0,0 +1,33 @@
+<?xml version="1.0" encoding="utf-8"?>
+<RelativeLayout xmlns:android="http://schemas.android.com/apk/res/android"
+    xmlns:app="http://schemas.android.com/apk/res-auto"
+    xmlns:tools="http://schemas.android.com/tools"
+    android:layout_width="match_parent"
+    android:layout_height="match_parent"
+    tools:context="tn.cbe.nandhu1296.firstpage.Main3Activity">
+
+    <ImageView
+        android:id="@+id/imageView3"
+        android:layout_width="match_parent"
+        android:layout_height="175dp"
+        app:srcCompat="@drawable/fp21" />
+
+    <ImageView
+        android:id="@+id/imageView4"
+        android:layout_width="wrap_content"
+        android:layout_height="wrap_content"
+        android:layout_below="@+id/imageView3"
+        android:layout_marginTop="74dp"
+        app:srcCompat="@drawable/fp22"
+        android:layout_alignParentEnd="true" />
+
+    <TextView
+        android:id="@+id/textView3"
+        android:layout_width="wrap_content"
+        android:layout_height="wrap_content"
+        android:layout_alignParentStart="true"
+        android:layout_below="@+id/imageView3"
+        android:layout_marginTop="12dp"
+        android:textColor="@color/colorPrimary"
+        android:text="rooftops will be the part of the mix of urban spaces that will be increasingly used to 'scale up' the urban agriculture.And it will contribute to human health,social health,environmental health,economic benefits" />
+</RelativeLayout>
\ No newline at end of file
diff --git a/FirstPage/app/src/main/res/layout/activity_navigation.xml b/FirstPage/app/src/main/res/layout/activity_navigation.xml
new file mode 100644
index 0000000000000000000000000000000000000000..315aebf38241826b973e3c8c13bf9c545b4b1b67
--- /dev/null
+++ b/FirstPage/app/src/main/res/layout/activity_navigation.xml
@@ -0,0 +1,27 @@
+<?xml version="1.0" encoding="utf-8"?>
+<android.support.v4.widget.DrawerLayout xmlns:android="http://schemas.android.com/apk/res/android"
+    xmlns:app="http://schemas.android.com/apk/res-auto"
+    xmlns:tools="http://schemas.android.com/tools"
+    android:id="@+id/drawer_layout"
+    android:layout_width="match_parent"
+    android:layout_height="match_parent"
+    android:fitsSystemWindows="true"
+    tools:openDrawer="start">
+
+    <include
+        layout="@layout/app_bar_navigation"
+        android:layout_width="match_parent"
+        android:layout_height="match_parent" />
+
+    <android.support.design.widget.NavigationView
+        android:id="@+id/nav_view"
+        android:layout_width="wrap_content"
+        android:layout_height="match_parent"
+        android:layout_gravity="start"
+        android:fitsSystemWindows="true"
+        app:headerLayout="@layout/nav_header_navigation"
+        app:menu="@menu/activity_navigation_drawer" />
+
+
+
+</android.support.v4.widget.DrawerLayout>
diff --git a/FirstPage/app/src/main/res/layout/activity_register.xml b/FirstPage/app/src/main/res/layout/activity_register.xml
new file mode 100644
index 0000000000000000000000000000000000000000..013ce3cab9b3627a4e89397d2e05990379977fc3
--- /dev/null
+++ b/FirstPage/app/src/main/res/layout/activity_register.xml
@@ -0,0 +1,75 @@
+<?xml version="1.0" encoding="utf-8"?>
+<LinearLayout xmlns:android="http://schemas.android.com/apk/res/android"
+xmlns:tools="http://schemas.android.com/tools"
+android:layout_width="match_parent"
+android:layout_height="match_parent"
+android:paddingBottom="@dimen/activity_vertical_margin"
+android:paddingLeft="@dimen/activity_horizontal_margin"
+    android:background="@drawable/fc4"
+
+    android:paddingRight="@dimen/activity_horizontal_margin"
+android:paddingTop="@dimen/activity_vertical_margin"
+
+tools:context="tn.cbe.nandhu1296.firstpage.Register"
+android:orientation="vertical"
+android:gravity="center">
+
+<TextView
+    android:layout_width="match_parent"
+    android:layout_height="wrap_content"
+    android:text="Register"
+    android:textSize="30dp"
+    android:gravity="center"
+    android:layout_marginBottom="20dp"/>
+
+<EditText
+    android:layout_width="match_parent"
+    android:layout_height="wrap_content"
+    android:id="@+id/username"
+    android:inputType="text"
+    android:maxLines="1"
+    android:hint="enter username"
+    android:layout_marginBottom="10dp"/>
+
+<EditText
+    android:layout_width="match_parent"
+    android:layout_height="wrap_content"
+    android:id="@+id/password"
+    android:inputType="textPassword"
+    android:maxLines="1"
+    android:hint="enter password"
+    android:layout_marginBottom="10dp"/>
+
+<Button
+    android:layout_width="match_parent"
+    android:layout_height="wrap_content"
+    android:text="Register"
+    android:background="@color/yellow"
+
+    android:id="@+id/registerButton"
+    android:layout_marginBottom="20dp"/>
+
+<TextView
+    android:layout_width="match_parent"
+    android:layout_height="wrap_content"
+    android:text="Get Back to login"
+    android:textColor="@color/colorPrimaryDark"
+    android:textSize="20dp"
+    android:gravity="center"
+    android:id="@+id/login"/>
+
+    <Button
+        android:id="@+id/fbutton1"
+        android:layout_width="match_parent"
+        android:layout_height="wrap_content"
+        android:onClick="onfb"
+        android:text="register using facebook" />
+
+    <Button
+        android:id="@+id/gbutton1"
+        android:layout_width="match_parent"
+        android:onClick="ongoogle"
+        android:layout_height="wrap_content"
+        android:text="register using google+" />
+
+</LinearLayout>
\ No newline at end of file
diff --git a/FirstPage/app/src/main/res/layout/activity_smspage.xml b/FirstPage/app/src/main/res/layout/activity_smspage.xml
new file mode 100644
index 0000000000000000000000000000000000000000..eddb17c7ad6dfe67b55074c3fd8725f3897a3a9e
--- /dev/null
+++ b/FirstPage/app/src/main/res/layout/activity_smspage.xml
@@ -0,0 +1,45 @@
+<?xml version="1.0" encoding="utf-8"?>
+<LinearLayout xmlns:android="http://schemas.android.com/apk/res/android"
+    xmlns:app="http://schemas.android.com/apk/res-auto"
+    xmlns:tools="http://schemas.android.com/tools"
+    android:layout_width="match_parent"
+    android:layout_height="match_parent"
+    android:orientation="vertical"
+    android:background="@drawable/fc4"
+    tools:context="tn.cbe.nandhu1296.firstpage.Smspage">
+    <TextView
+        android:id="@+id/textViewPhoneNo"
+        android:layout_width="wrap_content"
+        android:layout_height="wrap_content"
+        android:text="Enter Phone Number : "
+        android:textAppearance="?android:attr/textAppearanceLarge" />
+
+    <EditText
+        android:id="@+id/editTextPhoneNo"
+        android:layout_width="fill_parent"
+        android:layout_height="wrap_content"
+        android:phoneNumber="true" >
+    </EditText>
+
+    <TextView
+        android:id="@+id/textViewSMS"
+        android:layout_width="wrap_content"
+        android:layout_height="wrap_content"
+        android:text="Enter SMS Message : "
+        android:textAppearance="?android:attr/textAppearanceLarge" />
+
+    <EditText
+        android:id="@+id/editTextSMS"
+        android:layout_width="fill_parent"
+        android:layout_height="wrap_content"
+        android:inputType="textMultiLine"
+        android:lines="5"
+        android:gravity="top" />
+
+    <Button
+        android:id="@+id/buttonSend"
+        android:layout_width="fill_parent"
+        android:layout_height="wrap_content"
+        android:text="send message" />
+
+</LinearLayout>
diff --git a/FirstPage/app/src/main/res/layout/activity_users.xml b/FirstPage/app/src/main/res/layout/activity_users.xml
new file mode 100644
index 0000000000000000000000000000000000000000..7ee4101b163ad2cea29ad43eb4f829ccac81ecb3
--- /dev/null
+++ b/FirstPage/app/src/main/res/layout/activity_users.xml
@@ -0,0 +1,24 @@
+<?xml version="1.0" encoding="utf-8"?>
+<LinearLayout xmlns:android="http://schemas.android.com/apk/res/android"
+xmlns:tools="http://schemas.android.com/tools"
+android:layout_width="match_parent"
+android:layout_height="match_parent"
+android:paddingBottom="@dimen/activity_vertical_margin"
+android:paddingLeft="@dimen/activity_horizontal_margin"
+android:paddingRight="@dimen/activity_horizontal_margin"
+android:paddingTop="@dimen/activity_vertical_margin"
+tools:context="tn.cbe.nandhu1296.firstpage.Users"
+android:orientation="vertical">
+
+<TextView
+    android:layout_width="match_parent"
+    android:layout_height="wrap_content"
+    android:text="No users found!"
+    android:id="@+id/noUsersText"
+    android:visibility="gone"/>
+
+<ListView
+    android:layout_width="match_parent"
+    android:layout_height="wrap_content"
+    android:id="@+id/usersList"/>
+</LinearLayout>
diff --git a/FirstPage/app/src/main/res/layout/app_bar_navigation.xml b/FirstPage/app/src/main/res/layout/app_bar_navigation.xml
new file mode 100644
index 0000000000000000000000000000000000000000..d3adbc4c7a06611eb3cce012e2e0ba86d1310146
--- /dev/null
+++ b/FirstPage/app/src/main/res/layout/app_bar_navigation.xml
@@ -0,0 +1,35 @@
+<?xml version="1.0" encoding="utf-8"?>
+<android.support.design.widget.CoordinatorLayout xmlns:android="http://schemas.android.com/apk/res/android"
+    xmlns:app="http://schemas.android.com/apk/res-auto"
+    xmlns:tools="http://schemas.android.com/tools"
+    android:layout_width="match_parent"
+    android:layout_height="match_parent"
+    tools:context="tn.cbe.nandhu1296.firstpage.NavigationActivity">
+
+    <android.support.design.widget.AppBarLayout
+        android:layout_width="match_parent"
+        android:layout_height="wrap_content"
+        android:theme="@style/AppTheme.AppBarOverlay">
+
+        <android.support.v7.widget.Toolbar
+            android:id="@+id/toolbar"
+            android:layout_width="match_parent"
+            android:layout_height="?attr/actionBarSize"
+            android:background="?attr/colorPrimary"
+            app:popupTheme="@style/AppTheme.PopupOverlay" />
+
+    </android.support.design.widget.AppBarLayout>
+
+    <android.support.design.widget.FloatingActionButton
+        android:id="@+id/fab"
+        android:layout_width="wrap_content"
+        android:layout_height="wrap_content"
+        android:layout_gravity="bottom|end"
+        android:layout_margin="@dimen/fab_margin"
+        app:srcCompat="@android:drawable/ic_dialog_email" />
+
+    <include
+        android:id="@+id/include"
+        layout="@layout/content_navigation" />
+
+</android.support.design.widget.CoordinatorLayout>
diff --git a/FirstPage/app/src/main/res/layout/content_navigation.xml b/FirstPage/app/src/main/res/layout/content_navigation.xml
new file mode 100644
index 0000000000000000000000000000000000000000..34c22e07964f6eac9a29e041fd59f0d21b8be5d4
--- /dev/null
+++ b/FirstPage/app/src/main/res/layout/content_navigation.xml
@@ -0,0 +1,59 @@
+<?xml version="1.0" encoding="utf-8"?>
+<RelativeLayout xmlns:android="http://schemas.android.com/apk/res/android"
+    xmlns:app="http://schemas.android.com/apk/res-auto"
+    xmlns:tools="http://schemas.android.com/tools"
+    android:layout_width="match_parent"
+    android:layout_height="match_parent"
+    app:layout_behavior="@string/appbar_scrolling_view_behavior"
+    tools:context="tn.cbe.nandhu1296.firstpage.NavigationActivity"
+    tools:showIn="@layout/app_bar_navigation">
+
+
+
+
+    <TextView
+        android:id="@+id/textView4"
+        android:layout_width="wrap_content"
+        android:layout_height="wrap_content"
+        android:layout_weight="1"
+        android:text="what is a garden terrace? "
+        android:layout_alignParentTop="true"
+        android:layout_alignParentStart="true"
+        android:layout_marginTop="17dp" />
+
+    <TextView
+        android:id="@+id/textView6"
+        android:layout_width="wrap_content"
+        android:layout_height="wrap_content"
+        android:layout_marginTop="12dp"
+        android:text="in gardening a terrace is an element where a raised flat pavelled or graved section overlooks a prospect.a raised terrace keeps a house dry and provides a transition between the hard materials of the architecture and softer ones of the garden"
+        android:layout_below="@+id/textView4"
+        android:layout_alignParentStart="true" />
+
+    <ImageView
+        android:id="@+id/imageView2"
+        android:layout_width="wrap_content"
+        android:layout_height="wrap_content"
+        app:srcCompat="@drawable/fp24"
+        android:layout_alignParentBottom="true"
+        android:layout_centerHorizontal="true" />
+
+    <TextView
+        android:id="@+id/textView7"
+        android:layout_width="wrap_content"
+        android:layout_height="wrap_content"
+        android:layout_marginTop="18dp"
+        android:text="do plants grow in artificial light?"
+        android:layout_below="@+id/textView6"
+        android:layout_alignStart="@+id/textView8" />
+
+    <TextView
+        android:id="@+id/textView8"
+        android:layout_width="wrap_content"
+        android:layout_height="wrap_content"
+        android:layout_marginTop="13dp"
+        android:text="sunlight is the prfect balance of wavelengths necessary for plant growth and blooming,but you can also use artificil light to help your plants along only sometimes.infact low light foliage can grow quite nicely in windowless offices with enough artificial light"
+        android:layout_below="@+id/textView7"
+        android:layout_alignStart="@+id/imageView2" />
+</RelativeLayout>
+
diff --git a/FirstPage/app/src/main/res/layout/message_area.xml b/FirstPage/app/src/main/res/layout/message_area.xml
new file mode 100644
index 0000000000000000000000000000000000000000..151a39384352c47ed057d6f64fd2838398981b2e
--- /dev/null
+++ b/FirstPage/app/src/main/res/layout/message_area.xml
@@ -0,0 +1,27 @@
+<?xml version="1.0" encoding="utf-8"?>
+<LinearLayout xmlns:android="http://schemas.android.com/apk/res/android"
+android:layout_width="match_parent"
+android:layout_height="match_parent"
+android:background="@color/colorPrimaryDark"
+android:gravity="bottom"
+android:orientation="horizontal">
+
+<EditText
+    android:layout_width="match_parent"
+    android:layout_height="wrap_content"
+    android:layout_weight="1"
+    android:textColorHint="#CFD8DC"
+    android:textColor="#CFD8DC"
+    android:hint="Write a message..."
+    android:id="@+id/messageArea"
+    android:maxHeight="80dp"
+    />
+
+<ImageView
+    android:layout_width="match_parent"
+    android:layout_height="wrap_content"
+    android:layout_weight="4"
+    android:padding="4dp"
+    android:src="@android:drawable/ic_menu_send"
+    android:id="@+id/sendButton"/>
+</LinearLayout>
\ No newline at end of file
diff --git a/FirstPage/app/src/main/res/layout/nav_header_navigation.xml b/FirstPage/app/src/main/res/layout/nav_header_navigation.xml
new file mode 100644
index 0000000000000000000000000000000000000000..478bf30f8c51c27e071d98f6eca84a5caeefc454
--- /dev/null
+++ b/FirstPage/app/src/main/res/layout/nav_header_navigation.xml
@@ -0,0 +1,35 @@
+<?xml version="1.0" encoding="utf-8"?>
+<LinearLayout xmlns:android="http://schemas.android.com/apk/res/android"
+    xmlns:app="http://schemas.android.com/apk/res-auto"
+    android:layout_width="match_parent"
+    android:layout_height="@dimen/nav_header_height"
+    android:background="@drawable/fp2"
+    android:gravity="bottom"
+    android:orientation="vertical"
+    android:paddingBottom="@dimen/activity_vertical_margin"
+    android:paddingLeft="@dimen/activity_horizontal_margin"
+    android:paddingRight="@dimen/activity_horizontal_margin"
+    android:paddingTop="@dimen/activity_vertical_margin"
+    android:theme="@style/ThemeOverlay.AppCompat.Dark">
+
+    <ImageView
+        android:id="@+id/imageView"
+        android:layout_width="wrap_content"
+        android:layout_height="wrap_content"
+        android:paddingTop="@dimen/nav_header_vertical_spacing"
+        app:srcCompat="@android:drawable/sym_def_app_icon" />
+
+    <TextView
+        android:layout_width="match_parent"
+        android:layout_height="wrap_content"
+        android:paddingTop="@dimen/nav_header_vertical_spacing"
+        android:text="Hello dude"
+        android:textAppearance="@style/TextAppearance.AppCompat.Body1" />
+
+    <TextView
+        android:id="@+id/textView"
+        android:layout_width="wrap_content"
+        android:layout_height="wrap_content"
+        android:text="Welcome To FarmCorp" />
+
+</LinearLayout>
diff --git a/FirstPage/app/src/main/res/menu/activity_navigation_drawer.xml b/FirstPage/app/src/main/res/menu/activity_navigation_drawer.xml
new file mode 100644
index 0000000000000000000000000000000000000000..dc3324dab92c6eb7d90e0bfa27a5ecbfafc11812
--- /dev/null
+++ b/FirstPage/app/src/main/res/menu/activity_navigation_drawer.xml
@@ -0,0 +1,36 @@
+<?xml version="1.0" encoding="utf-8"?>
+<menu xmlns:android="http://schemas.android.com/apk/res/android">
+
+    <group android:checkableBehavior="single">
+        <item
+            android:id="@+id/nav_camera"
+            android:icon="@drawable/ic_action_name1"
+            android:title="Chat_here_online" />
+        <item
+            android:id="@+id/nav_gallery"
+            android:icon="@drawable/ic_action_name2"
+            android:title="if_no_net_sendSMS" />
+        <item
+            android:id="@+id/nav_slideshow"
+            android:icon="@drawable/ic_menu_slideshow"
+            android:title="Go_database" />
+        <item
+            android:id="@+id/nav_manage"
+            android:icon="@drawable/ic_menu_manage"
+            android:title="Pro" />
+    </group>
+
+    <item android:title="Do_you_like_this">
+        <menu>
+            <item
+                android:id="@+id/nav_share"
+                android:icon="@drawable/ic_menu_share"
+                android:title="Share_in_your_feed" />
+            <item
+                android:id="@+id/nav_send"
+                android:icon="@drawable/ic_menu_send"
+                android:title="Rate_app_in_playstore" />
+        </menu>
+    </item>
+
+</menu>
diff --git a/FirstPage/app/src/main/res/menu/main.xml b/FirstPage/app/src/main/res/menu/main.xml
new file mode 100644
index 0000000000000000000000000000000000000000..636a802d0bdd453942cd158e58a544fed4248f89
--- /dev/null
+++ b/FirstPage/app/src/main/res/menu/main.xml
@@ -0,0 +1,17 @@
+<?xml version="1.0" encoding="utf-8"?>
+<menu xmlns:android="http://schemas.android.com/apk/res/android">
+    <item
+        android:id="@+id/action_settings"
+        android:orderInCategory="100"
+        android:title="About us"/>
+
+    <item
+        android:id="@+id/action_settings2"
+        android:orderInCategory="100"
+        android:title="Rate application"/>
+
+    <item
+        android:id="@+id/action_settings3"
+        android:orderInCategory="100"
+        android:title="prefer this to friends"/>
+</menu>
\ No newline at end of file
diff --git a/FirstPage/app/src/main/res/menu/navigation.xml b/FirstPage/app/src/main/res/menu/navigation.xml
new file mode 100644
index 0000000000000000000000000000000000000000..05ad79a0ab43ac4d381b3219575cafd2d231d347
--- /dev/null
+++ b/FirstPage/app/src/main/res/menu/navigation.xml
@@ -0,0 +1,19 @@
+<?xml version="1.0" encoding="utf-8"?>
+<menu xmlns:android="http://schemas.android.com/apk/res/android"
+    xmlns:app="http://schemas.android.com/apk/res-auto">
+    <item
+        android:id="@+id/action_settings"
+        android:orderInCategory="100"
+        android:title="share app"
+        app:showAsAction="never" />
+
+
+    <item
+        android:id="@+id/action_settings2"
+        android:orderInCategory="100"
+        android:title="About us"
+        app:showAsAction="never"/>
+
+
+
+</menu>
diff --git a/FirstPage/app/src/main/res/mipmap-hdpi/fp3.png b/FirstPage/app/src/main/res/mipmap-hdpi/fp3.png
new file mode 100644
index 0000000000000000000000000000000000000000..60848d21a92cdab9b346024a6aeb6f4520fcbc05
Binary files /dev/null and b/FirstPage/app/src/main/res/mipmap-hdpi/fp3.png differ
diff --git a/FirstPage/app/src/main/res/mipmap-hdpi/go_freshicon.png b/FirstPage/app/src/main/res/mipmap-hdpi/go_freshicon.png
new file mode 100644
index 0000000000000000000000000000000000000000..8a8a58a7fd5edef2c46ad1c0a8a517c237ddb388
Binary files /dev/null and b/FirstPage/app/src/main/res/mipmap-hdpi/go_freshicon.png differ
diff --git a/FirstPage/app/src/main/res/mipmap-hdpi/ic_launcher.png b/FirstPage/app/src/main/res/mipmap-hdpi/ic_launcher.png
new file mode 100644
index 0000000000000000000000000000000000000000..8a8a58a7fd5edef2c46ad1c0a8a517c237ddb388
Binary files /dev/null and b/FirstPage/app/src/main/res/mipmap-hdpi/ic_launcher.png differ
diff --git a/FirstPage/app/src/main/res/mipmap-hdpi/ic_launcher_round.png b/FirstPage/app/src/main/res/mipmap-hdpi/ic_launcher_round.png
new file mode 100644
index 0000000000000000000000000000000000000000..9a078e3e1a42d474c78470a73c7987cf7ac5d9a0
Binary files /dev/null and b/FirstPage/app/src/main/res/mipmap-hdpi/ic_launcher_round.png differ
diff --git a/FirstPage/app/src/main/res/mipmap-hdpi/side_icon.png b/FirstPage/app/src/main/res/mipmap-hdpi/side_icon.png
new file mode 100644
index 0000000000000000000000000000000000000000..0bed806c1ed5c878ff46c552383d6050c0aecb45
Binary files /dev/null and b/FirstPage/app/src/main/res/mipmap-hdpi/side_icon.png differ
diff --git a/FirstPage/app/src/main/res/mipmap-mdpi/fp3.png b/FirstPage/app/src/main/res/mipmap-mdpi/fp3.png
new file mode 100644
index 0000000000000000000000000000000000000000..c201e2f749591ce8b7ac51cd53727dc38a66ca05
Binary files /dev/null and b/FirstPage/app/src/main/res/mipmap-mdpi/fp3.png differ
diff --git a/FirstPage/app/src/main/res/mipmap-mdpi/go_freshicon.png b/FirstPage/app/src/main/res/mipmap-mdpi/go_freshicon.png
new file mode 100644
index 0000000000000000000000000000000000000000..d777fdc7729fadee2595f79feae2278e3bdde140
Binary files /dev/null and b/FirstPage/app/src/main/res/mipmap-mdpi/go_freshicon.png differ
diff --git a/FirstPage/app/src/main/res/mipmap-mdpi/ic_launcher.png b/FirstPage/app/src/main/res/mipmap-mdpi/ic_launcher.png
new file mode 100644
index 0000000000000000000000000000000000000000..d777fdc7729fadee2595f79feae2278e3bdde140
Binary files /dev/null and b/FirstPage/app/src/main/res/mipmap-mdpi/ic_launcher.png differ
diff --git a/FirstPage/app/src/main/res/mipmap-mdpi/ic_launcher_round.png b/FirstPage/app/src/main/res/mipmap-mdpi/ic_launcher_round.png
new file mode 100644
index 0000000000000000000000000000000000000000..efc028a636dd690a51db5a525cf781a5a7daba68
Binary files /dev/null and b/FirstPage/app/src/main/res/mipmap-mdpi/ic_launcher_round.png differ
diff --git a/FirstPage/app/src/main/res/mipmap-mdpi/side_icon.png b/FirstPage/app/src/main/res/mipmap-mdpi/side_icon.png
new file mode 100644
index 0000000000000000000000000000000000000000..5097925839642e332df8aed22ff068ab397c3183
Binary files /dev/null and b/FirstPage/app/src/main/res/mipmap-mdpi/side_icon.png differ
diff --git a/FirstPage/app/src/main/res/mipmap-xhdpi/fp3.png b/FirstPage/app/src/main/res/mipmap-xhdpi/fp3.png
new file mode 100644
index 0000000000000000000000000000000000000000..a7592be2d5f1920b7fe878f7276ddc0b53dce6de
Binary files /dev/null and b/FirstPage/app/src/main/res/mipmap-xhdpi/fp3.png differ
diff --git a/FirstPage/app/src/main/res/mipmap-xhdpi/go_freshicon.png b/FirstPage/app/src/main/res/mipmap-xhdpi/go_freshicon.png
new file mode 100644
index 0000000000000000000000000000000000000000..0945e5f220a61375bd8dfc9b132ba26ed7cf26fa
Binary files /dev/null and b/FirstPage/app/src/main/res/mipmap-xhdpi/go_freshicon.png differ
diff --git a/FirstPage/app/src/main/res/mipmap-xhdpi/ic_launcher.png b/FirstPage/app/src/main/res/mipmap-xhdpi/ic_launcher.png
new file mode 100644
index 0000000000000000000000000000000000000000..0945e5f220a61375bd8dfc9b132ba26ed7cf26fa
Binary files /dev/null and b/FirstPage/app/src/main/res/mipmap-xhdpi/ic_launcher.png differ
diff --git a/FirstPage/app/src/main/res/mipmap-xhdpi/ic_launcher_round.png b/FirstPage/app/src/main/res/mipmap-xhdpi/ic_launcher_round.png
new file mode 100644
index 0000000000000000000000000000000000000000..3af2608a4492ef9ae63a77ec3305aedda89594cb
Binary files /dev/null and b/FirstPage/app/src/main/res/mipmap-xhdpi/ic_launcher_round.png differ
diff --git a/FirstPage/app/src/main/res/mipmap-xhdpi/side_icon.png b/FirstPage/app/src/main/res/mipmap-xhdpi/side_icon.png
new file mode 100644
index 0000000000000000000000000000000000000000..7aa53a3b467fca50a8d7e30a79fcaaa65f3d302a
Binary files /dev/null and b/FirstPage/app/src/main/res/mipmap-xhdpi/side_icon.png differ
diff --git a/FirstPage/app/src/main/res/mipmap-xxhdpi/fp3.png b/FirstPage/app/src/main/res/mipmap-xxhdpi/fp3.png
new file mode 100644
index 0000000000000000000000000000000000000000..30309ea3e8a300b378606863ee3697a9d6037943
Binary files /dev/null and b/FirstPage/app/src/main/res/mipmap-xxhdpi/fp3.png differ
diff --git a/FirstPage/app/src/main/res/mipmap-xxhdpi/go_freshicon.png b/FirstPage/app/src/main/res/mipmap-xxhdpi/go_freshicon.png
new file mode 100644
index 0000000000000000000000000000000000000000..b026bed94a5685da0ef65d33f7b72c74c0167b1e
Binary files /dev/null and b/FirstPage/app/src/main/res/mipmap-xxhdpi/go_freshicon.png differ
diff --git a/FirstPage/app/src/main/res/mipmap-xxhdpi/ic_launcher.png b/FirstPage/app/src/main/res/mipmap-xxhdpi/ic_launcher.png
new file mode 100644
index 0000000000000000000000000000000000000000..b026bed94a5685da0ef65d33f7b72c74c0167b1e
Binary files /dev/null and b/FirstPage/app/src/main/res/mipmap-xxhdpi/ic_launcher.png differ
diff --git a/FirstPage/app/src/main/res/mipmap-xxhdpi/ic_launcher_round.png b/FirstPage/app/src/main/res/mipmap-xxhdpi/ic_launcher_round.png
new file mode 100644
index 0000000000000000000000000000000000000000..9bec2e623103ac9713b00cad8502a057c1efda61
Binary files /dev/null and b/FirstPage/app/src/main/res/mipmap-xxhdpi/ic_launcher_round.png differ
diff --git a/FirstPage/app/src/main/res/mipmap-xxhdpi/side_icon.png b/FirstPage/app/src/main/res/mipmap-xxhdpi/side_icon.png
new file mode 100644
index 0000000000000000000000000000000000000000..18c99cb8bbc7830c3c7ebedbfaef7c26953708f6
Binary files /dev/null and b/FirstPage/app/src/main/res/mipmap-xxhdpi/side_icon.png differ
diff --git a/FirstPage/app/src/main/res/mipmap-xxxhdpi/fp3.png b/FirstPage/app/src/main/res/mipmap-xxxhdpi/fp3.png
new file mode 100644
index 0000000000000000000000000000000000000000..0687d46f1014eda98ff65bdf59a43d1a042c9f58
Binary files /dev/null and b/FirstPage/app/src/main/res/mipmap-xxxhdpi/fp3.png differ
diff --git a/FirstPage/app/src/main/res/mipmap-xxxhdpi/go_freshicon.png b/FirstPage/app/src/main/res/mipmap-xxxhdpi/go_freshicon.png
new file mode 100644
index 0000000000000000000000000000000000000000..cd7b59ddceca50db930f332ba68eab9afb47fc6c
Binary files /dev/null and b/FirstPage/app/src/main/res/mipmap-xxxhdpi/go_freshicon.png differ
diff --git a/FirstPage/app/src/main/res/mipmap-xxxhdpi/ic_launcher.png b/FirstPage/app/src/main/res/mipmap-xxxhdpi/ic_launcher.png
new file mode 100644
index 0000000000000000000000000000000000000000..cd7b59ddceca50db930f332ba68eab9afb47fc6c
Binary files /dev/null and b/FirstPage/app/src/main/res/mipmap-xxxhdpi/ic_launcher.png differ
diff --git a/FirstPage/app/src/main/res/mipmap-xxxhdpi/ic_launcher_round.png b/FirstPage/app/src/main/res/mipmap-xxxhdpi/ic_launcher_round.png
new file mode 100644
index 0000000000000000000000000000000000000000..34947cd6bbf9c729be83edc96ad08a1d42b82bc9
Binary files /dev/null and b/FirstPage/app/src/main/res/mipmap-xxxhdpi/ic_launcher_round.png differ
diff --git a/FirstPage/app/src/main/res/mipmap-xxxhdpi/side_icon.png b/FirstPage/app/src/main/res/mipmap-xxxhdpi/side_icon.png
new file mode 100644
index 0000000000000000000000000000000000000000..8ca3a8dff981d9fc027dfc064b43c37132bf9663
Binary files /dev/null and b/FirstPage/app/src/main/res/mipmap-xxxhdpi/side_icon.png differ
diff --git a/FirstPage/app/src/main/res/values/colors.xml b/FirstPage/app/src/main/res/values/colors.xml
new file mode 100644
index 0000000000000000000000000000000000000000..612eb2ccce77ba918d8e55c3677e467afb71e0c7
--- /dev/null
+++ b/FirstPage/app/src/main/res/values/colors.xml
@@ -0,0 +1,13 @@
+<?xml version="1.0" encoding="utf-8"?>
+<resources>
+    <color name="colorPrimary">#3F51B5</color>
+    <color name="colorPrimaryDark">#1c2b8d</color>
+    <color name="colorAccent">#FF4081</color>
+    <color name="qw">#FA8072</color>
+    <color name="qe">#00FF00</color>
+    <color name="we">#52D017</color>
+    <color name="er">#7FE817</color>
+    <color name="white">#FFFFFF</color>
+    <color name="ee">#808080</color>
+    <color name = "yellow">#FFFFE0</color>
+</resources>
diff --git a/FirstPage/app/src/main/res/values/dimens.xml b/FirstPage/app/src/main/res/values/dimens.xml
new file mode 100644
index 0000000000000000000000000000000000000000..8f830eece3f2c4a49bcabdcf84f4edce2abe63cd
--- /dev/null
+++ b/FirstPage/app/src/main/res/values/dimens.xml
@@ -0,0 +1,8 @@
+<resources>
+    <!-- Default screen margins, per the Android Design guidelines. -->
+    <dimen name="activity_horizontal_margin">16dp</dimen>
+    <dimen name="activity_vertical_margin">16dp</dimen>
+    <dimen name="nav_header_vertical_spacing">16dp</dimen>
+    <dimen name="nav_header_height">160dp</dimen>
+    <dimen name="fab_margin">16dp</dimen>
+</resources>
diff --git a/FirstPage/app/src/main/res/values/drawables.xml b/FirstPage/app/src/main/res/values/drawables.xml
new file mode 100644
index 0000000000000000000000000000000000000000..52c6a6c85aeab59eca6a2b4a471f822e913d4195
--- /dev/null
+++ b/FirstPage/app/src/main/res/values/drawables.xml
@@ -0,0 +1,8 @@
+<resources xmlns:android="http://schemas.android.com/apk/res/android">
+    <item name="ic_menu_camera" type="drawable">@android:drawable/ic_menu_camera</item>
+    <item name="ic_menu_gallery" type="drawable">@android:drawable/ic_menu_gallery</item>
+    <item name="ic_menu_slideshow" type="drawable">@android:drawable/ic_menu_slideshow</item>
+    <item name="ic_menu_manage" type="drawable">@android:drawable/ic_menu_manage</item>
+    <item name="ic_menu_share" type="drawable">@android:drawable/ic_menu_share</item>
+    <item name="ic_menu_send" type="drawable">@android:drawable/ic_menu_send</item>
+</resources>
diff --git a/FirstPage/app/src/main/res/values/strings.xml b/FirstPage/app/src/main/res/values/strings.xml
new file mode 100644
index 0000000000000000000000000000000000000000..3e93944acb89bba042e2cb807a8798dffbf85367
--- /dev/null
+++ b/FirstPage/app/src/main/res/values/strings.xml
@@ -0,0 +1,9 @@
+<resources>
+    <string name="app_name">FirstPage</string>
+    <string name="title_activity_navigation">NavigationActivity</string>
+
+    <string name="navigation_drawer_open">Open navigation drawer</string>
+    <string name="navigation_drawer_close">Close navigation drawer</string>
+
+    <string name="action_settings">Settings</string>
+</resources>
diff --git a/FirstPage/app/src/main/res/values/styles.xml b/FirstPage/app/src/main/res/values/styles.xml
new file mode 100644
index 0000000000000000000000000000000000000000..545b9c6d2c45df7938f8ffd5ac2d806dec36f122
--- /dev/null
+++ b/FirstPage/app/src/main/res/values/styles.xml
@@ -0,0 +1,20 @@
+<resources>
+
+    <!-- Base application theme. -->
+    <style name="AppTheme" parent="Theme.AppCompat.Light.DarkActionBar">
+        <!-- Customize your theme here. -->
+        <item name="colorPrimary">@color/colorPrimary</item>
+        <item name="colorPrimaryDark">@color/colorPrimaryDark</item>
+        <item name="colorAccent">@color/colorAccent</item>
+    </style>
+
+    <style name="AppTheme.NoActionBar">
+        <item name="windowActionBar">false</item>
+        <item name="windowNoTitle">true</item>
+    </style>
+
+    <style name="AppTheme.AppBarOverlay" parent="ThemeOverlay.AppCompat.Dark.ActionBar" />
+
+    <style name="AppTheme.PopupOverlay" parent="ThemeOverlay.AppCompat.Light" />
+
+</resources>
diff --git a/FirstPage/app/src/main/side_icon-web.png b/FirstPage/app/src/main/side_icon-web.png
new file mode 100644
index 0000000000000000000000000000000000000000..e5c2e80bd0b5caec01303840ba337e34f01fee80
Binary files /dev/null and b/FirstPage/app/src/main/side_icon-web.png differ
diff --git a/FirstPage/app/src/test/java/tn/cbe/nandhu1296/firstpage/ExampleUnitTest.java b/FirstPage/app/src/test/java/tn/cbe/nandhu1296/firstpage/ExampleUnitTest.java
new file mode 100644
index 0000000000000000000000000000000000000000..9f8624d413970aab4a6d97d499ae7271a91f6523
--- /dev/null
+++ b/FirstPage/app/src/test/java/tn/cbe/nandhu1296/firstpage/ExampleUnitTest.java
@@ -0,0 +1,17 @@
+package tn.cbe.nandhu1296.firstpage;
+
+import org.junit.Test;
+
+import static org.junit.Assert.*;
+
+/**
+ * Example local unit test, which will execute on the development machine (host).
+ *
+ * @see <a href="http://d.android.com/tools/testing">Testing documentation</a>
+ */
+public class ExampleUnitTest {
+    @Test
+    public void addition_isCorrect() throws Exception {
+        assertEquals(4, 2 + 2);
+    }
+}
\ No newline at end of file
diff --git a/FirstPage/build.gradle b/FirstPage/build.gradle
new file mode 100644
index 0000000000000000000000000000000000000000..a0acab93005fe02dba1e47c2f2423a11a5b42130
--- /dev/null
+++ b/FirstPage/build.gradle
@@ -0,0 +1,24 @@
+// Top-level build file where you can add configuration options common to all sub-projects/modules.
+
+buildscript {
+    repositories {
+        jcenter()
+    }
+    dependencies {
+        classpath 'com.android.tools.build:gradle:2.3.1'
+        classpath 'com.google.gms:google-services:3.0.0'
+
+        // NOTE: Do not place your application dependencies here; they belong
+        // in the individual module build.gradle files
+    }
+}
+
+allprojects {
+    repositories {
+        jcenter()
+    }
+}
+
+task clean(type: Delete) {
+    delete rootProject.buildDir
+}
diff --git a/FirstPage/gradle.properties b/FirstPage/gradle.properties
new file mode 100644
index 0000000000000000000000000000000000000000..869e8cea00205d703516e56a4ad10b713bdb4183
--- /dev/null
+++ b/FirstPage/gradle.properties
@@ -0,0 +1,17 @@
+# Project-wide Gradle settings.
+
+# IDE (e.g. Android Studio) users:
+# Gradle settings configured through the IDE *will override*
+# any settings specified in this file.
+
+# For more details on how to configure your build environment visit
+# http://www.gradle.org/docs/current/userguide/build_environment.html
+
+# Specifies the JVM arguments used for the daemon process.
+# The setting is particularly useful for tweaking memory settings.
+org.gradle.jvmargs=-Xmx1024m
+
+# When configured, Gradle will run in incubating parallel mode.
+# This option should only be used with decoupled projects. More details, visit
+# http://www.gradle.org/docs/current/userguide/multi_project_builds.html#sec:decoupled_projects
+# org.gradle.parallel=true
diff --git a/FirstPage/gradle/wrapper/gradle-wrapper.jar b/FirstPage/gradle/wrapper/gradle-wrapper.jar
new file mode 100644
index 0000000000000000000000000000000000000000..13372aef5e24af05341d49695ee84e5f9b594659
Binary files /dev/null and b/FirstPage/gradle/wrapper/gradle-wrapper.jar differ
diff --git a/FirstPage/gradle/wrapper/gradle-wrapper.properties b/FirstPage/gradle/wrapper/gradle-wrapper.properties
new file mode 100644
index 0000000000000000000000000000000000000000..8c04759b664fdcb0def6f5d1fe7d8870f9c596b4
--- /dev/null
+++ b/FirstPage/gradle/wrapper/gradle-wrapper.properties
@@ -0,0 +1,6 @@
+#Thu Apr 20 19:54:21 IST 2017
+distributionBase=GRADLE_USER_HOME
+distributionPath=wrapper/dists
+zipStoreBase=GRADLE_USER_HOME
+zipStorePath=wrapper/dists
+distributionUrl=https\://services.gradle.org/distributions/gradle-3.3-all.zip
diff --git a/FirstPage/gradlew b/FirstPage/gradlew
new file mode 100644
index 0000000000000000000000000000000000000000..9d82f78915133e1c35a6ea51252590fb38efac2f
--- /dev/null
+++ b/FirstPage/gradlew
@@ -0,0 +1,160 @@
+#!/usr/bin/env bash
+
+##############################################################################
+##
+##  Gradle start up script for UN*X
+##
+##############################################################################
+
+# Add default JVM options here. You can also use JAVA_OPTS and GRADLE_OPTS to pass JVM options to this script.
+DEFAULT_JVM_OPTS=""
+
+APP_NAME="Gradle"
+APP_BASE_NAME=`basename "$0"`
+
+# Use the maximum available, or set MAX_FD != -1 to use that value.
+MAX_FD="maximum"
+
+warn ( ) {
+    echo "$*"
+}
+
+die ( ) {
+    echo
+    echo "$*"
+    echo
+    exit 1
+}
+
+# OS specific support (must be 'true' or 'false').
+cygwin=false
+msys=false
+darwin=false
+case "`uname`" in
+  CYGWIN* )
+    cygwin=true
+    ;;
+  Darwin* )
+    darwin=true
+    ;;
+  MINGW* )
+    msys=true
+    ;;
+esac
+
+# Attempt to set APP_HOME
+# Resolve links: $0 may be a link
+PRG="$0"
+# Need this for relative symlinks.
+while [ -h "$PRG" ] ; do
+    ls=`ls -ld "$PRG"`
+    link=`expr "$ls" : '.*-> \(.*\)$'`
+    if expr "$link" : '/.*' > /dev/null; then
+        PRG="$link"
+    else
+        PRG=`dirname "$PRG"`"/$link"
+    fi
+done
+SAVED="`pwd`"
+cd "`dirname \"$PRG\"`/" >/dev/null
+APP_HOME="`pwd -P`"
+cd "$SAVED" >/dev/null
+
+CLASSPATH=$APP_HOME/gradle/wrapper/gradle-wrapper.jar
+
+# Determine the Java command to use to start the JVM.
+if [ -n "$JAVA_HOME" ] ; then
+    if [ -x "$JAVA_HOME/jre/sh/java" ] ; then
+        # IBM's JDK on AIX uses strange locations for the executables
+        JAVACMD="$JAVA_HOME/jre/sh/java"
+    else
+        JAVACMD="$JAVA_HOME/bin/java"
+    fi
+    if [ ! -x "$JAVACMD" ] ; then
+        die "ERROR: JAVA_HOME is set to an invalid directory: $JAVA_HOME
+
+Please set the JAVA_HOME variable in your environment to match the
+location of your Java installation."
+    fi
+else
+    JAVACMD="java"
+    which java >/dev/null 2>&1 || die "ERROR: JAVA_HOME is not set and no 'java' command could be found in your PATH.
+
+Please set the JAVA_HOME variable in your environment to match the
+location of your Java installation."
+fi
+
+# Increase the maximum file descriptors if we can.
+if [ "$cygwin" = "false" -a "$darwin" = "false" ] ; then
+    MAX_FD_LIMIT=`ulimit -H -n`
+    if [ $? -eq 0 ] ; then
+        if [ "$MAX_FD" = "maximum" -o "$MAX_FD" = "max" ] ; then
+            MAX_FD="$MAX_FD_LIMIT"
+        fi
+        ulimit -n $MAX_FD
+        if [ $? -ne 0 ] ; then
+            warn "Could not set maximum file descriptor limit: $MAX_FD"
+        fi
+    else
+        warn "Could not query maximum file descriptor limit: $MAX_FD_LIMIT"
+    fi
+fi
+
+# For Darwin, add options to specify how the application appears in the dock
+if $darwin; then
+    GRADLE_OPTS="$GRADLE_OPTS \"-Xdock:name=$APP_NAME\" \"-Xdock:icon=$APP_HOME/media/gradle.icns\""
+fi
+
+# For Cygwin, switch paths to Windows format before running java
+if $cygwin ; then
+    APP_HOME=`cygpath --path --mixed "$APP_HOME"`
+    CLASSPATH=`cygpath --path --mixed "$CLASSPATH"`
+    JAVACMD=`cygpath --unix "$JAVACMD"`
+
+    # We build the pattern for arguments to be converted via cygpath
+    ROOTDIRSRAW=`find -L / -maxdepth 1 -mindepth 1 -type d 2>/dev/null`
+    SEP=""
+    for dir in $ROOTDIRSRAW ; do
+        ROOTDIRS="$ROOTDIRS$SEP$dir"
+        SEP="|"
+    done
+    OURCYGPATTERN="(^($ROOTDIRS))"
+    # Add a user-defined pattern to the cygpath arguments
+    if [ "$GRADLE_CYGPATTERN" != "" ] ; then
+        OURCYGPATTERN="$OURCYGPATTERN|($GRADLE_CYGPATTERN)"
+    fi
+    # Now convert the arguments - kludge to limit ourselves to /bin/sh
+    i=0
+    for arg in "$@" ; do
+        CHECK=`echo "$arg"|egrep -c "$OURCYGPATTERN" -`
+        CHECK2=`echo "$arg"|egrep -c "^-"`                                 ### Determine if an option
+
+        if [ $CHECK -ne 0 ] && [ $CHECK2 -eq 0 ] ; then                    ### Added a condition
+            eval `echo args$i`=`cygpath --path --ignore --mixed "$arg"`
+        else
+            eval `echo args$i`="\"$arg\""
+        fi
+        i=$((i+1))
+    done
+    case $i in
+        (0) set -- ;;
+        (1) set -- "$args0" ;;
+        (2) set -- "$args0" "$args1" ;;
+        (3) set -- "$args0" "$args1" "$args2" ;;
+        (4) set -- "$args0" "$args1" "$args2" "$args3" ;;
+        (5) set -- "$args0" "$args1" "$args2" "$args3" "$args4" ;;
+        (6) set -- "$args0" "$args1" "$args2" "$args3" "$args4" "$args5" ;;
+        (7) set -- "$args0" "$args1" "$args2" "$args3" "$args4" "$args5" "$args6" ;;
+        (8) set -- "$args0" "$args1" "$args2" "$args3" "$args4" "$args5" "$args6" "$args7" ;;
+        (9) set -- "$args0" "$args1" "$args2" "$args3" "$args4" "$args5" "$args6" "$args7" "$args8" ;;
+    esac
+fi
+
+# Split up the JVM_OPTS And GRADLE_OPTS values into an array, following the shell quoting and substitution rules
+function splitJvmOpts() {
+    JVM_OPTS=("$@")
+}
+eval splitJvmOpts $DEFAULT_JVM_OPTS $JAVA_OPTS $GRADLE_OPTS
+JVM_OPTS[${#JVM_OPTS[*]}]="-Dorg.gradle.appname=$APP_BASE_NAME"
+
+exec "$JAVACMD" "${JVM_OPTS[@]}" -classpath "$CLASSPATH" org.gradle.wrapper.GradleWrapperMain "$@"
diff --git a/FirstPage/gradlew.bat b/FirstPage/gradlew.bat
new file mode 100644
index 0000000000000000000000000000000000000000..8a0b282aa6885fb573c106b3551f7275c5f17e8e
--- /dev/null
+++ b/FirstPage/gradlew.bat
@@ -0,0 +1,90 @@
+@if "%DEBUG%" == "" @echo off
+@rem ##########################################################################
+@rem
+@rem  Gradle startup script for Windows
+@rem
+@rem ##########################################################################
+
+@rem Set local scope for the variables with windows NT shell
+if "%OS%"=="Windows_NT" setlocal
+
+@rem Add default JVM options here. You can also use JAVA_OPTS and GRADLE_OPTS to pass JVM options to this script.
+set DEFAULT_JVM_OPTS=
+
+set DIRNAME=%~dp0
+if "%DIRNAME%" == "" set DIRNAME=.
+set APP_BASE_NAME=%~n0
+set APP_HOME=%DIRNAME%
+
+@rem Find java.exe
+if defined JAVA_HOME goto findJavaFromJavaHome
+
+set JAVA_EXE=java.exe
+%JAVA_EXE% -version >NUL 2>&1
+if "%ERRORLEVEL%" == "0" goto init
+
+echo.
+echo ERROR: JAVA_HOME is not set and no 'java' command could be found in your PATH.
+echo.
+echo Please set the JAVA_HOME variable in your environment to match the
+echo location of your Java installation.
+
+goto fail
+
+:findJavaFromJavaHome
+set JAVA_HOME=%JAVA_HOME:"=%
+set JAVA_EXE=%JAVA_HOME%/bin/java.exe
+
+if exist "%JAVA_EXE%" goto init
+
+echo.
+echo ERROR: JAVA_HOME is set to an invalid directory: %JAVA_HOME%
+echo.
+echo Please set the JAVA_HOME variable in your environment to match the
+echo location of your Java installation.
+
+goto fail
+
+:init
+@rem Get command-line arguments, handling Windowz variants
+
+if not "%OS%" == "Windows_NT" goto win9xME_args
+if "%@eval[2+2]" == "4" goto 4NT_args
+
+:win9xME_args
+@rem Slurp the command line arguments.
+set CMD_LINE_ARGS=
+set _SKIP=2
+
+:win9xME_args_slurp
+if "x%~1" == "x" goto execute
+
+set CMD_LINE_ARGS=%*
+goto execute
+
+:4NT_args
+@rem Get arguments from the 4NT Shell from JP Software
+set CMD_LINE_ARGS=%$
+
+:execute
+@rem Setup the command line
+
+set CLASSPATH=%APP_HOME%\gradle\wrapper\gradle-wrapper.jar
+
+@rem Execute Gradle
+"%JAVA_EXE%" %DEFAULT_JVM_OPTS% %JAVA_OPTS% %GRADLE_OPTS% "-Dorg.gradle.appname=%APP_BASE_NAME%" -classpath "%CLASSPATH%" org.gradle.wrapper.GradleWrapperMain %CMD_LINE_ARGS%
+
+:end
+@rem End local scope for the variables with windows NT shell
+if "%ERRORLEVEL%"=="0" goto mainEnd
+
+:fail
+rem Set variable GRADLE_EXIT_CONSOLE if you need the _script_ return code instead of
+rem the _cmd.exe /c_ return code!
+if  not "" == "%GRADLE_EXIT_CONSOLE%" exit 1
+exit /b 1
+
+:mainEnd
+if "%OS%"=="Windows_NT" endlocal
+
+:omega
diff --git a/FirstPage/settings.gradle b/FirstPage/settings.gradle
new file mode 100644
index 0000000000000000000000000000000000000000..e7b4def49cb53d9aa04228dd3edb14c9e635e003
--- /dev/null
+++ b/FirstPage/settings.gradle
@@ -0,0 +1 @@
+include ':app'