Академический Документы
Профессиональный Документы
Культура Документы
KEEP_DIARY
- - - GUIDED BY - - -
- - - SUBMITTED BY - - -
NAME : AKASH AICH ROLL NO. : 01/02 SEMESTER : 4th SEM COURSE : BSc(IT)
CONTENTS
- CERTIFICATE
- ACKNOWLEDGEMENT
- PREFACE
- ABSTRACT
- INTRODUCTION
- ABOUT PROGRAM & FEATURES OF THE PROGRAM
- SOFTWARE AND HARDWARE REQUIREMENTS
- DFD
- ER DIAGRAM
- SAMPLE CODE
- FIREBASE DATABASE SNAPSHOT
- FIREBASE AUTHENTICATION SNAPSHOT
- SCREENSHOTS
- CONCLUSION
- BIBLIOGRAPHY
CERTIFICATE
It is certified that Akash Aich bearing Roll : 01 No. : 02, a student of BSc(IT)
University completed the minor project under our complete Guidance and
Supervision and submitted his project of “ keepDairy “ during the session 2019.
Internal External
ACKNOWLEDGEMENT
The satisfaction that accompanies that the successful completion of any task would be
incomplete without the mention of people whose ceaseless cooperation made it
possible, whose constant guidance and encouragement crown all efforts with success.
Firstly, I would like thank my parents and Almighty for giving me the opportunities and
facilities for education.I express my heartfelt gratitude towards Jameson Mushahary ,
H.O.D of CS & IT Dept. for granting us permission to work on this project. I am greatly
indebted to Mrs. Himadri Neog,Assistant Professor of CS & IT Dept., for her sincere
guidance and encouragement throughout the project.
Lastly, thanks to all the friends for their kind co-operation and help.
Thanks To All !
Akash Aich
PREFACE
In every professional course theoretical knowledge gained should be backed by
some practical experience. In a professional course, such as B.Sc(IT), we, the
students are equipped with strong theoretical knowledge about computer
operations. To reinforce this strong theoretical base by practical knowledge,we
the students of Jorhat Institute Of Science And Technology under Dibrugarh
University have to submit a minor project. We are assigned certain projects
whose successful completion can and will prove beneficial to us.
Features of Program :
1) The most important feature is that it is the password protected.
2) This program has a capability of storing unlimited (depends on the memory) records.
3) The user can also take a look on his records.
4) The user has a power of deleting any record.
SOFTWARE REQUIREMENTS :
Following are the softwares used to prepare this project --- >
HARDWARE REQUIREMENTS :
Following are the hardware details of the system used --- >
import android.content.Intent;
import android.support.design.widget.FloatingActionButton;
import android.support.v7.app.AppCompatActivity;
import android.os.Bundle;
import android.support.v7.widget.LinearLayoutManager;
import android.support.v7.widget.RecyclerView;
import android.support.v7.widget.Toolbar;
import android.view.Menu;
import android.view.MenuItem;
import android.view.View;
import android.widget.TextView;
import android.widget.Toast;
import com.firebase.ui.database.FirebaseRecyclerAdapter;
import com.google.firebase.auth.FirebaseAuth;
import com.google.firebase.auth.FirebaseUser;
import com.google.firebase.database.DatabaseReference;
import com.google.firebase.database.FirebaseDatabase;
public class MainActivity extends AppCompatActivity {
/**currrent user is null if not signed in and if user is signed in then it returns the id of the user.*/
FirebaseUser currentUser = mAuth.getCurrentUser();
if (currentUser == null) {
Intent auth = new Intent(getApplicationContext(), WelcomeActivity.class);
startActivity(auth);
//sends to welcome activity if not signed in.
finish();
}
else {
/**Rather then referencing to the whole app database, it references to the particular user's
credentials*/
diaryReference = FirebaseDatabase.getInstance().getReference()
.child(mAuth.getCurrentUser().getUid().toString());
/**It loads the all the notes of the registered user in a recycler view*/
FirebaseRecyclerAdapter<Diary, DiaryViewHolder> diaryRecyclerViewAdapter = new
FirebaseRecyclerAdapter<Diary, DiaryViewHolder>
(Diary.class, R.layout.single_diary_layout, DiaryViewHolder.class, diaryReference) {
@Override
protected void populateViewHolder(final DiaryViewHolder viewHolder, final Diary model, int
position) {
allDiaryView.setAdapter(diaryRecyclerViewAdapter);
}
}
FIREBASE DATABASE SNAPSHOT
FIREBASE AUTHENTICATION SNAPSHOT
SCREENSHOTS
Home Page : Welcome Screen : Register Screen : Login Screen :
Internet :
- https://www.udemy.com/android-p-kotlin-complete-android-app-development-bootcamp/learn/lecture
/13234446?start=0#overview ( UDEMY ANDROID COURSE )
- https://developer.android.com/docs ( GOOGLE ANDROID DOCUMENTATION )
- YOUTUBE -- 1) Prabeesh R K ( for android ) 2) Mr. Mahesh ( for android )
3) cheezycode ( for android ) 4) slidenerd ( for android )
- https://www.youtube.com/watch?v=XgCF58tuo2k&list=PLshdtb5UWjSrOJfpFOE-u55s3SnY2EO9v
- https://www.youtube.com/watch?v=ZKF8OgTVC9k&list=PLVlQHNRLflP-SWh-wFBAMx2rRlUjwkPsF
- https://www.youtube.com/watch?v=IGGT_jfZQrA
- https://www.youtube.com/watch?v=uic3TVp_j3M
- www.mysirg.com ( for java )
- https://firebase.google.com/docs ( FIREBASE DOCUMENTATION )