@@ -0,0 +1,1994 @@
+package com.example.karthika.connect;%0A%0Aimport android.support.v7.app.AppCompatActivity;%0Aimport android.os.Bundle;%0Aimport android.support.v7.widget.Toolbar;%0Aimport android.view.Menu;%0Aimport android.view.MenuItem;%0Aimport android.view.View;%0Aimport android.widget.EditText;%0Aimport android.widget.RatingBar;%0Aimport android.widget.Toast;%0A%0Apublic class rating extends AppCompatActivity %7B%0Aprivate Toolbar toolbar;%0A    @Override%0A    protected void onCreate(Bundle savedInstanceState) %7B%0A        super.onCreate(savedInstanceState);%0A        setContentView(R.layout.activity_rating);%0A        toolbar=(Toolbar)findViewById(R.id.tool_bar);%0A        setSupportActionBar(toolbar);%0A        Constants.addToActivityStack(this);%0A    %7D%0A%0A    @Override%0A    public boolean onCreateOptionsMenu(Menu menu) %7B%0A        // Inflate the menu; this adds items to the action bar if it is present.%0A        getMenuInflater().inflate(R.menu.menu_rating, menu);%0A        return true;%0A    %7D%0A%0A    @Override%0A    public boolean onOptionsItemSelected(MenuItem item) %7B%0A        // Handle action bar item clicks here. The action bar will%0A        // automatically handle clicks on the Home/Up button, so long%0A        // as you specify a parent activity in AndroidManifest.xml.%0A        int id = item.getItemId();%0A%0A        //noinspection SimplifiableIfStatement%0A        if (id == R.id.action_logout) %7B%0A            Constants.killAllExcept(null);%0A        %7D%0A%0A        return super.onOptionsItemSelected(item);%0A    %7D%0A    public void done(View view)%0A    %7B%0A        int duration = Toast.LENGTH_SHORT;%0A        float i;%0A//        if(cid exist)%0A        EditText e1=(EditText)findViewById(R.id.cid);%0A        RatingBar rb= (RatingBar)findViewById(R.id.ratingBar);%0A        i=rb.getRating();%0A        Toast toast = Toast.makeText(getApplicationContext(),Float.toString(i), duration);%0A        toast.show();%0A        finish();%0A//        elseToast toast = Toast.makeText(getApplicationContext(), %22Check your connectionID%22, duration);%0A//        toast.show();%0A    %7D%0A%7D%0A

Create rating.java