0% found this document useful (0 votes)
165 views100 pages

Larning Apllication Karan&Pradip12

Uploaded by

Karansing Rajput
Copyright
© © All Rights Reserved
We take content rights seriously. If you suspect this is your content, claim it here.
Available Formats
Download as DOCX, PDF, TXT or read online on Scribd
0% found this document useful (0 votes)
165 views100 pages

Larning Apllication Karan&Pradip12

Uploaded by

Karansing Rajput
Copyright
© © All Rights Reserved
We take content rights seriously. If you suspect this is your content, claim it here.
Available Formats
Download as DOCX, PDF, TXT or read online on Scribd
You are on page 1/ 100

DR.

BABASAHEB AMBEDKAR MARATHWADA


UNIVERSITY, AURANGABAD
PROJECT

ON

“LEARNING APP”
A project is submitted in the fulfillment of the requirement for the award
of the degree of bachelor of computer science.

 Submitted by

Mr. PRADIP BHAGCHAND MURHADE

Mr. KARAN GOKULSING BENDARWAL

                                                  (BCS III year)


 Guided by

Prof.Laxmi D. Mutyal
Assitant.professor

Dept. of Computer science.

Vidyadhan College Aurangabad.

Submitted to

TirupatiShikshanPrasarakVaSevaBhaviSanstha’s

VIDYADHAN COLLEGE, AURANGABAD.

2021-2022
VIDYADHAN COLLEGE AURANGABAD

CERTIFICATE
 
 

This is to certify that the project entitled “LEARNING APP”


has been submitted by PRADIP BHAGCHAND MURHADE,
KARAN GOKULSING BHENDARWAL (BCS III year) as per the
requirement of Dr.BabasahebAmbedkarMarathwada University,
Aurangabad. As per partial fulfillment of the requirement for the
award of the degree of bachelor of computer science in the
academic year of 2021-2022.

 
 Guided by
 Prof.Laxmi D. Mutyal

(Head of the department)    Principal

Prof.Laxmi D. Mutyal                Dr. M.S. Sable 

Internal External
DECLARATION
 

I PradipBhagchand Murhade, Karan Gokulsing Bhendarwal Hereby


declare that project “LEARNING APP” is prepared under the guidance
of the faculty guide Prof.LaxmiD.Mutyal.

In partial fulfillment of the requirement for degree bachelor of computer


science from Dr.BabasahebAmbedkarMarathwadaUniversity.I further
declare that this project prepared by me is not copied from other sources
and project done by me is genuine work.

                                                 

(Head of the department)

Mr. PRADIP BHAGCHAND MURHADE

                                      Mr. KARAN GOKULSING BHENDARWAL 

                                                                        BCS III year

                                                                      Date…/…/2022
ACKNOWLEDGMENT
It is my pleasure to presenting this project partial fulfillment of bachelor
of computer science. I wish to give special thanks for the opportunity to
all those people who directly and indirectly helped me in completing my
project successfully.

We would like to express our sincere gratitude to Prof. Laxmi D.


Mutyal for their guidance, valuable support to this project. We sincerely
thanks to our HOD Prof.Laxmi D. Mutyal for the help and
encouragement in carrying out this project work. We are also thankful to
our Principle Dr. M.S. Sable sir for providing infrastructure Support.

I am thankful to the director of my college teachers helped and guide me


by providing their valuable suggestions at every stage for this project.

Mr. PRADIP BHAGCHAND MURHADE

                                      Mr. KARAN GOKULSING BHENDARWAL 

                                             BCS III year 

          Date…/…/2022

 
 Coding

1. Login Page:

package com.scorpionsting.bhimsingrajput.learningappfinal;import
android.support.v7.app.AppCompatActivity;
import android.os.Bundle;
import android.content.Intent;
import android.support.annotation.NonNull;
import android.text.TextUtils;
import android.view.View;
import android.widget.Button;
import android.widget.EditText;
import android.widget.ProgressBar;
import android.widget.Toast;
import com.google.android.gms.tasks.OnCompleteListener;
import com.google.android.gms.tasks.Task;
import com.google.firebase.auth.AuthResult;
import com.google.firebase.auth.FirebaseAuth;
public class LoginActivity extends AppCompatActivity {

private EditText inputEmail, inputPassword;


private FirebaseAuth auth;
private ProgressBar progressBar;
private Button btnSignup, btnLogin, btnReset;

@Override
protected void onCreate(Bundle savedInstanceState) {
super.onCreate(s
avedInstanceStat
e);
setContentView(R.layout.activity_login);
//Get Firebase auth instance
auth = FirebaseAuth.getInstance();

if (auth.getCurrentUser() != null) {
startActivity(new Intent(LoginActivity.this, MainActivity.class));
finish();
}

setContentView(R.layout.activity_login);
inputEmail = (EditText) findViewById(R.id.email);
inputPassword = (EditText) findViewById(R.id.password);
progressBar = (ProgressBar) findViewById(R.id.progressBar);
btnSignup = (Button) findViewById(R.id.btn_signup);
btnLogin = (Button) findViewById(R.id.btn_login);
btnReset = (Button) findViewById(R.id.btn_reset_password);

//Get Firebase auth instance


auth = FirebaseAuth.getInstance();

btnSignup.setOnClickListener(new View.OnClickListener() {
@Override
public void onClick(View v) {
startActivity(new Intent(LoginActivity.this, SignupActivity.class));
}
});

btnReset.setOnClickListener(new View.OnClickListener() {
@Override
public void onClick(View v) {
startActivity(new Intent(LoginActivity.this,
PasswordResetActivity.class));
}
});

btnLogin.setOnClickListener(new View.OnClickListener() {
@Override
public void onClick(View v) {
String email = inputEmail.getText().toString();
final String password = inputPassword.getText().toString();

if (TextUtils.isEmpty(email)) {
Toast.makeText(getApplicationContext(), "Enter email address!",
Toast.LENGTH_SHORT).show();
return;
}

if (TextUtils.isEmpty(password)) {
Toast.makeText(getApplicationContext(), "Enter password!",
Toast.LENGTH_SHORT).show();
return;
}

progressBar.setVisibility(View.VISIBLE);

//authenticate user
auth.signInWithEmailAndPassword(email, password)
.addOnCompleteListener(LoginActivity.this, new
OnCompleteListener<AuthResult>() {
@Override
public void onComplete(@NonNull Task<AuthResult> task) {
// If sign in fails, display a message to the user. If sign in succeeds
// the auth state listener will be notified and logic to handle the
// signed in user can be handled in the listener.
progressBar.setVisibility(View.GONE);
if (!task.isSuccessful()) {
// there was an error
if (password.length() < 6) {
inputPassword.setError(getString(R.string.minimum_password));
} else {
Toast.makeText(LoginActivity.this, getString(R.string.auth_failed),
Toast.LENGTH_LONG).show();
}
} else {
Intent intent = new Intent(LoginActivity.this, MainActivity.class);
startActivity(intent);
finish();
}
}
});
}
});
}
}
II) Activity Login:

<?xml version="1.0" encoding="UTF-8"?>


<android.support.constraint.ConstraintLayout tools:context=".LoginActivity"
android:layout_height="match_parent"
android:layout_width="match_parent"
xmlns:tools="http://schemas.android.com/tools"
xmlns:app="http://schemas.android.com/apk/res-auto"
xmlns:android="http://schemas.android.com/apk/res/android"><LinearLayo
ut android:layout_height="fill_parent" android:layout_width="fill_parent"
android:padding="@dimen/activity_horizontal_margin"
android:orientation="vertical" android:gravity="center"
android:background="@drawable/back1"><ImageView
android:layout_height="@dimen/logo_w_h"
android:layout_width="@dimen/logo_w_h"
tools:ignore="ContentDescription" android:contentDescription=""
android:src="@mipmap/ic_launcher" android:layout_marginBottom="30dp"
android:layout_gravity="center_horizontal"/><EditText
android:layout_height="wrap_content"
android:layout_width="match_parent" android:layout_marginBottom="10dp"
android:textColorHint="@android:color/white"
android:textColor="@android:color/white"
android:inputType="textEmailAddress" android:hint="@string/hint_email"
android:id="@+id/email"/><EditText android:layout_height="wrap_content"
android:layout_width="fill_parent" android:layout_marginBottom="10dp"
android:textColorHint="@android:color/white"
android:textColor="@android:color/white"
android:inputType="textPassword" android:hint="@string/hint_password"
android:id="@+id/password"/>
<!-- Login Button -->
<Button android:layout_height="wrap_content"
android:layout_width="fill_parent"
android:background="@color/colorAccent"
android:textColor="@android:color/black" android:id="@+id/btn_login"
android:text="@string/btn_login"
android:layout_marginTop="20dip"/><Button
android:layout_height="wrap_content" android:layout_width="fill_parent"
android:background="@null" android:textColor="@color/colorAccent"
android:id="@+id/btn_reset_password"
android:text="@string/btn_forgot_password"
android:layout_marginTop="20dip" android:textAllCaps="false"/>
<!-- Link to Login Screen -->
<Button android:layout_height="wrap_content"
android:layout_width="fill_parent" android:background="@null"
tools:ignore="SpUsage" android:textColor="@color/white"
android:id="@+id/btn_signup" android:text="@string/btn_link_to_register"
android:layout_marginTop="20dip" android:textAllCaps="false"
android:textSize="15dp"/></LinearLayout><ProgressBar
android:layout_height="100dp" android:layout_width="100dp"
tools:ignore="MissingConstraints" android:layout_gravity="center|bottom"
android:id="@+id/progressBar" tools:layout_editor_absoluteY="162dp"
tools:layout_editor_absoluteX="142dp"
android:visibility="gone"/></android.support.constraint.ConstraintLayout>

