AMIZONER: Final Report

  • View
    223

  • Download
    13

Embed Size (px)

DESCRIPTION

The Final Report for my Practical Training - I Project.

Text of AMIZONER: Final Report

PRACTICAL TRAINING IPROJECT REPORT ON

AN ANDROID APPLICATION LINKED TO GOOGLE APP ENGINE B TECH COMPUTER SCIENCE & ENGINEERING + MBA (2010-2015)

AMITY SCHOOL OF ENGINEERING AND TECHNOLOGY

FACULTY GUIDE:

SUBMITTED BY: NAME: ENROLL NO: BATCH: NEIL MATHEW A2324710002 2010-2015

MS. SHANU SHARMA ASST PROFESSOR, CSE DEPT. ASET, AMITY UNIVERSITY

SECTION & ROLL NO: 5CS4 - Y3305

i

CERTIFICATE

This is to certify that Neil Mathew, student of BTech. Computer Science & Engineering + MBA, has carried out the work presented in the project of the Practical Training entitled AMIZONER: Attendance Planner on Android as a part of second year program of Bachelor of Technology in Computer Science and Engineering from Amity School of Engineering and Technology, Amity University, Noida, Uttar Pradesh under my supervision.

Ms. SHANU SHARMA Department of Computer Science Amity School of Engineering and Technology Amity University, Noida.

ii

ACKNOWLEDGEMENTS

This practical training as a part of the course curriculum has helped me immensely in understanding implementing software applications in Android. This work would not have been successfully implemented without the support of many who guided me in various stages of implementation and testing. I acknowledge their kind support. I thank our Director General Dr. Balvinder Shukla and our Head of the Department Dr. Abhay Bansal for their direction and keenness in including Practical Training as an important aspect of the curriculum and constantly guiding us all. I also extend my gratitude to Mr. KamalKant Ahirwar, for continuous encouragement. Last but not the least, I would like to thank Ms. Shanu Sharma, my mentor and project guide, for her guidance and whole hearted support in the making of this project. I am thankful to her for giving me her valuable time and attention providing me directions for completing my project in time. Without her, this project would be a distant reality.

Neil Mathew BTech CSE + MBA (2010-2015) Enrollment No: A232471002 Amity University

iii

ABSTRACT

Amity University has an excellent Student Information Portal and all Amity students use the same frequently. Attendance monitoring is one of the key issues students are concerned with. An easy and convenient way to access the Student Portal for updated information on attendance was in my mind for some time. AMIZONER is an android-based application which has the following features: logs in to www.amizone.net parses attendance details stores it locally in the phone on SQLite database works offline based on the data thus stored and finally displays the computed information in a user-friendly manner Besides what is provided in Amizone, my application introduces more information for the user, and shows it in a more convenient and concise manner. AMIZONER was designed as an application to meet every students needs when it came to attendance. This application has been a product of various technologies. It establishes a secure connection with Amizone and with the users id and password, logs in using an HTTPS Post. It then extracts the required information about the student from the retrieved pages using HTML parsing and stores the same using the phones local database, SQLite. Then, using the Android platform, the information collected is displayed to the user in an organized, concise and convenient manner using various visual means to highlight the courses based on its attendance percentage (using XML to design these pages and JAVA to programmatically update them with the computed values). Also, the application connects to the server for updates (running on Google App Engine using Python as its language).

iv

TABLE OF CONTENTS

CERTIFICATE ................................................................................................................... ii ACKNOWLEDGEMENTS ............................................................................................... iii ABSTRACT ....................................................................................................................... iv TABLE OF CONTENTS .................................................................................................... v TABLE OF FIGURES ...................................................................................................... vii LIST OF ABBREVIATIONS .......................................................................................... viii CHAPTER 1: INTRODUCTION ..................................................................................... 1 1.1 1.2 1.3 ABOUT THE PROJECT ..................................................................................... 1 MOTIVATION .................................................................................................... 1 SCOPE ................................................................................................................. 2

CHAPTER 2: MATERIALS AND METHODS ............................................................... 3 2.1 2.2 METHODOLOGY ............................................................................................... 3 SOFTWARE & HARDWARE REQUIREMENTS ............................................ 4

2.2.1 DEVELOPMENT .............................................................................................. 4 2.2.2 SERVICES ........................................................................................................ 4 2.2.3 USER ................................................................................................................. 5 2.3 IMPLEMENTATION AND TECHNOLOGIES USED...................................... 5

2.3.1 HTTPS POST & GET ........................................................................................ 6 2.3.2 HTML PARSING ............................................................................................... 8 2.3.3 SQLite DATABASE .......................................................................................... 9 2.3.4 ANDROID DEVELOPMENT ......................................................................... 10 2.3.5 SERVER-CLIENT COMMUNICATION ....................................................... 12

v

2.3.6 MONITORING APPLICATION USAGE ....................................................... 13 2.3.7 MONETIZING WITH ADVERTISEMENTS ................................................. 14 CHAPTER 3: RESULTS AND DISCUSSION .............................................................. 15 CHAPTER 4: CONCLUSION & RECOMMENDATIONS .......................................... 22 CHAPTER 5: IMPLICATIONS FOR FUTURE RESEARCH ...................................... 24 REFERENCES ................................................................................................................. 25

vi

TABLE OF FIGURESFIG 1-1 SOFTWARE DEVELOPMENT CYCLE ......................................................................... 2 FIG 2-1 HTTP POST ...................................................................................................................... 6 FIG 2-2 HTTPS GET ...................................................................................................................... 7 FIG 2-3 MY COURSES .................................................................................................................. 8 FIG 2-4 ONE COURSE CODE SNIPPET ...................................................................................... 8 FIG 2-5 URL FOR ATTENDANCE DETAILS ............................................................................. 9 FIG 2-6 TABLE I : USERPASS ..................................................................................................... 9 FIG 2-7 OTHER TABLES USED ................................................................................................ 10 FIG 2-8 ACTIVITY EXAMPLE................................................................................................... 11 FIG 2-9 PROGRESS DIALOG BOX ........................................................................................... 11 FIG 2-10 AMIZONER: SELFDESTRUCT .................................................................................. 12 FIG 2-11 GOOGLE ANALYTICS SCREENSHOT..................................................................... 13 FIG 2-12 ADMOB REPORTING SCREENSHOT ...................................................................... 14 FIG 3-1 GOOGLE PLAY APPLICATION ERROR REPORTS ................................................. 16 FIG 3-2 AMIZONER: HOME ...................................................................................................... 17 FIG 3-3 AMIZONER: MY COURSES ......................................................................................... 17 FIG 3-4 AMIZONER: SPECIFIC COURSE ................................................................................ 18 FIG 3-5 AMIZONER: ATTENDANCE ....................................................................................... 18 FIG 3-6 AMIZONER: TIMETABLE ........................................................................................... 19 FIG 3-7 AMIZONER: HOLIDAYS .............................................................................................. 19 FIG 3-8 APPLICATION PACKAGE EXPLORER(ECLIPSE) ................................................... 20 FIG 3-9 METRICS: ACTIVITY CLASSES ................................................................................. 21 FIG 3-10 METRICS: TOTAL LINES OF CODE......................................................................... 21 FIG 4-1 GOOGLE PLAY USER DEVICE GRAPH .................................................................... 22 FIG 4-2 GOOGLE PLAY TOTAL USER INSTALL GRAPH ...........................................