Login or sign up Lost password?
Login or sign up
*/ public class Connection Class Now open the Main class file and declare following variables : Create(saved Instance State); set Content View(R.layout.activity_main); connection Class = new Connection Class();  //the class file edtuserid = (Edit Text) find View By Id(edtuserid); edtpass = (Edit Text) find View By Id(edtpass); btnlogin = (Button) find View By Id(btnlogin); pbbar = (Progress Bar) find View By Id(pbbar); Visibility(View.