2) Main Page Coding :

package com.scorpionsting.bhimsingrajput.learningappfinal;

import android.content.Intent;
import android.support.v7.app.AppCompatActivity;
import android.os.Bundle;
import android.view.Menu;
import android.view.MenuInflater;
import android.view.View;
import android.widget.AdapterView;
import android.widget.ListView;
import android.view.MenuItem;
import com.google.firebase.auth.FirebaseAuth;

public class MainActivity extends AppCompatActivity {

public boolean onCreateOptionsMenu(Menu menu) {


MenuInflater inflater = getMenuInflater();
inflater.inflate(R.menu.menu, menu);
return true;
}
public boolean onOptionsItemSelected(MenuItem item) {
int id = item.getItemId();
if (id == R.id.about) {
Intent intent = new Intent(this,about.class);
this.startActivity(intent);
return true;
}
if (id == R.id.contact) {
Intent intent = new Intent(this,contact.class);
this.startActivity(intent):
return true;}
if (id==R.id.logout1)
logOut();
return true;
}
private void logOut() {
FirebaseAuth.getInstance().signOut();
Intent i = new Intent(MainActivity.this, LoginActivity.class);
i.setFlags(Intent.FLAG_ACTIVITY_CLEAR_TOP |
Intent.FLAG_ACTIVITY_CLEAR_TASK |
Intent.FLAG_ACTIVITY_NEW_TASK); startActivity(i);
}
ListView list;
String[] itemname = {"SYLLABUS", "NOTES", "COMPLETE COURSE",
"TEXTBOOK", "QUESTION PAPERS", "PLACEMENT"};
Integer[] imgid = {
R.drawable.syllabus1,
R.drawable.note,
R.drawable.cc,
R.drawable.textbook,
R.drawable.qp1,
R.drawable.placement,
};
@Override
protected void onCreate(Bundle savedInstanceState) {
super.onCreate(savedInstanceState);
setContentView(R.layout.activity_main);
Adapter adapter = new Adapter(this, itemname, imgid);
list = (ListView) findViewById(R.id.list);
list.setAdapter(adapter);
list.setOnItemClickListener(new AdapterView.OnItemClickListener() {

@Override
public void onItemClick(AdapterView<?> parent, View view, int
position, long id) {

if (position == 0) {
Intent intent = new Intent(view.getContext(), Syllabus.class);
startActivityForResult(intent, 0);
}
if (position == 1) {
Intent intent = new Intent(view.getContext(), notes.class);
startActivityForResult(intent, 1);
}
if (position == 2) {
Intent intent = new Intent(view.getContext(), cc.class);
startActivityForResult(intent, 2);
}
if (position == 3) {
Intent intent = new Intent(view.getContext(), textbook.class);
startActivityForResult(intent, 3);

}
if (position == 4) {
Intent intent = new Intent(view.getContext(), qp.class);
startActivityForResult(intent, 4);

if (position == 5) {
Intent intent = new Intent(view.getContext(), placement.class);
startActivityForResult(intent, 5);
}
//String Slecteditem= itemname[+position];
//Toast.makeText(getApplicationContext(), Slecteditem,
Toast.LENGTH_SHORT). }
}}}}

II) Activity Coding:

<?xml version="1.0" encoding="UTF-8"?>


<android.support.constraint.ConstraintLayout
tools:context=".MainActivity" android:layout_height="match_parent"
android:layout_width="match_parent"
xmlns:tools="http://schemas.android.com/tools"
xmlns:app="http://schemas.android.com/apk/res-auto"
xmlns:android="http://schemas.android.com/apk/res/android"><Relat
iveLayout tools:context=".MainActivity"
android:layout_height="match_parent"
android:layout_width="match_parent"
xmlns:tools="http://schemas.android.com/tools"
xmlns:app="http://schemas.android.com/apk/res-auto"
xmlns:android="http://schemas.android.com/apk/res/android"
android:background="@drawable/back"
android:id="@+id/activity_main"><RelativeLayout
android:layout_height="match_parent"
android:layout_width="match_parent"></RelativeLayout><ListView
android:layout_height="wrap_content"
android:layout_width="wrap_content" android:id="@+id/list"
android:dividerHeight="5px" android:layout_marginLeft="0dp"
android:layout_marginStart="0dp"
android:layout_alignParentTop="true"
android:layout_alignParentLeft="true"
android:layout_alignParentStart="true"/></RelativeLayout></android.su
pport.constraint.ConstraintLayout
3) Adapter Coding:

package com.scorpionsting.bhimsingrajput.learningappfinal
import android.app.Activity;
import android.view.LayoutInflater;
import android.view.Vie
import android.view.ViewGroup;
import android.widget.ArrayAdapter;
import android.widget.ImageView;
import android.widget.TextView;

public class Adapter extends ArrayAdapter<String> {

private final Activity context;


private final String[] itemname;
private final Integer[] imgid;

public Adapter(Activity context, String[] itemname, Integer[] imgid) {


super(context, R.layout.mylist, itemname);
// TODO Auto-generated constructor stub

this.context=context;
this.itemname=itemname;
this.imgid=imgid;
}

public View getView(int position, View view, ViewGroup parent) {


LayoutInflater inflater=context.getLayoutInflater();
View rowView=inflater.inflate(R.layout.mylist, null,true);

TextView txtTitle = (TextView) rowView.findViewById(R.id.item);


ImageView imageView = (ImageView)
rowView.findViewById(R.id.icon);

txtTitle.setText(itemname[position]);
imageView.setImageResource(imgid[position]);
return rowView;

};}
4) About Page Coding:

package com.scorpionsting.bhimsingrajput.learningappfinal;

import android.os.Bundle;
import android.support.v7.app.AppCompatActivity;

public class about extends AppCompatActivity {

@Override
protected void onCreate(Bundle savedInstanceState) {
super.onCreate(savedInstanceState);
setContentView(R.layout.activity_about);
}
}
II) Activity Page Coding:

<?xml version="1.0" encoding="UTF-8"?>


<RelativeLayout android:background="@drawable/back1"
tools:context=".about" android:layout_height="match_parent"
android:layout_width="match_parent"
xmlns:tools="http://schemas.android.com/tools"
xmlns:app="http://schemas.android.com/apk/res-auto"
xmlns:android="http://schemas.android.com/apk/res/android"><Imag
eView android:layout_height="@dimen/logo_w_h"
android:layout_width="@dimen/logo_w_h"
android:src="@mipmap/ic_launcher"
android:contentDescription="Null"
android:layout_marginBottom="30dp"
android:layout_marginTop="100dp"
android:layout_marginLeft="147dp"
android:layout_marginStart="147dp"
android:layout_alignParentLeft="true"
android:layout_alignParentStart="true"/><TextView
android:layout_height="47dp" android:layout_width="166dp"
android:layout_marginTop="227dp" android:textSize="25sp"
android:text="Learning App" android:layout_marginRight="102dp"
android:layout_marginEnd="102dp"
android:gravity="center_horizontal"
android:layout_alignParentRight="true"
android:layout_alignParentEnd="true"
android:layout_alignParentTop="true"
android:id="@+id/textView"/><TextView
android:layout_height="wrap_content" android:layout_width="92dp"
android:layout_marginBottom="188dp"
android:layout_marginLeft="41dp" android:textSize="15sp"
android:text="Version 1.0" android:gravity="center_horizontal"
android:id="@+id/textView2"
android:layout_alignParentBottom="true"
android:layout_alignLeft="@+id/textView"/><TextView
android:layout_height="wrap_content" android:layout_width="240dp"
android:layout_marginBottom="45dp" android:text="© Learning App
All Rights Reserved" android:layout_marginRight="60dp"
android:layout_marginEnd="60dp"
android:gravity="center_horizontalandroid:layout_alignParentRight="tr
ue" android:layout_alignParentEnd="true"
android:id="@+id/textView3"
android:layout_alignParentBottom="true"/></RelativeLayout>

5) Contact Coding:

package com.scorpionsting.bhimsingrajput.learningappfinal;

import android.app.Activity;
import android.content.Intent;
import android.os.Bundle;
import android.support.v7.app.AppCompatActivity;
import android.text.TextUtils;
import android.view.View;
import android.widget.Button;
import android.widget.EditText;
import java.util.regex.Matcher;
import java.util.regex.Pattern;

public class contact extends AppCompatActivity {

private Activity activity;

@Override
protected void onCreate(Bundle savedInstanceState) {
super.onCreate(savedInstanceState);
setContentView(R.layout.activity_contact);

final EditText your_name = (EditText)


findViewById(R.id.your_name);
final EditText your_email = (EditText)
findViewById(R.id.your_email);
final EditText your_subject = (EditText)
findViewById(R.id.your_subject);
final EditText your_message = (EditText)
findViewById(R.id.your_message);
Button email = (Button) findViewById(R.id.post_message);
email.setOnClickListener(new View.OnClickListener() {
@Override
public void onClick(View v) {

String name = your_name.getText().toString();


String email = your_email.getText().toString();
String subject = your_subject.getText().toString();
String message = your_message.getText().toString();
if (TextUtils.isEmpty(name)){
your_name.setError("Enter Your Name");
your_name.requestFocus();
return;
}

Boolean onError = false;


if (!isValidEmail(email)) {
onError = true;
your_email.setError("Invalid Email");
return;
}

if (TextUtils.isEmpty(subject)){
your_subject.setError("Enter Your Subject");
your_subject.requestFocus();
return;
}

if (TextUtils.isEmpty(message)){
your_message.setError("Enter Your Message");
your_message.requestFocus();
return;
}

Intent sendEmail = new Intent(android.content.Intent.ACTION_SEND);

/* Fill it with Data */


sendEmail.setType("plain/text");
sendEmail.putExtra(android.content.Intent.EXTRA_EMAIL, new
String[]{"[email protected]"});
sendEmail.putExtra(android.content.Intent.EXTRA_SUBJECT, subject);
sendEmail.putExtra(android.content.Intent.EXTRA_TEXT,
"name:"+name+'\n'+"Email ID:"+email+'\n'+"Message:"+'\n'+message);

/* Send it off to the Activity-Chooser */


startActivity(Intent.createChooser(sendEmail, "Send mail..."));

}
});
}

@Override
public void onResume() {
super.onResume();
//Get a Tracker (should auto-report)

@Override
protected void onStart() {
super.onStart();

@Override
protected void onStop() {
super.onStop();
}

// validating email id
private boolean isValidEmail(String email) {
String EMAIL_PATTERN = "^[_A-Za-z0-9-\\+]+(\\.[_A-Za-z0-9-]
+)*@"
+ "[A-Za-z0-9-]+(\\.[A-Za-z0-9]+)*(\\.[A-Za-z]{2,})$";
Pattern pattern = Pattern.compile(EMAIL_PATTERN);
Matcher matcher = pattern.matcher(email);
return matcher.matches();
}}

II) Activity Coding:

<?xml version="1.0" encoding="UTF-8"?>


<android.support.constraint.ConstraintLayout tools:context=".contact"
android:layout_height="match_parent"
android:layout_width="match_parent"
xmlns:tools="http://schemas.android.com/tools"
xmlns:app="http://schemas.android.com/apk/res-auto"
xmlns:android="http://schemas.android.com/apk/res/android"><Scrol
lView android:layout_height="match_parent"
android:layout_width="match_parent" app:layout_behavior="Vertical"
android:background="@drawable/back1"><LinearLayout
android:layout_height="wrap_content"
android:layout_width="match_parent"
android:orientation="vertical"><TextView
android:layout_height="wrap_content" android:layout_width="405dp"
android:textSize="12sp" android:textColor="#fff"
android:textAllCaps="true"
android:text="@string/contact_form_name"/><EditText
android:layout_height="38dp" android:layout_width="fill_parent"
android:textSize="14sp" android:singleLine="true"
android:inputType="text" android:layout_marginBottom="20dp"
android:id="@+id/your_name"/><TextView
android:layout_height="wrap_content"
android:layout_width="fill_parent" android:textSize="12sp"
android:textColor="#fff" android:textAllCaps="true"
android:text="@string/contact_form_email"
android:paddingLeft="3dp"/><EditText android:layout_height="38dp"
android:layout_width="fill_parent" android:textSize="14sp"
android:singleLine="true" android:inputType="textEmailAddress"
android:layout_marginBottom="20dp"
android:id="@+id/your_email"/><TextView
android:layout_height="wrap_content"
android:layout_width="fill_parent" android:textSize="12sp"
android:textColor="#fff" android:textAllCaps="true"
android:text="@string/contact_form_subject"
android:paddingLeft="3dp"/><EditText android:layout_height="38dp"
android:layout_width="fill_parent" android:textSize="14sp"
android:singleLine="true" android:inputType="text"
android:layout_marginBottom="20dp"
android:id="@+id/your_subject"/><TextView
android:layout_height="32dp" android:layout_width="fill_parent"
android:textSize="12sp" android:textColor="#fff"
android:textAllCaps="true"
android:text="@string/contact_form_message"
android:paddingLeft="3dp"/><EditText
android:layout_height="wrap_content"
android:layout_width="fill_parent" android:textSize="14sp"
android:inputType="textMultiLine"
android:layout_marginBottom="20dp"
android:id="@+id/your_message" android:gravity="top"
android:height="180dp"/><Button android:layout_height="32dp"
android:layout_width="wrap_content" android:background="#000"
android:textSize="13sp" android:textColor="@android:color/white"
android:textAllCaps="true"
android:text="@string/contact_form_button"
android:id="@+id/post_message" android:paddingLeft="15dp"
android:paddingTop="1dp" android:paddingRight="15dp"
android:paddingBottom="1dp
android:layout_gravity="center"/></LinearLayout></ScrollView></
android.support.constraint.ConstraintLayout>
6) Link Page Coding:

package com.scorpionsting.bhimsingrajput.learningappfinal;
import android.content.Intent;
import android.net.Uri;
import android.os.Bundle;
import android.support.v7.app.AppCompatActivity;
import android.view.View;

public class cc extends AppCompatActivity {

protected void onCreate(Bundle savedInstanceState) {


super.onCreate(savedInstanceState);
setContentView(R.layout.completecourse);
}
public void android(View view) {

Intent android = new Intent(Intent.ACTION_VIEW,


Uri.parse("https://mega.nz/#F!woFTXaDB!
I8EQglqJGMed12QsbN1LrQ"));
startActivity(android);
}
public void clang(View view) {
Intent clang = new Intent(Intent.ACTION_VIEW,
Uri.parse("https://mega.nz/#F!V0dDmIrD!
f0wuVT25kE8SoKZyl4_zGg"));
startActivity(clang);
}

public void cpp(View view) {


Intent cpp = new Intent(Intent.ACTION_VIEW,
Uri.parse("https://mega.nz/#F!EpE1WQDa!
cr8AtN8BqmI7x9Fy1uoo4Q"));
startActivity(cpp);

}
public void html(View view) {
Intent html = new Intent(Intent.ACTION_VIEW,
Uri.parse("https://mega.nz/#F!w9c3BQoT!
JXlXm0J5Qk_SHMrT9KRNZQ"));
startActivity(html);
}
public void linux(View view) {

Intent linux = new Intent(Intent.ACTION_VIEW,


Uri.parse("https://mega.nz/#F!ctclUQYR!oBtt6iafaouZIDUThrSQ1g"));
startActivity(linux);
}
public void net(View view) {

Intent net = new Intent(Intent.ACTION_VIEW,


Uri.parse("https://mega.nz/#F!PGJC0QLS!yTb44ESMykUHhLieZ_wh-
Q"));
startActivity(net);
}
public void chash(View view) {

Intent chash = new Intent(Intent.ACTION_VIEW,


Uri.parse("https://mega.nz/#F!SfBgDIiK!PcUDt-
870QRm1uWVoHLd1A"));
startActivity(chash);
}

public void sql (View view) {

Intent sql = new Intent(Intent.ACTION_VIEW,


Uri.parse("https://mega.nz/#F!PCAkQYBJ!
69cGcwKBMZTxEz_g_twbpQ"));
startActivity(sql);
}

public void php(View view) {


Intent php = new Intent(Intent.ACTION_VIEW, Uri.parse("https://mega.nz/#F!
iORgmK4T!Pt6SwV4uH_lbaRwhl28sVw"));
startActivity(php);}
public void python(View view) {

Intent python = new Intent(Intent.ACTION_VIEW,


Uri.parse("https://mega.nz/#F!THJ0EITI!
zEyPE7j5F2hmKaQycHivpQ"));
startActivity(python);
}
public void java(View view) {

Intent java = new Intent(Intent.ACTION_VIEW,


Uri.parse("https://mega.nz/#F!dqZhjYyK!
WUg_xn4X8kW3kxWyFtA_WA"));
startActivity(java);
}

}
7) Syllabus Coding:

package com.scorpionsting.bhimsingrajput.learningappfinal
import android.content.Context;
import android.content.Intent;
import android.os.Bundle;
import android.support.v7.app.AppCompatActivity;
import android.view.View;
import android.widget.Button;

public class Syllabus extends AppCompatActivity {

private static Button btnbca;


private static Button btnbcs;

@Override
protected void onCreate(Bundle savedInstanceState) {
super.onCreate(savedInstanceState);
setContentView(R.layout.activity_syllabus);
Onclickbca();
Onclickbcs();

}
public void Onclickbca() {
final Context context = this;
btnbca = (Button) findViewById(R.id.btn_syllabus_bca);
btnbca.setOnClickListener(new View.OnClickListener() {
@Override
public void onClick(View arg0) {
Intent intent = new Intent(context, Syllabus_bca.class);
startActivity(intent);
}
});
}
public void Onclickbcs() {
final Context context = this;
btnbcs = (Button) findViewById(R.id.btn_syllabus_bcs);
btnbcs.setOnClickListener(new View.OnClickListener() {
@Override
public void onClick(View arg0) {
Intent intent1 = new Intent(context,Syllabus_bcs.class);
startActivity(intent1);
}
});
}
}
Activity Coding:

<?xml version="1.0" encoding="UTF-8"?>

-<RelativeLayout android:background="@drawable/back1"
android:id="@+id/activity_syllabus"
android:layout_height="match_parent"
android:layout_width="match_parent"
xmlns:android="http://schemas.android.com/apk/res/android">

<Button android:background="@drawable/round_btn"
android:id="@+id/btn_syllabus_bcs" android:layout_height="100dp"
android:layout_width="match_parent"
android:layout_marginRight="10dp" android:layout_marginLeft="10dp"
android:textStyle="normal|bold" android:textSize="27sp"
android:fontFamily="casual" android:textColor="#fff"
android:layout_alignParentStart="true"
android:layout_alignParentLeft="true"
android:layout_alignParentTop="true"
android:layout_marginBottom="10dp"
android:layout_marginTop="130dp" android:text="BCS"/>

<Button android:background="@drawable/round_btn"
android:id="@+id/btn_syllabus_bca" android:layout_height="100dp"
android:layout_width="match_parent"
android:layout_marginRight="10dp" android:layout_marginLeft="10dp"
android:textStyle="normal|bold" android:textSize="27sp"
android:fontFamily="casual" android:textColor="#fff"
android:layout_alignParentStart="true"
android:layout_alignParentLeft="true"
android:layout_marginBottom="10dp" android:text="BCA"
android:layout_below="@+id/btn_syllabus_bcs"/>

</RelativeLayout>
8) Syllabus Bca Coding:

package com.scorpionsting.bhimsingrajput.learningappfinal;

import android.content.Intent;
import android.net.Uri;
import android.os.Bundle;
import android.support.v7.app.AppCompatActivity;
import android.view.View;

public class Syllabus_bca extends AppCompatActivity {

@Override
protected void onCreate(Bundle savedInstanceState) {
super.onCreate(savedInstanceState);
setContentView(R.layout.activity_syllabus_bca);
}

public void first(View view) {

Intent first = new Intent(Intent.ACTION_VIEW,


Uri.parse("https://drive.google.com/open?id=1Oj7BwbR3IwpxsYao-
bEU4ac0L3R0iryV"));
startActivity(first);
}

public void second(View view) {

Intent second = new Intent(Intent.ACTION_VIEW,


Uri.parse("https://drive.google.com/open?id=1RMncTy6qQmjWb49sx-
r5cMC4yReKZoLq"));
startActivity(second);
}

public void third(View view) {

Intent third = new Intent(Intent.ACTION_VIEW,


Uri.parse("https://drive.google.com/open?
id=1RHu3_zB6mwpvk7sm5lq0rrY8dz2C5OsO"));
startActivity(third);
}

II) Bca Syllabus Activity Coding:

<?xml version="1.0" encoding="UTF-8"?>


<RelativeLayout android:background="@drawable/back1"
android:id="@+id/activity_syllabus_bca"
android:layout_height="match_parent"
android:layout_width="match_parent"
xmlns:android="http://schemas.android.com/apk/res/android"><Butto
n android:background="@drawable/round_btn"
android:id="@+id/btn_syllabus_bca_fy"
android:layout_height="100dp" android:layout_width="match_parent"
android:onClick="first" android:textStyle="normal|bold"
android:textSize="27sp" android:textColor="#fff" android:text="FIRST
YEAR" android:fontFamily="casual"
android:layout_marginBottom="10dp"
android:layout_marginRight="10dp" android:layout_marginTop="80dp"
android:layout_marginLeft="10dp"
android:layout_alignParentTop="true"
android:layout_alignParentLeft="true"
android:layout_alignParentStart="true"/><Button
android:background="@drawable/round_btn"
android:id="@+id/btn_syllabus_bca_sy"
android:layout_height="100dp" android:layout_width="match_parent"
android:onClick="second" android:textStyle="normal|bold"
android:textSize="27sp" android:textColor="#fff"
android:text="SECOND YEAR" android:fontFamily="casual"
android:layout_marginBottom="10dp"
android:layout_marginRight="10dp" android:layout_marginTop="1dp"
android:layout_marginLeft="10dp"
android:layout_below="@+id/btn_syllabus_bca_fy"/><Button
android:background="@drawable/round_btn"
android:id="@+id/btn_syllabus_bca_ty"
android:layout_height="100dp" android:layout_width="match_parent"
android:onClick="third" android:textStyle="normal|bold"
android:textSize="27sp" android:textColor="#fff" android:text="THIRD
YEAR" android:fontFamily="casual"
android:layout_marginBottom="10dp"
android:layout_marginRight="10dp" android:layout_marginLeft="10dp"
android:layout_alignParentLeft="true"
android:layout_alignParentStart="true"
android:layout_below="@+id/btn_syllabus_bca_sy"/></RelativeLayout
>
9) Bca I Year Notes Coding:

package com.scorpionsting.bhimsingrajput.learningappfinal;
import android.content.Context;
import android.content.Intent;
import android.os.Bundle;
import android.support.v7.app.AppCompatActivity;
import android.view.View;
import android.widget.Button;

public class notes_bca_fy extends AppCompatActivity {


private static Button btn1st;
private static Button btn2nd;

@Override
protected void onCreate(Bundle savedInstanceState) {
super.onCreate(savedInstanceState);
setContentView(R.layout.activity_notes_bca_fy);

Onclick1st();
Onclick2nd();

public void Onclick1st() {


final Context context = this;
btn1st = (Button) findViewById(R.id.btn_notes_bca_fy_1st);
btn1st.setOnClickListener(new View.OnClickListener() {
@Override
public void onClick(View arg0) {
Intent intent = new Intent(context, notes_bca_fy_1st.class);
startActivity(intent);
}
});
}

public void Onclick2nd() {


final Context context = this;
btn2nd = (Button) findViewById(R.id.btn_notes_bca_fy_2nd);
btn2nd.setOnClickListener(new View.OnClickListener() {
@Override
public void onClick(View arg0) {
Intent intent1 = new Intent(context, notes_bca_fy_2nd.class);
startActivity(intent1);
}
});
}}
II) Bca I Year Activity Code:

<?xml version="1.0" encoding="UTF-8"?>


<RelativeLayout android:background="@drawable/back1"
android:id="@+id/activity_notes_bca_fy"
android:layout_height="match_parent"
android:layout_width="match_parent"
xmlns:android="http://schemas.android.com/apk/res/android"><Button
android:background="@drawable/round_btn"
android:id="@+id/btn_notes_bca_fy_1st" android:layout_height="100dp"
android:layout_width="match_parent" android:layout_marginRight="10dp"
android:layout_marginLeft="10dp" android:textStyle="normal|bold"
android:textSize="27sp" android:fontFamily="casual" android:textColor="#fff"
android:layout_alignParentStart="true" android:layout_alignParentLeft="true"
android:layout_alignParentTop="true" android:layout_marginTop="130dp"
android:layout_marginBottom="10dp" android:text="1st Semester"/><Button
android:background="@drawable/round_btn"
android:id="@+id/btn_notes_bca_fy_2nd" android:layout_height="100dp"
android:layout_width="match_parent" android:layout_marginRight="10dp"
android:layout_marginLeft="10dp" android:textStyle="normal|bold"
android:textSize="27sp" android:fontFamily="casual" android:textColor="#fff"
android:layout_alignParentStart="true" android:layout_alignParentLeft="true"
android:layout_marginBottom="10dp" android:text="2nd Semester"
android:layout_below="@+id/btn_notes_bca_fy_1st"/></RelativeLayout>

10) Bca I Year Question Paper Code:


package com.scorpionsting.bhimsingrajput.learningappfinal;

import android.content.Context;
import android.content.Intent;
import android.os.Bundle;
import android.support.v7.app.AppCompatActivity;
import android.view.View;
import android.widget.Button;

public class qp_bca_fy extends AppCompatActivity {

private static Button btn1st;


private static Button btn2nd;
@Override
protected void onCreate(Bundle savedInstanceState) {
super.onCreate(savedInstanceState);
setContentView(R.layout.activity_qp_bca_fy);

Onclick1st();
Onclick2nd();

public void Onclick1st() {


final Context context = this;
btn
1st = (Button) findViewById(R.id.btn_qp_bca_fy_1st);
btn1st.setOnClickListener(new View.OnClickListener() {
@Override
public void onClick(View arg0) {
Intent intent = new Intent(context, qp_bca_fy_1st.class);
startActivity(intent);
}
});
}
public void Onclick2nd() {
final Context context = this;
btn2nd = (Button) findViewById(R.id.btn_qp_bca_fy_2nd);
btn2nd.setOnClickListener(new View.OnClickListener() {
@Override
public void onClick(View arg0) {
Intent intent1 = new Intent(context, qp_bca_fy_2nd.class)
startActivity(intent1);
}
});
}

}
2) Bca II Year Notes Coding:

package com.scorpionsting.bhimsingrajput.learningappfinal;
import android.content.Context;
import android.content.Intent;
import android.os.Bundle;
import android.support.v7.app.AppCompatActivity;
import android.view.View;
import android.widget.Button;

public class notes_bca_sy extends AppCompatActivity {

private static Button btn1st;


private static Button btn2nd;

@Override
protected void onCreate(Bundle savedInstanceState) {
super.onCreate(savedInstanceState);
setContentView(R.layout.activity_notes_bca_sy);

Onclick1st();
Onclick2nd();

public void Onclick1st() {


final Context context = this;
btn1st = (Button) findViewById(R.id.btn_notes_bca_sy_1st);
btn1st.setOnClickListener(new View.OnClickListener() {
@Override
public void onClick(View arg0) {
Intent intent = new Intent(context, notes_bca_sy_1st.class);
startActivity(intent);
}
});
}

public void Onclick2nd() {


final Context context = this;
btn2nd = (Button) findViewById(R.id.btn_notes_bca_sy_2nd);
btn2nd.setOnClickListener(new View.OnClickListener() {
@Override
public void onClick(View arg0) {
Intent intent1 = new Intent(context, notes_bca_sy_2nd.class);
startActivity(intent1);
}
});
}

}
II) Bca I Year Activity Code:
<?xml version="1.0" encoding="UTF-8"?>
<RelativeLayout android:background="@drawable/back1"
android:id="@+id/activity_notes_bca_sy"
android:layout_height="match_parent"
android:layout_width="match_parent"
xmlns:android="http://schemas.android.com/apk/res/android"><Button
android:background="@drawable/round_btn"
android:id="@+id/btn_notes_bca_sy_1st" android:layout_height="100dp"
android:layout_width="match_parent" android:layout_marginRight="10dp"
android:layout_marginLeft="10dp" android:textStyle="normal|bold"
android:textSize="27sp" android:fontFamily="casual" android:textColor="#fff"
android:layout_alignParentStart="true" android:layout_alignParentLeft="true"
android:layout_alignParentTop="true" android:layout_marginTop="130dp"
android:layout_marginBottom="10dp" android:text="1st Semester"/><Button
android:background="@drawable/round_btn"
android:id="@+id/btn_notes_bca_sy_2nd" android:layout_height="100dp"
android:layout_width="match_parent" android:layout_marginRight="10dp"
android:layout_marginLeft="10dp" android:textStyle="normal|bold"
android:textSize="27sp" android:fontFamily="casual" android:textColor="#fff"
android:layout_alignParentStart="true" android:layout_alignParentLeft="true"
android:layout_marginBottom="10dp" android:text="2nd Semester"
android:layout_below="@+id/btn_notes_bca_sy_1st"/></RelativeLayout>

Bca II Year Question Paper Code:

package com.scorpionsting.bhimsingrajput.learningappfinal;

import android.content.Context;
import android.content.Intent;
import android.os.Bundle;
import android.support.v7.app.AppCompatActivity;
import android.view.View;
import android.widget.Button;
public class qp_bca_sy extends AppCompatActivity {

private static Button btn1st;


private static Button btn2nd;

@Override
protected void onCreate(Bundle savedInstanceState) {
super.onCreate(savedInstanceState);
setContentView(R.layout.activity_qp_bca_sy);

Onclick1st();
Onclick2nd();

public void Onclick1st() {


final Context context = this;
btn1st = (Button) findViewById(R.id.btn_qp_bca_sy_1st);
btn1st.setOnClickListener(new View.OnClickListener() {
@Override
public void onClick(View arg0) {
Intent intent = new Intent(context, qp_bca_sy_1st.class);
startActivity(intent);
}
});
}
public void Onclick2nd() {
final Context context = this;
btn2nd = (Button) findViewById(R.id.btn_qp_bca_sy_2nd);
btn2nd.setOnClickListener(new View.OnClickListener() {
@Override
public void onClick(View arg0) {
Intent intent1 = new Intent(context, qp_bca_sy_2nd.class);
startActivity(intent1);
}
});
}

}
11) Bca III Year Question Paper Code:

package com.scorpionsting.bhimsingrajput.learningappfinal;
import android.content.Context;
import android.content.Intent;
import android.os.Bundle;
import android.support.v7.app.AppCompatActivity;
import android.view.View;
import android.widget.Button;

public class qp_bca_ty extends AppCompatActiv

private static Button btn1st;


private static Button btn2nd;

@Override
protected void onCreate(Bundle savedInstanceState) {
super.onCreate(savedInstanceState);
setContentView(R.layout.activity_qp_bca_ty);

Onclick1st();
Onclick2nd();

}
public void Onclick1st() {
final Context context = this;
btn1st = (Button) findViewById(R.id.btn_qp_bca_ty_1st);
btn1st.setOnClickListener(new View.OnClickListener() {
@Override
public void onClick(View arg0) {
Intent intent = new Intent(context, qp_bca_ty_1st.class);
startActivity(intent);
}
});
}

public void Onclick2nd() {


final Context context = this;
btn2nd = (Button) findViewById(R.id.btn_qp_bca_ty_2nd);
btn2nd.setOnClickListener(new View.OnClickListener() {
@Override
public void onClick(View arg0) {
Intent intent1 = new Intent(context, qp_bca_ty_2nd.class);
startActivity(intent1);
}
});
}
}
11) Bcs I Year Syllabus Code:
package com.scorpionsting.bhimsingrajput.learningappfinal;

import android.content.Intent;
import android.net.Uri;
import android.os.Bundle;
import android.support.v7.app.AppCompatActivity;
import android.view.View;

public class Syllabus_bcs extends AppCompatActivity {

@Override
protected void onCreate(Bundle savedInstanceState) {
super.onCreate(savedInstanceState);
setContentView(R.layout.activity_syllabus_bcs);
}

public void first(View view) {

Intent first = new Intent(Intent.ACTION_VIEW,


Uri.parse("https://drive.google.com/open?
id=1A9Gc8nLQ03Dlsc1SNcbPH5J6d0VB_f5r"));
startActivity(first);
}

public void second(View view) {


Intent second = new Intent(Intent.ACTION_VIEW,
Uri.parse("https://drive.google.com/open?id=1jniMdpyx6Pjmsk5-
zdReoFR1iWScbXjH"));
startActivity(second);
}

public void third(View view) {

Intent third = new Intent(Intent.ACTION_VIEW,


Uri.parse("https://drive.google.com/open?
id=1cKSwlhKgDGjCzmFP6JZdtBCQbhSTPe_6"));
startActivity(third);
}
}

Bcs I Year Activity Code:


<?xml version="1.0" encoding="UTF-8"?>
<RelativeLayout android:background="@drawable/back1"
android:id="@+id/activity_notes_bcs_fy"
android:layout_height="match_parent"
android:layout_width="match_parent"
xmlns:android="http://schemas.android.com/apk/res/android"><Button
android:background="@drawable/round_btn"
android:id="@+id/btn_notes_bcs_fy_1st" android:layout_height="100dp"
android:layout_width="match_parent"
android:layout_marginRight="10dp" android:layout_marginLeft="10dp"
android:textStyle="normal|bold" android:textSize="27sp"
android:fontFamily="casual" android:textColor="#fff"
android:layout_alignParentStart="true"
android:layout_alignParentLeft="true"
android:layout_alignParentTop="true" android:layout_marginTop="130dp"
android:layout_marginBottom="10dp" android:text="1st
Semester"/><Button android:background="@drawable/round_btn"
android:id="@+id/btn_notes_bcs_fy_2nd" android:layout_height="100dp"
android:layout_width="match_parent"
android:layout_marginRight="10dp" android:layout_marginLeft="10dp"
android:textStyle="normal|bold" android:textSize="27sp"
android:fontFamily="casual" android:textColor="#fff"
android:layout_alignParentStart="true"
android:layout_alignParentLeft="true"
android:layout_marginBottom="10dp" android:text="2nd Semester"
android:layout_below="@+id/btn_notes_bcs_fy_1st"/></RelativeLayout>

Bcs I Year Notes Code:

package com.scorpionsting.bhimsingrajput.learningappfinal;

import android.content.Context;
import android.content.Intent;
import android.os.Bundle;
import android.support.v7.app.AppCompatActivity;
import android.view.View;
import android.widget.Button;

public class notes_bcs_fy extends AppCompatActivity {

private static Button btn1st;


private static Button btn2nd;

@Override
protected void onCreate(Bundle savedInstanceState) {
super.onCreate(savedInstanceState);
setContentView(R.layout.activity_notes_bcs_fy);

Onclick1st();
Onclick2nd();

public void Onclick1st() {


final Context context = this;
btn1st = (Button) findViewById(R.id.btn_notes_bcs_fy_1st);
btn1st.setOnClickListener(new View.OnClickListener() {
@Override
public void onClick(View arg0) {
Intent intent = new Intent(context, notes_bcs_fy_1st.class);
startActivity(intent);
}
});
}

public void Onclick2nd() {


final Context context = this;
btn2nd = (Button) findViewById(R.id.btn_notes_bcs_fy_2nd);
btn2nd.setOnClickListener(new View.OnClickListener() {
@Override
public void onClick(View arg0) {
Intent intent1 = new Intent(context, notes_bcs_fy_2nd.class);
startActivity(intent1);
}
});
}

Bca I Year Question Paper Code:

package com.scorpionsting.bhimsingrajput.learningappfinal;

import android.content.Context;
import android.content.Intent;
import android.os.Bundle;
import android.support.v7.app.AppCompatActivity;
import android.view.View;
import android.widget.Button;

public class qp_bcs_fy extends AppCompatActivity {

private static Button btn1st;


private static Button btn2nd;

@Override
protected void onCreate(Bundle savedInstanceState) {
super.onCreate(savedInstanceState);
setContentView(R.layout.activity_qp_bcs_fy);

Onclick1st();
Onclick2nd();
}

public void Onclick1st() {


final Context context = this;
btn1st = (Button) findViewById(R.id.btn_qp_bcs_fy_1st);
btn1st.setOnClickListener(new View.OnClickListener() {
@Override
public void onClick(View arg0) {
Intent intent = new Intent(context, qp_bcs_fy_1st.class);
startActivity(intent);
}
});
}

public void Onclick2nd() {


final Context context = this;
btn2nd = (Button) findViewById(R.id.btn_qp_bcs_fy_2nd);
btn2nd.setOnClickListener(new View.OnClickListener() {
@Override
public void onClick(View arg0) {
Intent intent1 = new Intent(context, qp_bcs_fy_2nd.class);
startActivity(intent1);
}
});
}
12) Bcs II Year Notes Coding:

package com.scorpionsting.bhimsingrajput.learningappfinal;
import android.content.Context;
import android.content.Intent;
import android.os.Bundle;
import android.support.v7.app.AppCompatActivity;
import android.view.View;
import android.widget.Button;

public class notes_bca_ty extends AppCompatActivity {

private static Button btn1st;


private static Button btn2nd;

@Override
protected void onCreate(Bundle savedInstanceState) {
super.onCreate(savedInstanceState);
setContentView(R.layout.activity_notes_bca_ty);

Onclick1st();
Onclick2nd();

public void Onclick1st() {


final Context context = this;
btn1st = (Button) findViewById(R.id.btn_notes_bca_ty_1st);
btn1st.setOnClickListener(new View.OnClickListener() {
@Override
public void onClick(View arg0) {
Intent intent = new Intent(context, notes_bca_ty_1st.class);
startActivity(intent);
}
});
}

public void Onclick2nd() {


final Context context = this;
btn2nd = (Button) findViewById(R.id.btn_notes_bca_ty_2nd);
btn2nd.setOnClickListener(new View.OnClickListener() {
@Override
public void onClick(View arg0) {
Intent intent1 = new Intent(context, notes_bca_ty_2nd.class);
startActivity(intent1);
}
}); }
II) Bcs II Year Activity Code:

<?xml version="1.0" encoding="UTF-8"?>


<RelativeLayout android:background="@drawable/back1"
android:id="@+id/activity_notes_bca_ty"
android:layout_height="match_parent"
android:layout_width="match_parent"
xmlns:android="http://schemas.android.com/apk/res/android"><B
utton android:background="@drawable/round_btn"
android:id="@+id/btn_notes_bca_ty_1st"
android:layout_height="100dp"
android:layout_width="match_parent"
android:layout_marginRight="10dp"
android:layout_marginLeft="10dp" android:textStyle="normal|bold"
android:textSize="27sp" android:fontFamily="casual"
android:textColor="#fff" android:layout_alignParentStart="true"
android:layout_alignParentLeft="true"
android:layout_alignParentTop="true"
android:layout_marginTop="130dp"
android:layout_marginBottom="10dp" android:text="1st
Semester"/><Button android:background="@drawable/round_btn"
android:id="@+id/btn_notes_bca_ty_2nd"
android:layout_height="100dp"
android:layout_width="match_parent"
android:layout_marginRight="10dp"
android:layout_marginLeft="10dp" android:textStyle="normal|bold"
android:textSize="27sp" android:fontFamily="casual"
android:textColor="#fff" android:layout_alignParentStart="true"
android:layout_alignParentLeft="true"
android:layout_marginBottom="10dp" android:text="2nd Semester"
android:layout_below="@+id/btn_notes_bca_ty_1st"/></RelativeLa
yout>
Bcs II Year Question Paper Code:

package com.scorpionsting.bhimsingrajput.learningappfinal;

import android.content.Context;
import android.content.Intent;
import android.os.Bundle;
import android.support.v7.app.AppCompatActivity;
import android.view.View;
import android.widget.Button;

public class qp_bcs_sy extends AppCompatActivity {

private static Button btn1st;


private static Button btn2nd;

@Override
protected void onCreate(Bundle savedInstanceState) {
super.onCreate(savedInstanceState);
setContentView(R.layout.activity_qp_bcs_sy);

Onclick1st();
Onclick2nd();

public void Onclick1st() {


final Context context = this;
btn1st = (Button) findViewById(R.id.btn_qp_bcs_sy_1st);
btn1st.setOnClickListener(new View.OnClickListener() {
@Override
public void onClick(View arg0) {
Intent intent = new Intent(context,
qp_bcs_sy_1st.class);
startActivity(intent);
}
});
}

public void Onclick2nd() {


final Context context = this;
btn2nd = (Button) findViewById(R.id.btn_qp_bcs_sy_2nd);
btn2nd.setOnClickListener(new View.OnClickListener() {
@Override
public void onClick(View arg0) {
Intent intent1 = new Intent(context,
qp_bcs_sy_2nd.class);
startActivity(intent1);
}
});
}

Bcs III Year Notes Code:

package com.scorpionsting.bhimsingrajput.learningappfinal;

import android.content.Context;
import android.content.Intent;
import android.os.Bundle;
import android.support.v7.app.AppCompatActivity;
import android.view.View;
import android.widget.Button;

public class qp_bcs_ty extends AppCompatActivity {

private static Button btn1st;


private static Button btn2nd;

@Override
protected void onCreate(Bundle savedInstanceState) {
super.onCreate(savedInstanceState);
setContentView(R.layout.activity_qp_bcs_ty);
Onclick1st();
Onclick2nd();

public void Onclick1st() {


final Context context = this;
btn1st = (Button) findViewById(R.id.btn_qp_bcs_ty_1st);
btn1st.setOnClickListener(new View.OnClickListener() {
@Override
public void onClick(View arg0) {
Intent intent = new Intent(context,
qp_bcs_ty_1st.class);
startActivity(intent);
}
});
}

public void Onclick2nd() {


final Context context = this;
btn2nd = (Button) findViewById(R.id.btn_qp_bcs_ty_2nd);
btn2nd.setOnClickListener(new View.OnClickListener() {
@Override
public void onClick(View arg0) {
Intent intent1 = new Intent(context,
qp_bcs_ty_2nd.class);
startActivity(intent1);
}
});
}
Bcs III Year Question Paper Code:

package com.scorpionsting.bhimsingrajput.learningappfinal;

import android.content.Context;
import android.content.Intent;
import android.os.Bundle;
import android.support.v7.app.AppCompatActivity;
import android.view.View;
import android.widget.Button;

public class qp_bcs_ty extends AppCompatActivity {

private static Button btn1st;


private static Button btn2nd;

@Override
protected void onCreate(Bundle savedInstanceState) {
super.onCreate(savedInstanceState);
setContentView(R.layout.activity_qp_bcs_ty);

Onclick1st();
Onclick2nd();

public void Onclick1st() {


final Context context = this;
btn1st = (Button) findViewById(R.id.btn_qp_bcs_ty_1st);
btn1st.setOnClickListener(new View.OnClickListener() {
@Override
public void onClick(View arg0) {
Intent intent = new Intent(context,
qp_bcs_ty_1st.class);
startActivity(intent);
}
});
}
public void Onclick2nd() {
final Context context = this;
btn2nd = (Button) findViewById(R.id.btn_qp_bcs_ty_2nd);
btn2nd.setOnClickListener(new View.OnClickListener() {
@Override
public void onClick(View arg0) {
Intent intent1 = new Intent(context, qp_bcs_ty_2nd.class);
startActivity(intent1);
}
});
}

}
13) Password Reset Code:

package com.scorpionsting.bhimsingrajput.learningappfinal;

import android.support.v7.app.AppCompatActivity;
import android.os.Bundle;
import android.content.Intent;
import android.support.annotation.NonNull;
import android.text.TextUtils;
import android.view.View;
import android.widget.Button;
import android.widget.EditText;
import android.widget.ProgressBar;
import android.widget.Toast;
import com.google.android.gms.tasks.OnCompleteListener;
import com.google.android.gms.tasks.Task;
import com.google.firebase.auth.FirebaseAuth;
import com.google.firebase.auth.FirebaseUser;

public class PasswordResetActivity extends AppCompatActivity {

private EditText inputEmail;


private Button btnReset, btnBack;
private FirebaseAuth auth;
private ProgressBar progressBar;

@Override
protected void onCreate(Bundle savedInstanceState) {
super.onCreate(savedInstanceState);
setContentView(R.layout.activity_password_reset);
inputEmail = (EditText) findViewById(R.id.email);
btnReset = (Button) findViewById(R.id.btn_reset_password);
btnBack = (Button) findViewById(R.id.btn_back);
progressBar = (ProgressBar) findViewById(R.id.progressBar);

auth = FirebaseAuth.getInstance();
btnBack.setOnClickListener(new View.OnClickListener() {
@Override
public void onClick(View v) {
finish();
}
});

btnReset.setOnClickListener(new View.OnClickListener() {
@Override
public void onClick(View v) {

String email = inputEmail.getText().toString().trim();

if (TextUtils.isEmpty(email)) {
Toast.makeText(getApplication(), "Enter your registered email id",
Toast.LENGTH_SHORT).show();
return;
}

progressBar.setVisibility(View.VISIBLE);
auth.sendPasswordResetEmail(email)
.addOnCompleteListener(new OnCompleteListener<Void>()
{
@Override
public void onComplete(@NonNull Task<Void> task) {
if (task.isSuccessful()) {
Toast.makeText(PasswordResetActivity.this, "We have sent you
instructions to reset your password!", Toast.LENGTH_SHORT).show();
} else {
Toast.makeText(PasswordResetActivity.this, "Failed to send reset email!",
Toast.LENGTH_SHORT).show();
}

progressBar.setVisibility(View.GONE);
}
});
}
});}{
14)Placement page Code:

package com.scorpionsting.bhimsingrajput.learningappfinal;
import android.content.Intent;
import android.net.Uri;
import android.os.Bundle;
import android.support.v7.app.AppCompatActivity;
import android.view.View;

public class placement extends AppCompatActivity {

@Override
protected void onCreate(Bundle savedInstanceState) {
super.onCreate(savedInstanceState);
setContentView(R.layout.activity_placement);
}

public void qp(View view) {

Intent qp = new Intent(Intent.ACTION_VIEW,


Uri.parse("https://drive.google.com/open?id=1E_-
3JdMxCWXR6xaMSSGeqxN6QCMFnwAP"));
startActivity(qp);
}

public void pz(View view) {

Intent pz = new Intent(Intent.ACTION_VIEW,


Uri.parse("https://drive.google.com/open?
id=1BqTjkV2n6BvoAwdZ0T7Ba4Hg90EQis8H"));
startActivity(pz);
}

public void iq(View view) {

Intent iq = new Intent(Intent.ACTION_VIEW,


Uri.parse("https://drive.google.com/open?
id=1JEbXbzOP8u78AAJtwc9ChbvYvSB0JmaY"));}}
16) Placement page Code:

package com.scorpionsting.bhimsingrajput.learningappfinal;

import android.support.v7.app.AppCompatActivity;
import android.os.Bundle;
import android.content.Intent;
import android.support.annotation.NonNull;
import android.text.TextUtils;
import android.view.View;
import android.widget.Button;
import android.widget.EditText;
import android.widget.ProgressBar;
import android.widget.Toast;
import com.google.android.gms.tasks.OnCompleteListener;
import com.google.android.gms.tasks.Task;
import com.google.firebase.auth.AuthResult;
import com.google.firebase.auth.FirebaseAuth;

public class SignupActivity extends AppCompatActivity {


private EditText inputEmail, inputPassword; //hit option + enter if you
on mac , for windows hit ctrl + enter
private Button btnSignIn, btnSignUp, btnResetPassword;
private ProgressBar progressBar;
private FirebaseAuth auth;
@Override
protected void onCreate(Bundle savedInstanceState) {
super.onCreate(savedInstanceState);
setContentView(R.layout.activity_signup);
//Get Firebase auth instance
auth = FirebaseAuth.getInstance();

btnSignIn = (Button) findViewById(R.id.sign_in_button);


btnSignUp = (Button) findViewById(R.id.sign_up_button);
inputEmail = (EditText) findViewById(R.id.email);
inputPassword = (EditText) findViewById(R.id.password);
progressBar = (ProgressBar) findViewById(R.id.progressBar);
btnResetPassword = (Button) findViewById(R.id.btn_reset_password);

btnResetPassword.setOnClickListener(new View.OnClickListener() {
@Override
public void onClick(View v) {
startActivity(new Intent(SignupActivity.this,
PasswordResetActivity.class));
}
});

btnSignIn.setOnClickListener(new View.OnClickListener() {
@Override
public void onClick(View v) {
finish();
}
});

btnSignUp.setOnClickListener(new View.OnClickListener() {
@Override
public void onClick(View v) {

String email = inputEmail.getText().toString().trim();


String password = inputPassword.getText().toString().trim();

if (TextUtils.isEmpty(email)) {
Toast.makeText(getApplicationContext(), "Enter email address!",
Toast.LENGTH_SHORT).show();
return;
}

if (TextUtils.isEmpty(password)) {
Toast.makeText(getApplicationContext(), "Enter password!",
Toast.LENGTH_SHORT).show();
return;
}

if (password.length() < 6) {
Toast.makeText(getApplicationContext(), "Password too short, enter
minimum 6 characters!", Toast.LENGTH_SHORT).show();
return;
}

progressBar.setVisibility(View.VISIBLE);
//create user
auth.createUserWithEmailAndPassword(email, password)
.addOnCompleteListener(SignupActivity.this, new
OnCompleteListener<AuthResult>() {
@Override
public void onComplete(@NonNull Task<AuthResult> task) {
Toast.makeText(SignupActivity.this, "createUserWithEmail:onComplete:"
+ task.isSuccessful(), Toast.LENGTH_SHORT).show();
progressBar.setVisibility(View.GONE);
// If sign in fails, display a message to the user. If sign
in succeeds
// the auth state listener will be notified and logic to
handle the
// signed in user can be handled in the listener.
if (!task.isSuccessful()) {
Toast.makeText(SignupActivity.this, "Authentication failed." +
task.getException(),
Toast.LENGTH_SHORT).show();
} else {
startActivity(new Intent(SignupActivity.this, MainActivity.class));
finish();
}
}
});

}
});
}

@Override
protected void onResume() {
super.onResume();
progressBar.setVisibility(View.GONE);}}
17) Sing up Page Code:

package com.scorpionsting.bhimsingrajput.learningappfinal;
import android.support.v7.app.AppCompatActivity;
import android.os.Bundle;
import android.content.Intent;
import android.support.annotation.NonNull;
import android.text.TextUtils;
import android.view.View;
import android.widget.Button;
import android.widget.EditText;
import android.widget.ProgressBar;
import android.widget.Toast;
import com.google.android.gms.tasks.OnCompleteListener;
import com.google.android.gms.tasks.Task;
import com.google.firebase.auth.AuthResult;
import com.google.firebase.auth.FirebaseAuth;

public class SignupActivity extends AppCompatActivity {


private EditText inputEmail, inputPassword; //hit option + enter if you on
mac , for windows hit ctrl + enter
private Button btnSignIn, btnSignUp, btnResetPassword;
private ProgressBar progressBar;
private FirebaseAuth auth;

@Override
protected void onCreate(Bundle savedInstanceState) {
super.onCreate(savedInstanceState);
setContentView(R.layout.activity_signup);
//Get Firebase auth instance
auth = FirebaseAuth.getInstance();

btnSignIn = (Button) findViewById(R.id.sign_in_button);


btnSignUp = (Button) findViewById(R.id.sign_up_button);
inputEmail = (EditText) findViewById(R.id.email);
inputPassword = (EditText) findViewById(R.id.password);
progressBar = (ProgressBar) findViewById(R.id.progressBar);
btnResetPassword = (Button) findViewById(R.id.btn_reset_password);

btnResetPassword.setOnClickListener(new View.OnClickListener() {
@Override
public void onClick(View v) {
startActivity(new Intent(SignupActivity.this,
PasswordResetActivity.class));
}
});

btnSignIn.setOnClickListener(new View.OnClickListener() {
@Override
public void onClick(View v) {
finish();
}
});

btnSignUp.setOnClickListener(new View.OnClickListener() {
@Override
public void onClick(View v) {

String email = inputEmail.getText().toString().trim();


String password = inputPassword.getText().toString().trim();

if (TextUtils.isEmpty(email)) {
Toast.makeText(getApplicationContext(), "Enter email address!",
Toast.LENGTH_SHORT).show();
return;
}

if (TextUtils.isEmpty(password)) {
Toast.makeText(getApplicationContext(), "Enter password!",
Toast.LENGTH_SHORT).show();
return;
}

if (password.length() < 6) {
Toast.makeText(getApplicationContext(), "Password too short, enter
minimum 6 characters!", Toast.LENGTH_SHORT).show();
return;
}

progressBar.setVisibility(View.VISIBLE);
//create user
auth.createUserWithEmailAndPassword(email, password)
.addOnCompleteListener(SignupActivity.this, new
OnCompleteListener<AuthResult>() {
@Override
public void onComplete(@NonNull Task<AuthResult> task) {
Toast.makeText(SignupActivity.this, "createUserWithEmail:onComplete:"
+ task.isSuccessful(), Toast.LENGTH_SHORT).show();
progressBar.setVisibility(View.GONE);
// If sign in fails, display a message to the user. If sign in
succeeds
// the auth state listener will be notified and logic to
handle the
// signed in user can be handled in the listener.
if (!task.isSuccessful()) {
Toast.makeText(SignupActivity.this, "Authentication failed." +
task.getException(),
Toast.LENGTH_SHORT).show();
} else {
startActivity(new Intent(SignupActivity.this, MainActivity.class));
finish();
}
}
});

}
});
}

@Override
protected void onResume() {
super.onResume();
progressBar.setVisibility(View.GONE);
}
}

18) Manifest File:

<?xml version="1.0" encoding="UTF-8"?>


<manifest package="com.scorpionsting.bhimsingrajput.learningappfinal"
xmlns:android="http://schemas.android.com/apk/res/android"><applicati
on android:theme="@style/AppTheme" android:supportsRtl="true"
android:roundIcon="@mipmap/ic_launcher_round"
android:label="@string/app_name" android:icon="@mipmap/ic_launcher"
android:allowBackup="true"><activity
android:name=".SplashActivity"><intent-filter><action
android:name="android.intent.action.MAIN"/><category
android:name="android.intent.category.LAUNCHER"/></intent-filter></
activity><activity android:name=".LoginActivity"/><activity
android:name=".SignupActivity"/><activity
android:name=".PasswordResetActivity"/><activity
android:name=".MainActivity"/><activity
android:name=".placement"/><activity android:name=".cc"/><activity
android:name=".textbook"/><activity android:name=".qp"/><activity
android:name=".Syllabus"/><activity android:name=".notes"/><activity
android:name=".contact"/><activity
android:name=".Syllabus_bca"/><activity
android:name=".Syllabus_bcs"/><activity
android:name=".textbook_bca"/><activity
android:name=".textbook_bca_fy"/><activity
android:name=".textbook_bca_fy_1st"/><activity
android:name=".textbook_bca_fy_2nd"/><activity
android:name=".textbook_bca_sy"/><activity
android:name=".textbook_bca_sy_1st"/><activity
android:name=".textbook_bca_sy_2nd"/><activity
android:name=".textbook_bca_ty"/><activity
android:name=".textbook_bca_ty_1st"/><activity
android:name=".textbook_bca_ty_2nd"/><activity
android:name=".textbook_bcs"/><activity
android:name=".textbook_bcs_fy"/><activity
android:name=".textbook_bcs_fy_1st"/><activity
android:name=".textbook_bcs_fy_2nd"/><activity
android:name=".textbook_bcs_sy"/><activity
android:name=".textbook_bcs_sy_1st"/><activity
android:name=".textbook_bcs_sy_2nd"/><activity
android:name=".textbook_bcs_ty"/><activity
android:name=".textbook_bcs_ty_1st"/><activity
android:name=".textbook_bcs_ty_2nd"/><activity
android:name=".notes_bcs"/><activity
android:name=".notes_bcs_fy"/><activity
android:name=".notes_bcs_fy_1st"/><activity
android:name=".notes_bcs_fy_2nd"/><activity
android:name=".notes_bcs_sy"/><activity
android:name=".notes_bcs_sy_1st"/><activity
android:name=".notes_bcs_sy_2nd"/><activity
android:name=".notes_bcs_ty"/><activity
android:name=".notes_bcs_ty_1st"/><activity
android:name=".notes_bcs_ty_2nd"/><activity
android:name=".notes_bca"/><activity
android:name=".notes_bca_fy"/><activity
android:name=".notes_bca_fy_1st"/><activity
android:name=".notes_bca_fy_2nd"/><activity
android:name=".notes_bca_sy"/><activity
android:name=".notes_bca_sy_1st"/><activity
android:name=".notes_bca_sy_2nd"/><activity
android:name=".notes_bca_ty"/><activity
android:name=".notes_bca_ty_1st"/><activity
android:name=".notes_bca_ty_2nd"/><activity
android:name=".qp_bcs"/><activity android:name=".qp_bcs_fy"/><activity
android:name=".qp_bcs_fy_1st"/><activity
android:name=".qp_bcs_fy_2nd"/><activity
android:name=".qp_bcs_sy"/><activity
android:name=".qp_bcs_sy_1st"/><activity
android:name=".qp_bcs_sy_2nd"/><activity
android:name=".qp_bcs_ty"/><activity
android:name=".qp_bcs_ty_1st"/><activity
android:name=".qp_bcs_ty_2nd"/><activity
android:name=".qp_bca"/><activity android:name=".qp_bca_fy"/><activity
android:name=".qp_bca_fy_1st"/><activity
android:name=".qp_bca_fy_2nd"/><activity
android:name=".qp_bca_sy"/><activity
android:name=".qp_bca_sy_1st"/><activity
android:name=".qp_bca_sy_2nd"/><activity
android:name=".qp_bca_ty"/><activity
android:name=".qp_bca_ty_1st"/><activity
android:name=".qp_bca_ty_2nd"/><activity
android:name=".about"></activity></application></manifest>

Output;
Bcs Course: (First Year)
Bcs Second Year:
Third Year:
Bca I Year:
Bca II Year:
Bca III Year:

You might also like