Successfully reported this slideshow.
We use your LinkedIn profile and activity data to personalize ads and to show you more relevant ads. You can change your ad preferences anytime.

Final Year Project Report on Self Tacit Zone (Location Based Android App)

14,883 views

Published on

GTU Final Year Project Report on Self Tacit Zone (Location Based Android App)

Published in: Technology
  • Be the first to comment

Final Year Project Report on Self Tacit Zone (Location Based Android App)

  1. 1. A Project Report % SELF TACIT ZONE
  2. 2. SELF TACIT ZONE A IDP REPORT Submitted by PARTHIK V. POSHIYA KEYUR P. HUDKA In fulfillment for the award of the Degree of BACHELOR OF ENGINEERING In COMPUTER ENGINEERING OM ENGINEERING 0/. ENGINEERING Approved by AICTE &Affiliated to GTU OM ENGINEERING COLLEGE, JUNAGADH Gujarat Technological University, Ahmadabad May,2015
  3. 3. CERTIFICATE Date: This is to certify that the Project entitled SELF TACIT ZONE has been carried out by PARTHIK POSHIYA under my guidance in fulfillment of the degree of Bachelor of Engineering in Computer (8thSemester) at OM Engineering College of Gujarat Technological University, Ahmedabad during the academic year 2014-15. Guide: Head of the Department Prof. M. D. Gundaliya Prof. H K Gajera
  4. 4. CERTIFICATE Date: This is to certify that the Project entitled SELF TACIT ZONE has been carried out by KEYUR HUDKA under my guidance in fulfillment of the degree of Bachelor of Engineering in Computer (8th Semester) at OM Engineering College of Gujarat Technological University, Ahmedabad during the academic year 2014-15. Guide: Head of the Department Prof. M. D. Gundaliya Prof. H K Gajera
  5. 5. Atlas Computer 3rd Floor, "Raj| axmi" Comp| ex, Vijay P| o'r, Rajkot - 360 001 19”‘ May, 2015 CERTIFICATE OF SOLUTION IMPLEMENTATION We are pleased to inform you that we have selected Mr. Parthik Poshiya and Mr. Keyur Hudka in our Organization for Project Training in Smartphone Application Development as a part of his academic curriculam Project Definition: — "Android Application of Self Tacit Zone”. We have decides to impact him full time theoretical training covering Best Programming Tips, Server Communication, Database Concepts, Power of Sequential Language , Bussiness Application, Essentials of Project Planning, Application Development Life Cycle, Plan Your Project, Resource Evalution , Project Estimation , Understand Role of Team and industy practices, execution plan , Project Evalution, Quallity control and Tolerance , Aesthetics and Customer preferences. Her Project will be executed and trained fully in Android Language. Mr. Mitesh Shah would be his Project Guide on behalf of the company. We wish all the best for his Project. Thanking you Mitesh Shah Atlas Computer
  6. 6. CERTIEICATE P OR COMPLETION OP ALL ACTIVITIES AT ON LINE PROJECT PORTAL B. E. SEMESTER VIII, ACADEMIC YEAR 201 4t~=20I 5 Date of certificate generation : 23 May 2015 (17:25) This is to certify that, Parthik Vinodbhai Poshiya (Enrolment Number—111020107004) working on project entitled with Self Tacit Zone from Computer Engineering department of 0m Engineering College, At Chokli, Dist Junagadh had submitted following details at online project portal. Submitted Five Periodic Progress Reports (PPR) Completed Business Model Canvas (Image) Uploaded Business Model Canvas (Report) Uploaded Patent Drafting Exercise (PDE) Completed Final Project Report Uploaded Plagiarism Search Report Uploaded Name of Student : Parthik Vinodbhai Poshiya Name of Guide : Mr. Mehul Dhanjibhai Gundaliya Signature of Student : *Signature of Guide : Disclaimer : This is a computer generated copy and does not indicate that your data has been evaluated. This is the receipt that GTU has received a copy of the data that vou have uploaded and submitted as vour project work. *Guide has to sign the certificate, Only if all above activities has been Completed / Uploaded.
  7. 7. CERTIEICATE P OR COMPLETION OP ALL ACT IVITIES AT ON LINE PROJECT PORTAL B. E. SEMESTER VIII, ACADEMIC YEAR 201 41=20l 5 Date of certificate generation : 23 May 2015 (17:29) This is to certify that, Keyur Prafulbhai Hudka (Enrolment Number—121023107013) working on project entitled with Self Tacit Zone from Computer Engineering department of 0m Engineering College, At Chokli, Dist Junagadh had submitted following details at online project portal. Submitted Four Periodic Progress Reports (PPR) Completed Business Model Canvas (Image) Uploaded Business Model Canvas (Report) Uploaded Patent Drafting Exercise (PDE) Completed Final Project Report Uploaded Plagiarism Search Report Uploaded Name of Student : Keyur Prafulbhai Hudka Name of Guide : Mr. Mehul Dhanjibhai Gundaliya Signature of Student : *Signature of Guide : Disclaimer : This is a computer generated copy and does not indicate that your data has been evaluated. This is the receipt that GTU has received a copy of the data that you have uploaded and submitted as your project work. *Guide has to sign the certificate, Only if all above activities has been Completed / Uploaded.
  8. 8. Results generated by P| agiarisma. Net http: //p| agiarisma. net 74% Unique Total 1544 chars , 399 words, 15 unique sentence(s). Results Query Domains (original links) Unique ocv[shmlphp§c1reM Error - 47 results Bad color Error youjuhecom l tetaflzeautiucom wlsuemcm l rare scoins. |ooknooks. com he| p.epicen1§mow. org Unique Bag color Pro'ec1io Unique 22 If T i Z n h r N - 47 results Bag color Error youtubecom r tgtabeai gl. Qtzals; ;ec. :.o. m emcmdedu rare1scoins. |ooknooks. com h§| g.§gic§n1_emow. org 47 results Bad color Error youjubecom r tQtaLtLealnLcom Mlsuemcm l rare scoinslooknookscom he| p.epicen1cmow. org 47 results Bad color Error youjubecom l tetaflzeautjucom wlspemccm mi rare scoinslooknookscom hc| p.cpic§n1ernow. org Unique Bag color Pro'ec1io - 45,100 results 1 PR E T MMARY orion. ma1h. iastaje. co ws_do1.wa. gov mnh. si. cfi gpggm nfg_a. org gpggg orion. mg1h. igst_aj_e. §g 1,100,000 results 7 Proect Title answersmicrosoflcom le wwwfi. najionalacademicsorg pmi. org f ng_sfomgo§. org tmasgefig fhwggotgov 1/2
  9. 9. Results generated by P| agiarisma. Net http: //plagiarismanet I I m H . m Unique | fT i Z n 7 Pr ' n Unique Maintain the task of user 7 Tyoe of Pro'ect 2,760,000 results 748,000 results 576,000 results 45 results Unique Unique 1 result Unique Unique 3 results Unique Unique Unique Unique Unique AnriA Ii in 2P RF’ E 7W n h fll win 7Thi rvi r hirhnmn 7 r I h ir r til 7 All tasl_<s done automatically 7 User set their all action through location and also through time P Objecztine TQOI$_& Te_ch_noIogy Literat re Review 7Thi i n r i Ii i n lnhi liin rnh n hirl inni to enter and leave time of your location range and in failure its automatic is to make free to user and 7Bi| | rnmnll hirhn 7|w| r| i|A| i ininm clown| oag. cnet. com 9£LwLe-_cm uotentlagmuaose eoaycom atjanticfirearmscom atig tnstockscom sliclefinelernet mg worlctscienfificcom 2/2
  10. 10. GUJARAT TECHNOLOGICAL U. ’IVERSlTY Annexure 2 [UNDERTAKING ABOUT ORIGINALITY or WORK] ‘ [Attach this certificate with Department/ Guide / industry copy] We hereby certify that we are the sole authors of this IDP/ UDP project report and that neither any part of this IDP/ UDP project report nor the whole of the IDP/ UDP Project report has been submitted for a degree by other studentlsj to any other University or Institution. We certify that, to the best of our knowledge, the current IDP/ UDP Project report does not infrnge upon anyone’: copyright nor violate any proprietary rights and that any ideas, techniques, quotations or any other material from the work of other peop'e included in our IDP/ UDP Project report, published or otherwise, are ful y acimow'edged "n accordance with the standard referencing practices. Furthennore, to the extent that we have included copyrighted material that surpasses the boundary of fair dea'ing within the meaning of the Indian Copyright (Amendment) Act 2012, we certify that we have obtained a written permission from the copyright owner(s] to include sud’: materia| (s) in the current IDP/ UDP Project report and have included copies of such copyright clearances to our appendix. We have checked the write up of the present IDP/ UDP Project report using anti-plagiarism database and it is ‘n the allowable 'imit, In case of any complaints pertaining to p'agiarism, we certify that we shall be so7ely responsible for the same and we understand that as per norms, University can even revoke BE degree conferred upon the student(s) submitting this IDP/ UDP Project report, in case it is found to be plagiarised. Name of Guide Signature of Guide
  11. 11. ACKNOWLEDGEMENT We are thankful to the Department because of whom, we have gained confidence in Web Development and it has also enhanced our professional skills so as to become competent in this field. We are grateful to our Project Guides — Mr. Mehul Gundaliya for their support and guidance, with which we have been able to complete our project. We respect them for their understanding of the problems faced by the students, and their ability to solve them with ease. We are grateful to our Head of Department — Mr. Himanshu Gajera for their support and guidance. We started out this project with excitement of embarking on a new and long journey, advancing with leaps and bounds everyday and exploring new avenues that the field of computerized operations offers. The journey has not been a smooth one though. Initially, it was very hard to cope up, learn and get acquainted with this project “Self Tacit Zone”. Had it not been for the help which we received from different quarters, it would not have been possible to sustain, strive and get enriched in this field.
  12. 12. Sr. No Figure 1.1 Figure 2.1 Figure 2.2 Figure 2.3 Figure 2.4 Figure 2.5 Figure 2.6 Figure 2.7 Figure 2.8 Figure 2.9 Figure 2.10 Figure 2.11 Figure 2.12 Figure 2.13 Figure 2.14 Figure 2.15 Figure 2.16 Figure 2.17 Figure 3.1 Figure 3.2 Figure 3.3 Figure 3.4 Figure 3.5 Figure 3.6 Figure 3.7 Figure 3.8 Figure 3.9 LIST OF FIGURES Name of Figures Prior Art Search Spiral Process Model Scheduling Android Architecture Class Diagram of Self Tacit Zone Class Diagram of Constants Package Class Diagram of U1 Package Class Diagram of Triggers Package Class Diagram of Profiles Package Class Diagram of Widgets Package Class Diagram of Services Package Entity—Relationship Diagram of Self Tacit Zone Use—case Diagram of Self Tacit Zone Activity Diagram of Self Tacit Zone Data—flow Diagram of Self Tacit Zone Observation Matrix of Self Tacit Zone Ideation canvas of Self Tacit Zone Idea funnel canvas of Self Tacit Zone Screen Shots of Android Studio l.2 by IntelliJ Splash Screen Profile Set new/ edit Profile Various fields of Profile Trigger Time—out Triggers Set new/ edit Trigger Various fields of Trigger Page No. 1 1 17 20 21 22 24 25 26 27 28 29 30 31 32 33 34 40 41 42 43 44 45 46 47 48
  13. 13. Figure 3.10 Figure 3.11 Figure 3.12 Figure 3.13 Figure 3.14 Figure 3.15 Figure 3.16 Figure 3.17 Geofence/ Location Settings Permanent Notification Profile Pop—up Choose Language About Using Monkey—tool to generate Pseudo—random events DDMS location control 49 50 51 52 53 54 57 58
  14. 14. Sr. No Table 2.1 Table 2.2 Table 2.3 Table 2.4 Table 2.5 Table 2.6 Table 2.7 LIST OF TABLES Name of Tables Probability and effects of risks Children Constants Package Children UI Package Children Triggers Package Children Profiles Package Children Widgets Package Children Services Package Page No. 12 21 23 25 26 27 27
  15. 15. LIST OF ABBREVATIONS STZ Self Tacit Zone GPS Global Positioning System API Application Programming Interface Wi—Fi Wireless Fidelity AOSP Android Open Source Project SDK Software Development Kit ADT Android Development Toolkit AVD Android Virtual Device NLP Network Location Provider UI User Interface DDMS Dalvik Debug Monitor Server OOAD Object Oriented Analysis and Design UML Unified Modeling Language SDLC Software Development Life Cycle
  16. 16. TABLE OF CONTENTS Certificate from Institute Certificate from Industry PMMS Certificate Plagiarism Check Certificate Undertaking about Originality of work List of Figures List of Tables List of Abbreviations Chapter: 1 INTRODUCTION 1.1 PROBLEM SUMMARY . ... ... ... ... ... ... ... ... ... ... ... ... ... ... .. . . 1.2 AIM AND OBJECTIVES . ... ... ... ... ... ... ... ... ... ... ... ... ... ... . . . 1.3 PROBLEM SPECIFICATION . ... ... ... ... ... ... ... ... ... ... ... ... . . . 1.4 LITERATURE REVIEWS . ... ... ... ... ... ... ... ... ... ... ... ... ... ... .. 1.4.1 Description of Technology used . ... ... ... ... ... ... ... ... ... ... . . . 1.4.2 Major Constituents of System . ... ... ... ... ... ... ... ... ... ... ... .. 1.4.3 Requirements . ... ... ... ... ... ... ... ... ... ... ... ... ... ... ... ... ... ... .. 1.5 TOOLS & TECHNOLOGY . ... ... ... ... ... ... ... ... ... ... ... ... ... . . . 1.6 PRIOR ART SEARCH . ... ... ... ... ... ... ... ... ... ... ... ... ... ... ... . . . DESIGN: ANALYSIS, DESIGN METHDOLOGY AND IMPLEMENTATION Chapter: 2 2.1 PROJECT PLANNING AND SCHEDULLING . ... ... ... ... ... .. . . 2.1.1 Project Development Approach . ... ... ... ... ... ... ... ... ... ... ... .. 2.1.2 Project Plan . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 2.1.3 Schedule Representation . ... ... ... ... ... ... ... ... ... ... ... ... ... .. . . 2.2 RISK MANAGEMENT . ... ... ... ... ... ... ... ... ... ... ... ... ... ... ... . . . 2.2.1 Risk Identifications . ... ... ... ... ... ... ... ... ... ... ... ... ... ... ... ... .. 2.2.2 Risk Analysis and Planning . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 2.3 ESTIMATION . ... ... ... ... ... ... ... ... ... ... ... ... ... ... ... ... ... ... ... .. 2.3.1 Effort Estimations . ... ... ... ... ... ... ... ... ... ... ... ... ... ... ... ... .. . .
  17. 17. Chapter: 3 2.4 USER CHARACTERISTICS . ... ... ... ... ... ... ... ... ... ... ... ... ... .. 14 2.5 HARDWARE AND SOFTWARE CHARACTERISTICS. 15 2.5.1 Developer Hardware and Software Characteristics . ... ... ... . . . 15 2.5.2 End-user Hardware and Software Characteristics . ... ... ... ... . . . 15 2.6 CONSTRAIENTS . ... ... ... ... ... ... ... ... ... ... ... ... ... ... ... ... ... .. . . 16 2.7 ARCHITECTURE . ... ... ... ... ... ... ... ... ... ... ... ... ... ... ... ... ... . . . 17 2.7.1 Android Platform Architecture . ... ... ... ... ... ... ... ... ... ... ... . . . 17 2.7.2 Application Architecture . ... ... ... ... ... ... ... ... ... ... ... ... ... ... .. 19 2.8 DESIGN AND IMPLEMENTATION STRATEGY . ... ... ... ... .. 20 2.8.1 Class Diagram . ... ... ... ... ... ... ... ... ... ... ... ... ... ... ... ... ... .. . . 20 2.8.2 Entity—Relationships Diagram . ... ... ... ... ... ... ... ... ... ... ... .. . . 28 2.8.3 Use-case Diagram . ... ... ... ... ... ... ... ... ... ... ... ... ... ... ... ... . . . 29 2.8.4 Activity Diagram . ... ... ... ... ... ... ... ... ... ... ... ... ... ... ... ... ... .. 30 2.8.5 Data-flow Diagram . ... ... ... ... ... ... ... ... ... ... ... ... ... ... ... ... . . . 31 2.9 CANVAS EXERSICE . ... ... ... ... ... ... ... ... ... ... ... ... ... ... ... ... .. 32 2.9.1 Observation Matrix . ... ... ... ... ... ... ... ... ... ... ... ... ... ... ... ... .. 32 2.9.2 Ideation Canvas . ... ... ... ... ... ... ... ... ... ... ... ... ... ... ... ... ... . . . 33 2.9.3 Idea Funnel Canvas . ... ... ... ... ... ... ... ... ... ... ... ... ... ... ... ... .. 34 IIVIPLEMANTATION 35 3.1 ACTUAL IMPLEMANTATIONS . ... ... ... ... ... ... ... ... ... ... ... .. 36 3.1.1 Development Environment . ... ... ... ... ... ... ... ... ... ... ... ... ... .. 36 3.1.2 Anatomy of Android app . ... ... ... ... ... ... ... ... ... ... ... ... ... ... .. 37 3.1.3 Common Issues . ... ... ... ... ... ... ... ... ... ... ... ... ... ... ... ... ... . . . 38 3.2 SCREENSHOT S . ... ... ... ... ... ... ... ... ... ... ... ... ... ... ... ... ... ... .. 40 3.2.1 Android Studio . ... ... ... ... ... ... ... ... ... ... ... ... ... ... ... ... ... ... .. 40 3.2.2 Self Tacit Zone . ... ... ... ... ... ... ... ... ... ... ... ... ... ... ... ... ... ... .. 41 3.3 TESTING . ... ... ... ... ... ... ... ... ... ... ... ... ... ... ... ... ... ... ... ... ... .. 55 3.3.1 Testing Plan . ... ... ... ... ... ... ... ... ... ... ... ... ... ... ... ... ... ... ... .. 55 3.3.2 Testing Strategies . ... ... ... ... ... ... ... ... ... ... ... ... ... ... ... ... ... .. 55 3.3.3 Testing Methods . ... ... ... ... ... ... ... ... ... ... ... ... ... ... ... ... ... . . . 56
  18. 18. 3.4 PERFORMANCE ENHANCMENTS . ... ... ... ... ... ... ... ... ... ... .. 59 3.4.1 Real—time Location Updates . ... ... ... ... ... ... ... ... ... ... ... ... ... .. 59 3.4.2 Network I/ O and memory Usage . ... ... ... ... ... ... ... ... ... ... ... .. 59 Chapter: 4 3.4.3 Database Querying and filtering . ... ... ... ... ... ... ... ... ... ... ... .. 59 SUMMARY 60 4.1 SUMMARY OF PROJECT . ... ... ... ... ... ... ... ... ... ... ... ... ... ... .. 61 4.1.1 Advantages of Work . ... ... ... ... ... ... ... ... ... ... ... ... ... ... ... .. . . 61 4.2 SCOPE OF FUTURE WORK . ... ... ... ... ... ... ... ... ... ... ... ... ... .. 62 4.3 UNIQUE FEATURES . ... ... ... ... ... ... ... ... ... ... ... ... ... ... ... ... .. 63 References Appendix i. Periodic Progress Reports (PPR) ii. Business Model Canvas (BMC) Image iii. Business Model Canvas Report iV. Draft provisional patent filling forms
  19. 19. Project id: 2299 | @ SELF TACIT ZONE 1 INTRODUCTION '2' Project Summary '2' Aim & Objectives '2' Problem Specifications '2' Literature Review '2' Tools Requirement '2' Prior Art Search
  20. 20. Project id: 2299 I @ SELF TACIT ZONE INTRODUCTION The ubiquity of wireless networking and the trend toward component miniaturization have led to the evolution of cell phones from mere telephony devices to powerful mobile computing platforms that provide the basis for a host of other applications. Today's mobile phones are typically equipped with devices such as GPS sensors [A], Wi—Fi [B] and 3G wireless radios [C] capable streaming high bandwidth Internet content, touch—screen—based user interfaces [D], still and video cameras, Bluetooth transceivers [E], and accelerometers [F]. Similar to a computer, a mobile operating system provides the primary execution environment for applications on the phone. Analogous to programs on a PC, apps can be downloaded and installed on mobile phones. Because of the growing general purpose computing capabilities of mobile devices, combined with their increasing popularity and adoption rate, it is expected that hand—held mobile phones will become the next PC. These technology trends have enabled innovative, exciting and compelling mobile applications to become widely available, from gaming to multimedia to social networking. Hand—in—hand with the growth of the raw computing power of mobile phones, various middleware/ OS platforms have evolved that allow developers to take advantage of the computing resources to create feature—rich applications that provide compelling user interfaces and functionality. A wide selection of proprietary and open—source mobile OS platforms exist, the most prominent ones being: Apple's iOS, Google's Android, Symbian from Symbian Foundation, RIM Blackberry OS, and Microsoft's Windows Mobile. This report focuses on mobile app development for Google's Android OS, a hugely popular open- source platform based on the Linux—kernel [G] and Java 2 development environment [G].
  21. 21. Project id: 2299 I @ SELF TACIT ZONE 1.1. PROBLEM SUMMARY This is an Android Application based on the Location and GPS. In this Application user can choose and set their Location and its range to perform the user specified Events and Tasks. And also user can set these all action tasks and events by the time and also for the less failure application is track your time to enter and leave time of your location range and in failure its automatic switch on time. 1.2. AIM & OBJECTIVES : Objective of this application is simply to make our life style automatic Means our cell phone is detect the place and give response by the Place means if you are in College then cell phone is automatic silent And after Finish College the phone is automatic in general mode as predefine Task. 1.3. PROBLEM SPECIFICATIONS: Overall we have to define the main problem what is that at above summery but let’s understand some extra talk and knowledge of the project. So mainly we live express life now a day all of us have no more time expand for long time duration activities. So basic idea of this application or project is that we have to maintain our time and save it as much as possible. So now a day we all use smart phones and expand their use by lots of applications. But still some of our work that we have to do in smart phone is time consumption and not auto. Now think about your self ok I told my schedule on morning 8:00 AM I wake up and send the good morning messages by WhatsApp [H] . so what I have to do daily lock out phone start the internet or Wi—Fi then I have to send the messages. Now if daily at 8:00 AM my Wi—Fi is auto start then Ihave directly send the message to the friends. Or if I have put some download and start it when I have reached at home in Wi—Fi area then this app will detect your place and auto start the Wi—Fi and download also. I. Auto started applications. III. Auto profile changer. II. Auto app manager. IV. Pre scheduler.
  22. 22. Project id: 2299 I @ SELF TACIT ZONE 1.4. LITERATURE REVIEWS 1.4.1. Description of Technology Used J J 1.4.3. J GPS device is used to track the location of the user. As a GPS device the smart phone is used in this application. Using the device, current location is traced and can be utilized for further requirements. The user interface is designed in XML. User can easily use this application and need the internet connection Major Constituents of system are GPS tracking device: This is provided by the user’s smart phone. User Interface: The UI determines that how the user will interact with the application and access the required functionality. Requirements Efficiency requirement: Here the application is developed on the android platform, thus the application data and processes are handled implicitly by the android virtual OS. Also if the user is required to clear the app data, the user can explicitly clear the cache memory and increase the application speed. Reliability requirement: If in case if the co—ordinate input by the user are not proper it will not match the data (coordinates) fetched from the map and thus there are chances of the failure to occur. In other case if the internet connection in the user mobile device is running at low speed it is possible that the map will not be loaded completely and the required alert may not be generated. Usability requirements: The application is user friendly as the user can easily operate the application. One click access to every function is provided in the application. Other requirements:
  23. 23. Project id: 2299 | @ SELF TACIT ZONE Sufficient bandwidth (internet connection) is required on the device to download images. Memory of device will be used to store the application, data and for backup. RAM and a minimum SDK version of 12 will be required on the device. The security will be provided by the android virtual OS and the server. Minimum android version required: 2.3. 1.5. TOOLS & TECHNOLOGY As this Smartphone Application, it requires information to be stored. All the information stored should be accurate and, as this information can be used in the future for verifications. Development of the Application is done by Android Development Tools using Java Language. / Platform : Android / Database : Mysql / MAP API : Google Maps API V2 / IDE : Android Studi0(intelliJ Plateform) [I] , Eclipse [I] / Emulator : Android SDK [1] / Android Smartphone for Real Simulation 1.6. PRIOR ART SEARCH
  24. 24. ELF TACIT ZO Project id 2299 .2 3.. ... . P53 . ... fi=s. & 8.5 .2 3.. ... . . ... ... .3 . ... ... ... .=. ._. . 8.3 .3. 6 . ... ._. .s. .3 . ..§. <. ... .a . .. _w_. ... a.2 J. .. . B.&u. .x. ... = .. ..5.. ... .. J. .. .556 5.. .. .3 . . 5.. ... . §_. ... :.. xé .5.. . : _. .5.u. .. .53 . . . .E. _.. .. . ... ... ... ... ... .:. ... n.. 5.. . .3.. . .2. .55 . ... .s<. .. _m. ... .a. fi.. ... : ... ,.. _<. .. . .u_. <.. :.a. ... «E . ... ... ..a. !.. .. _. ... ... ... ... ..< _. ._. 5.. ... ... ... ... .¥. .~. ... .< 3.. 6 . ... ... .s. ... .¥: ... ..< 5.. . . .8.. .:. . . ..5_. .xfi . :.. ... ..n = .=. .:5.5 . ... ... _.%&. ... ... ..1.. I€. ..Et. .54.. ._. §.. ... ...552.5.. . ... ... ._. ... ... _.. ... ..5i. ... n..5.: ... ..: ..5 . _5.. . _.. §.. ... . _. ... ... ... ... ... £.. ..§. ... ... ... _.. ... ... ..5_a. ... ._. ... ... . 33» 2» ~B 52 .2 5.. 22 .3 5.. u~m~mS~E~E . <m~. :~u~& a. ... ... . . ... ..e. .. 5 . ... .E~. a was 555. 5.§. .uA< . ..§. : . ... .n. u8.~m~s8< . ...5_. . 5.5.2 5.5.. .. ES .32.: 33353 E ~Em: ...3 . .. ... ... ... ..~. fi_. ~.. .._. ... §5.. ... .s. .>. ? _. ... ... ue. .._. ..s. ... —.aE. . 5.. §.. .nA< «.5: : .a. ..8u. ~m~ 53 5.. Eu. .. 5.5:. <§_&3.§. :.3. : m.&. .. = 3 E m-m§. S.. ~$ —. ouu. T:u_. uue_ 1:. .. =3 «Ea. .. u_= ..: .=. < 53.. .§. .mS S3: 2.. ..: .= ~<RRBomS~v. . §. $~m: .. : $nR. s§~u_ 5.. .: .33.. .5. 3.. ... . . ._. a . .:. ..m 5.§. .3< . .§. : . ... ..n. E.. m.. .3< canon t. .. 8.. ... . «<§. —mmRE~5 -. ... ... : ~? .._. .= m~a. m$2u_ ~<§. ..mm. .n: _~3 . ... _.. n.. ... .4. . u_. =n uo: n.n. ._. .S. _ . a.. s.. ..§< 25»: . ... .B.8a. $m= ... ..< _. ... ... _.. ... ._. ... ..u. :.c: _95..3e. 5§. ... =.. < . a$. ..8: .1. §. .._. : _. ... . 2.. .. _. ... ... ... _.. ... :.. ... .. ... ... ... ES. ._. ... _.. earch L : Prior Art 1.1 Fig.
  25. 25. Project id: 2299 I SELF TACIT ZONE Design: Analysis, Design 2 Methodology and Implementation Strategy ozo Project Planning and Scheduling ozo Risk Management ozo Estimation ozo User Characteristics ozo Hardware and Software Characteristics ozo Constraints ozo Architecture UML Diagram ozo ozo Canvas Exercise V I
  26. 26. Project id: 2299 I G SELF TACIT ZONE 2.1 PROJECT PLANNING AND SCHEDULING 2.1.1 Project Development Approach To solve actual problems in industry settings, software engineer or a team of engineers must incorporate a development strategy that encompasses the process, methods and tools layers and generic phases. This strategy is often referred to as process model or a software engineering paradigm. A process model for software engineering is chosen based on the nature of the project and application. The methods and tools to be used, and the controls and deliverables that is required. V The Spiral Model: planning communication deployment Fig. 2.1: The Spiral Process Model
  27. 27. Project id: 2299 I @ SELF TACIT ZONE The Spiral model [J] combines elements of the linear sequential model (applied repetitively) with the iterative philosophy of prototyping. Referring to Figure above, the Spiral model applies linear sequences in a staggered fashion as calendar time progresses. Each linear sequence produces a deliverable “Spiral” of the software. For example, Anti—virus software developed using the Spiral paradigm might deliver basic scanning, deleting, and editing file functions are use generally. But in to the market day by day many kinds of the virus is available and it’s also updated day by day so we have to make system strong if we want to safe our computer that’s why we also update our Antivirus definition and all the steps give in to the spiral model. 2.1.2 Project Plan Planning before any activity is very much important. And if it is planned nicely, then success is guaranteed. Project Management System has six major modules of Admin, Manage Application, Test Management, Process Management, Manage Comment, Reports. We analyzed the overall complexity of each of these modules and it was found that the project will required approximately 6 months completing, so we planned accordingly. We decided to follow the SDLC [K] i. e. Software Development Life Cycle while planning various phases of our project. This method consists of following activities: Determination of system requirements System Analysis Design of system Development of software System Testing . °‘SJ'.4>‘. -“EV. ” Implementation and Evaluation
  28. 28. Project id: 2299 I @ SELF TACIT ZONE We followed the OOAD (Object Oriented Analysis and Design) [K] for the SDLC and used the UML (Unified Modeling Language) [K] for analysis and design purpose of the system. We have planned our project into following ways: ~/ During first two month of our project, we have study the various problems. ~/ During third month of our project, we have start to Analysis of problem. ~/ During four and fifth month, we have start Designing and implementation of our project. 2.1.3 Schedule Representation When creating a software project schedule, the planner begins with a set of tasks. If automated tools are used, the work breakdown is input as a task network or task outline. Effort, duration, and start date are then input for each task. In addition, tasks may be assigned to specific individuals. As a consequence of this input, a timeline chart, also called a Gantt chart [K] is generating. A Timeline Chart can be developed for the entire project. Timeline Charts depict a part of a software project schedule. All project tasks are listed in the left—hand column. The horizontal bars indicate the duration of each task. When multiple bars occur at the same time on the calendar, task concurrency is implied. The diamonds indicate milestones, which indicate the place where our project reach. Once the information necessary for the generation of a timeline chart has been input, the majority of software project scheduling tools produce project tables a tabular listing of all project task, their planned and actual start and end table dates and variety of related information, enable the project manager to track progress.
  29. 29. Project id: 2299 O SELF TACIT ZONE 0 Scheduling: II) b Task Name Duration Start Finish Predecess may 11 '14lluI 5, '14 lAug 31, ‘14bct 25. '14 Dec 21,'14Fel) 15. '15 2Bl23l17I12l 6 31 5l20]14 9] 3l2el22li9 1 SELF TACIT ZONE 190 days Tue 6/17/14 Tue 2/24/15 2 Identification of Defination 310 days Tue 6/17/14 Sat 7/26/14 3 E Identity Project 9 days? Tue 6/17/14 Fn 6/27/14 I 4 Study Problem Related Patent 21 days Fri 13/27/14 Fri 7/25/14 - 5 E Finalize Delinalion 1 day Fri 7/25/14 Sat 7/26/14 | 6 Plan or Project 41 days sun 7/27/14 Tue 9/16/14 L 7 Project Planning 14 days Sun 7/27/14 Sat 0/11/14 - 8 Project Size Ranges 3 days Sun 7/27/14 Tue 7/29/14 I 9 Roles & Responsibilities 4 days’) Mon 7/28/14 Thu 7/31/14 | 10 E Schedule Representation 6 days? Sun 13/31/14 Fri 13/11/14 | 11 Risk Management 15 days Sat 8/9/14 Thu 3/23/14 L 12 Risk Identification 5 days Sat 8/9/14 Thu 8/14/14 | 13 Technical Risks 6 days Sat 8/9/14 Fri 8/15/14 I 14 Project Risks 1 day Sat 8/9/14 Mon 8/11/14 | 15 E Risk Analysis and Planning 41 days Mon 8/25/14 Tue 1/27/15 16 RISK ESTIMATION 13 days Fri 8/29/14 Tue 9/16/14 17 Elton Estimation: 1 day Fri 8/29/14 Fn 809/14 8/29 18 Cost5Estimation 3 days Fn 8/29/14 Tue 9/2/14 19 SYSTEM REQUIRMENT SPECIFICATION 11 days Wed 9/17/14 Mon 9/29/14 ' 20 E User Characteristic 4 days Wed 9/17/14 Sat 9/20/14 | ; 21 B Hardware Specification 2 days Sun 9/21/14 Mon 9/22/14 20 k 22 Software Specification 2 days Tue 9/23/14 Wed 9/24/14 21 23 Constraints 3 days Thu 9/25/14 Mon 9/29/14 22 E 24 ANALYSIS 15 days Mon 9/29/14 Mon 10/20/14 23 25 Feasibility Analysis 5 days Mon 9/29/14 Mon 10/6/14 [ 26 Requirement Gathering 10 days Tue 10/7/14 Mon 10/20/14 : 27 Q Functional Requirements 5 days Wed 10/13/14 Tue 10/14/14 '- 28 IE’ Nori-tunctional Requirements 5 days? Tue 10/14/14 Mon 10/20/14 29 DESIGN 212 days Mon 10/20/14 Fri 11/28/14 30 fl System Design: 7 days? Mon 10/20/14 Tue 10/28/14 31 E Data Dictionary 6 days’! Tue 10/28/14 Tue 11/4/14 32 E Use case Diagram 4 days? Wed 11/5/14 Mon 11/10/14 27 33 E; 7 Class Diagram 4 days‘! Tue 11/11/14 Fri 11/14/14 28 34 E Sequence Diagram (project now) 3 days’? Sat 11/15/14 Tue 11/18/14 33 35 B Data Flow Diagram 3 days? Thu 11/20/14 Sun 11/23/14 30 36 Q E-R-Diagram 5 days’? Mon 11/24/14 Fri 11/28/14 31 37 CODING 41 days Sat 11/29/14 Thu 1/22/15 31; Q Auttienticalion Module 20 oays? Mon 12/1/14 Thu 12/25/14 39 Admin module 21 days? Thu 12/25/14 Thu 1/22/15 34 40 TESTING 27 days Thu 1/22/15 Fri 2/27/15 41 E Unit Testing 16 days’? Thu 1/22/15 Thu 2/12/15 1 42 E Intigration testing 12 days? Thu 2/12/15 Fri 2/27/15 Task M Inactive Milestone Finish-only Um Split . ... ... ... ... .. . Inactivesumriiary . ,.. ... ,.. ... ... .. ExtemaITasiis 0 Milestone 0 Manuai Task -2» Extemal Milestone M PMMS” summary T Duration-only . ... ... ... ... ... .. Progress Projeu Summary T Manual Summary Roilup 0 Deadline 0 Extemai Tasks — Manual Summary 0 External Milestone 0 Stan-only — Fig.2.2: Scheduling
  30. 30. Project id: 2299 | SELF TACIT ZONE 2.2 RISK MANAGEMENT 2.2.1 Risk Identification Time estimation risk and technology risk are challengeable for our application. Business rule engine will developed many ways like using windows workflow foundation, Xml, Database etc so how we can identify which will be more preferable for our application and which will give best result compare to all technology and also give best outcomes. If we select any one technology for our application and go through it that time any challenge will come so how we can switch over new technologies and learn about new technology thus it will very time consuming. 2.2.2 Risk Analysis and Planning Risks Probability Effects Location Getting Very high Serious GPS Running Moderate Medium Network of Internet Very low Serious Battery Life Very low Serious Table 2.1 : Probability And Effects ()f Risks
  31. 31. Project id: 2299 | . SELF TACIT ZONE 2.3 ESTIMATION The single most important task of a project: setting realistic expectations. Unrealistic expectations based on inaccurate estimates are the single largest cause of software failure. 2.3.1 Effort Estimation Each company determines the output it expects from its team members. Let us call the average output of a team member per man-hour as the unit output. Assume that one has to deliver an end—to—end login module's functionality for an application. The time spent on the login functionality should include the corresponding time required for gathering the requirements, doing a requirement analysis, architecture inputs, form design, object/ class design, implementing the business rules, data validation and storage, framework (i. e., code for login module's constants, enumerations, utilities), testing, debugging, deployment up to user acceptance [L], etc. Now, the estimator has to figure out how many man—hours it would take to complete the login module, keeping all these factors in mind. The sequence of work and dependencies should be considered as they do cause delays in completion. For example, form design should be done first (all the way up to acceptance by the customer), then object design (up to acceptance by the architect), followed by coding (for business rules, calculations, and data validations), internal testing, and user acceptance testing. A wise estimator would always take support from other people to understand the scope of work to do a given task.
  32. 32. Project id: 2299 | SELF TACIT ZONE 2.4 USER CHARACTERISTICS Software Designers: These are the most obvious users. They will use the system as a means of laying out the design of an as yet unimplemented system. In our case this users can be specified as our team member only. Software Developers: These are the people that take the model generated by the designers and implement it in code. They may also use the system to identify the design of an existing system in order to maintain it. The End User (students/ Teachers/ Professionals): / Students- they are use our application for their personal profile settings use and work regarding the personalization. / Teachers- they are use this application for their own use and for their professional use. / Professional-they are use this application for advanced auto system and make them free to set all work time by time.
  33. 33. Project id: 2299 | @ SELF TACIT ZONE 2.5 HARDWARE AND SOFTWARE CHARACTERISTICS 2.5.1 Developer Hardware and Software characteristics / Hardware I Intel Pentium Processors at 2.5 GHZ and upgraded. I 512MB RAM minimum (Recommended 1GB RAM). ' Any Android Smartphone which inbuilt GPS receiver. ‘/ Software I OS: Windows 7 and upgraded version I Android Studio I Android 2.3 edition SDK I SqlLite (as Back-end) I java (front-end) 2.5.2 End-User(Client) Hardware and Software characteristics / Hardware I GPS enabled Android Smartphone. ‘/ Software I Self Tacit Zone application
  34. 34. Project id: 2299 2.6 CONSTRAINTS Limitations GPS enable android mobile 4.0 or above android version Below 4.0 android version user interface is not proper Battery usage is high during GPS activation. At time of location set Internet connection is must. SELF TACIT ZONE
  35. 35. Project id: 2299 | O SELF TACIT ZONE 2.7 ARCHITECTURE 2.7.1 Android Platform Architecture Android is an open—source software platform developed by Google, for mobile app development on devices powered by the Android OS. It is a complete software stack that provides all the middleware needed to run end—user applications on mobile devices such as: device drivers, OS, core libraries, an optimized virtual machine, Java Native Interface (JN I), and a complete Java development environment. This section provides a detailed introduction to the Android framework and describes the platform architecture, execution model, and key concepts pertinent to the design of the Place Me app, which are more generally applicable to other apps as well. As shown in the figure below, the Android software stack is a tiered architecture that consists of 5 principle layers [P]. APPLICATIONS Phone E510‘-"/ :vl, ‘V APPLICATION FRAIWEVVORK f: l(_lIv'll y y'»/ in-i<_~. w i; .;mi-: ~m. . /l| _"-'5’ r'J«', .1lfl. ,i: I11~’)l" l: -‘lartaqer Manager Providers S‘-/ Stan‘: Manager Pav. _». tit; t,- Tt'; !c_-pluy~. y Rt= -—, :>i1ir, 1- LL/ (_. j{l(_)/ X| ".i1PP lvianager Manager Manager Manager sen. -‘I-: e LIBRARIES ANDROID RUNTIME S ace Media ' (,1 , '-'l-: :1-30' Franwwmle Libraries Oi)/ :~nC= l [F8 FrvoTyrm LINUX KERNEL ' " o? :<; é‘r'“‘ ' ' ‘Management Fig.2.3: Android Architecure 0 Kernel Android is built upon Linux 2.6 kernel which serves as the hardware abstraction layer. Linux is used since it provides proven and robust, low—level system infrastructure components such as memory and process management, security, network stack and hardware driver model. Original Equipment Manufacturers (OEMs) can thus bring—up Linux on their system and have the drivers running before loading the other components of the stack [P].
  36. 36. Project id: 2299 | . SELF TACIT ZONE an Libraries On top of the kernel layer are the native libraries written in C and C++, which provide most of the real power of the Android platform. The surface manager is responsible for composing, coordinating and rendering surfaces on the screen from windows owned by different applications, running in different processes in tandem, and ensuring the pixels show up correctly on the screen. OpenGl_/ ES and SGL are the core 3-D and 2- D graphics libraries respectively. The 3-D graphics can be accelerated in hardware if a 3-D chip is present. Most of the applications commonly use 2-D graphics; however, the platform allows combining 2-D and 3-D graphics as well. The media framework provides all of the audio and video codecs responsible for delivering a rich media experience. FreeType is used for managing and rendering fonts on the screen. The open-source SQLite relational database management system is used for most of the core data storage on Android. It allows creating in—memory databases for very efficient data storage and retrieval. WebKit is an open—source browser engine (also used in Google’s Chrome and Apple’s Safari browsers) for optimized rendering on small screens in mobile devices [Q]. - Android Runtime On the same level as the libraries discussed above is the Android runtime, which is designed for running Java programs in resource constrained, embedded environments with limited computational power, battery life, and memory. One of the main components of the Android Runtime is the Dalvik virtual machine. The Dalvik VM is an optimized byte—code interpreter for efficient byte code execution on small-scale processors used in mobile devices. The Java class and JAR files are translated into “. dex” files at build time, for execution on the Dalvik VM. The efficiency of Dalvik makes it possible to run each application as a separate process in its own instance of the Dalvik VM. Among other benefits, this simplifies memory management and improves platform stability. For example, if one application crashes it does not affect other applications as they are running in separate processes each in its own instance of the Dalvik VM. The Core Libraries component provides commonly used collection classes, input—output libraries, utilities, and tools written in Java [Q], [R]. o Application Framework This layer consists of a set of tools and APIs written in the Java programming language which are used by the application developers. Here we discuss some of the main components of the application framework. The activity manager is responsible for application life cycle management and maintains a common back-stack for providing smooth navigation between apps running in different processes. The package manager tracks and manages the location and capabilities of applications installed on the phone, including those provided with the phone as well as those downloaded by the user. The window manager is a Java implementation that abstracts lower level services provided by the surface manager for managing windows. The telephony manager provides the core Java APIs used for implementing the phone service. Content providers are a 18
  37. 37. Project id: 2299 | . SELF TACIT ZONE common interface for sharing data between different applications. For example, the contacts data stored in the Contacts application can be accessed by any application that needs to use it by means of content providers. The resource manager stores non-code related artifacts of the application such as localized strings, bitmaps, or external resources such as images, video or audio files. Finally, the view system implements the building blocks of user-interfaces, provides APIs for drawing layouts and UI elements, and handles event—dispatching [Q]. a Applications The top-most layer in the stack is the Applications layer. All applications are written in Java and used the same set of APIs provided by the Application Framework. This included applications that are shipped with the phone such as Home, Dialer, Contacts, Browser, etc. as well as those developed by the programmers [Q]. 2.7.2 Application Architecture In this section we discuss the design and architecture of the Self Tacit Zone app. we shows a static UML class diagram of the Self Tacit Zone app in next section, which illustrating the key Activities, Services, Intents and inter—component dependencies (only a few class methods/ attributes have been shown in the figure below to reduce clutter and illustrate the high level class structure in a clean and concise manner).
  38. 38. Project id: 2299 | 0 SELF TACIT ZONE 2.8 DESIGN & IMPLEMENTATION STRATEGY 2.8.1 Class Diagram: Class Diagram Fig. 2.4 : Class Diagram of Self Tacit Zone (All Package) In this Class Diagram Following Packages are includes: 1. Constants Package II. UI Package III. Trigger Package IV. Profile Package V. Widgets Package VI. Services Package I
  39. 39. Project id: 2299 I SELF TACIT ZONE I. Constants Package COOSTBHCS Sharedwelconslams 4-LANGUAGE I Sir’ = 'Ian ua ' ¢DEFAULT LANGUAGE I Stun = 'xX' KZURRENT LANGUAGE 1 Strgg = ‘current Iagg' ¢DARK THEME 1 Sm = ‘dark theme‘ ¢SYSTEM APP : Stnn = 's stoma ‘ Into mconstanls 4REl-‘RESH ' Stung = 'at. thhgb. rnc. smp tnge¢. refresh' «CLEAR GEOFENCES : Stnng = 'aI. fhhgb. mc. swnp.1.nggcr. clcavGcolcnccs' »LOCAT| ON CHANGE . Strung = ‘at. fl1Qgb. nc. s~mg. trigggr. |ocanon chaggy ~TlMEOUT 1 String = 'at. fhh9b. mc. swip.1ngger. urreout' ¢T| MEOUT EXTRA ‘ Stung = 'at. fhhgl_> rrK: .swip. lngge(. titneouI extra‘ oREMOVE SYSTEM APP I String = 'removoSystc-magi ONOTIFICATION . Stri = 'notn'IcatIon' ~RO0T 1 Stnng = ‘roof oT| MEOUT : Sin = 't! ' I timeout‘ ODEFAULT TlMEOUT : Stn = '0‘ ¢BU| LD TYPE NORMAL: Stri = 'NORMAL' OBUILD TYPE FOSS: SInn = 'FOSS' Fig. 2.5 : Class Diagram of Constants Package Children: 3 A Sharedprefconstams Class used for shared preferences constants. C I Imemconstams Class used for intent specific constants. ' I Buildconstants Class used for build specific constants. Table 2.2 : Children of Constant Package
  40. 40. Project id: 2299 | 0 SELF TACIT ZONE II. UI Package Fig. 2.6 : Class Diagram of U1 Package Children : Name Description I Arra3:LiS[Adap[er Class used to fill the profile fragment with profiles. I Arra3:LiStAdap[erTn'gger Class used to fill the list in the trigger fragment with triggers. I Maimctivitjz The main activity managing the two fragments, there is no other work done here. All of the methods were generated by Eclipse and only slightly modified to fit our needs. I Ab0utActiVit1. Activity use to show information about Developer I PI-0fi1eEdi[ActiViQ: Activity used to edit the different settings of a profile. I NfcWriterACtiVitI: Activity used to write a profile on a NFC tag. It encodes the selected profile into a binary representation. I TI-igget-EditACtiVitI: Activity used to edit the different settings of a trigger. I Se[tingSACtiVitI: Activity that shows the possible general settings for the Application. I Triggerpragmem Fragment, where the triggers are listed. I PI-0fi1eFI-aglnent Fragment, where the profiles are listed. §
  41. 41. Project id: 2299 | SELF TACIT ZONE 3 ' MapViewACtiViQ: Activity used to show the map and allow user to set a geofence. NfCReaderACtiVitI: Transparent(defined in the manifest) activity that applies the profile saved on the NFC tag. Converts the bits saved on the tag into a profile object, which is then given to the handler, who applies the profile. ’ I ListDia10g Implements the pop-up dialog with a list of profiles (handed over as argument) and a settings button. I ‘ LiS[Dia10gACtiViQ: Transparent(defined in manifest) activity used to show the pop-up list dialog. Table 2.3 : Children of U1 Package III. Trigger Package Fig. 2.7 : Class Diagram of Trigger Package
  42. 42. Project id: 2299 | . SELF TACIT ZONE Children : should be ignored and the time when the timeout was started. trigger service. V - Tri er Container class used to transfer the settings between activities and methods. V ‘ Xmlpalser-Fri Br Class that is used to read an xml input stream and load the triggers MEL into the triggerservice to be compared. 0 D Xmlpalserprefl-Ii er Class used to put the values saved in a xml file into the shared MEL preferences (to load them into the trigger edit activity). Xmlcreatoflri Br Class used to convert a trigger into a string containing a xml, that is correspondent to the guidelines of this app. ’ 4 LOCatiOnTri er Connects to the Google Location API and is used for geofence handling. ’ “ Sim 1eGe0fenCe Container class for a simple geofence. Table 2.4 : Children of Trigger Package
  43. 43. Project id: 2299 | @ SELF TACIT ZONE IV. Profile Package man. ‘_. _._, | A4hllhOQ Illa-1 <Orw¢y)u-nmn Eng -us sm. ~xn. n-. » <0». -yb--umvnunu . ... .. . ... .. curb: ‘o. ... q—. ... .a. e-m nu-4 . ... Sn: -MIISIHII <‘~v-v-~'-u-= -Vn--v- -I--' . x.. iv. _q_= ..n i-. ... » 0vw-, ~--a-i¢-¢m-- n--I uih| a)1nDuu1_-rhn-Si‘-I>‘vm “W-V” -m-IV-'--0-I --V‘-~| <unArflM| D[Ynuq_pu: v.)lmPuU-an van "w'V’-"'U“‘-‘G M“ «inn-mu: -t_n--. x»w. na—o val <4=vw-ti»-r-I: -1- . .v. ... ..q_. ._ xwmn» ms “'-v-'I*"'-= ¢'I--- . uost_a. -- )lInFuFn: fi ms <0-w-Ii»--I -- . -:nuI-rLn-- x; ..p. p.. .g-. ..: -Own»-mum -- . .-. ... ..i_. ... . ». .n. .=. _, . .. «ow-ya-an nu TM . ... .. ., x. ,.. ._, p._. , . .., ‘ . ... ..»---. ~»- -- -. ----—» . ... °.: :.. ... .. . ... ._, ... .. o. ... .,. ... .._. .. . ... i . -up. -.uaa-1.»--— x-9---n -an <o; ... »,». ... .aqm. -.. uuaa. sh: -amid Damn “| _,_‘_U____m, _., __" N‘ ma-i-m. lug) ""5‘; _:‘; -w «uni _pn1 implant as . x.. .n. ._o. q_m-n cu. --, _m. . sng. manna-—4_m Irusn-ii an . ..iAn»on, r.g. U.-r-xn. v.. n-. _.i . ..: ma. .ua-. ... «u4_, ._. xm. p-» mu «. ... .i. .-mu «van-nq_p--—. xn. p-n vni . ... 4u&n_; .wsIr Xmliur-an ma _“ . -n-ubru--. ,x. ..v. n-n nun , .,, _ «in. »-uh-i x. ..v. .p. -n nut , _,, ,,, , up-mu_i--. my. -nu; mi Mn” . .uq_, ._. xmnifln-rt ma c¢UnuIDId_nav Minn--—> wad «u. ... .u. aq_. .»— xm-». r.. » sod «uMi(_nI— Jhiflifinrli) . . . ... In- -no s. _.. .~a, .r . _uei_a. .._. cmhn. _. .._. .. ..-rip . ..: ¢-GDIGUULHIIUI Conn: _umII nun--u wad ‘IIV&_umIun lI¢llm. _-rnh nuns» and --:13-I. =°"« a. -.u_= ..m . ..--up -.1 - - . -x 4 . .. ... ... ..u. «_. ... .. c. m.. ._. ..n. m. .». ... . . ... m.. ., u. ... ... .n. ... s.. .,. p. ... ... .-. .4.m. ,.. ... ... ..(. .. ,. _. . 1.. .. ‘"31" °°°I'-I'D"-I -sun»; -um-Lu-1.: can-a. _.-unuauc -mm mu . ... .m. ., r. ... ... ... r.. .., ,.1.. ... ... .r. ... ,.. .a. ... =q» . ... ... v.. ... _.. ... . i~. ... _.. ... ..u. ... .. . ... .. .. -v-e-we-.1-v--= -w mm-. .v. m. . .. c. ... i,. ..u. .v. ... . . ... .. .: . s--uq_puu Plain) snu . -». ..vmcn<_< . Emma. _nn/ nmn no and emu-iIhDuq_m1hn can-: ._-mu bud! -I). vud a¢a1IIIl0IIIo0ILcnIl-I I: 'uIunI. _I-ulImn1l| am . .is. mav. u.-umi_a. -- can-: ._-mna1£n. n|-1 -an. -ii us . ¢azu. r.. .-n-n(_ou-u I: -:IlC. _nIuI(ITllInu . .u-mi . ..ima--. <_mn_ r: amx_u. nn. -an-mu) wan Fig. 2.8 : Class Diagram of Profile Package Children: Description Container class used to transfer the settings between activities and methods. Class that is used to read an xml input stream and apply the settings in it using the Setter class. Xmlparserpref Class used to put the values saved in a xml file into the shared preferences (to load them into the profile edit activity). Class that provides methods to apply different settings. Xmlcreator Class used to convert a profile into a string containing a xml, that is correspondent to the guidelines of this app. Table 2.5 : Children of Profile Package
  44. 44. Project id: 2299 I . SELF TACIT ZONE V. Widgets Package wnpuwg -ws Sr u*‘VAqc‘. k'. «h’ hrIO: JusI. mh; :v| mSnh indll van n. ,u, .m. -wm. _m. .t« Cwvml _mnWfiw! l(: rugr dw:4a1:w' _. .:. w., an= rum . ... Fig. 2.9 : Class Diagram of Widgets Package Children: . t‘h. I,u: ui= IJI-i. mi; a‘]pi, ‘tu, u Listwidgetpactorx Sets the views for every collection widget and adds the data. I A Listwidgetservice Returns the RemoteViewsFactory, which is needed for a collection widget. ’ ‘ Widge[ACtiViQ: Transparent activity used to apply a profile without showing anything ' I Popupwidget WidgetProvider for the Pop-Up Widget. I ‘ Listwidget AppWidgetProvider for the ListWidget. Table 2.6 : Children of Widgets Package VI. Services Package
  45. 45. Project id: 2299 I SELF TACIT ZONE 2: -‘. ~-23:: cmv; -: Cow: .- rnr: 5'1.-1 n-J-'-'-v: ‘v: -21:/ .25 I'l. T1dc‘, _Cl: I'? r:, ‘. Ca'r. r:I'. l Bootccnnplutc-dRucurvct - 5: wg} *. ~-. i-; t : - -'-3.: v.i: :ci-Ivar. -'1.-c. I-'{v: _r_« . -er‘ - - 4,'T1Iv_-u. i'_'J. i-act ; ru 5‘. 191 . od om~? o:r_-. v_-r'_ou'rmL'. Ca-nun g-rm. -1'. h: r.: rn', -. u.d ca-:2: rrvArv.1S‘vc1.~T'n. .. §: v_-‘it’-: -j_‘n. r'. '1: and _1V‘1JY: ! 11 mag o: I:. T'gr_1.-"T ‘l)L‘UJ'. ‘__. 'lV': JJ. ‘l“$ uwgl 0:. "-: .ru1 1 and :1vaaC1 ZlJ(. I<: :l’I uucti , ‘3$L‘1IA'. Ifl‘? so-:1 ocv, -.nr_-3v_-'. i;il= "a"c: }; -vd Autostafl5orv-ca lo’l€i’Id1£1‘gU l''. v: no'iS: .r: ’:a'ii-vrmd}~1i-_-1: rm. -rr. ‘Ag: r'. .:‘.1". |:1 m: 1 Fig. 2.10 : Class Diagram of Services Package Children: )1‘-1.mi, i‘]p i, ‘(u, u Provides often used methods. I C Autostartservice BootCompletedReceiver BootCompletedReceiver which starts the Autostartservice to show the permanent notification on reboot. Service used to start the notification, if the permanent notification option is activated. Table 2.7 : Children of Services Package
  46. 46. Project id: 2299 I . SELF TACIT ZONE 2.8.2 Entity Relationship Diagram: Location name Location Id / Profile Id Profile name Fig. 2.11 : ER Diagram of Self Tacit Zone
  47. 47. Project id: 2299 I 0 SELF TACIT ZONE 2.8.3 Use case Diagram System w set the action V the location v 0 . ' ( check Iomtion ehich ‘ predefined by user Systgfn User perform action when ‘ location maxdi show the result Fig. 2.12 : Use case Diagram of Self Tacit Zone
  48. 48. Project id: 2299 I SELF TACIT ZONE 2.8.4 Activity Diagram: - Wait for some time for phone boot up - Requestfor network information [Create I Update I Delete] Request to GPS for new Latitude 81 Longitude values Gieckany change in lotation Check for Profile for that location Change users Profile Clear Profile entry from Database Fig. 2.13 : Activity Diagram of Self Tacit Zone
  49. 49. Project id: 2299 I 0 SELF TACIT ZONE 2.8.5 Data Flow Diagram: E Self Tacit Zone Location Detector Profile Changer Database Manager DFD-0 Level Notification Fetch Information Fetch new location GPS Information Location change event Location Table DFD-1 Level Fig. 2.14 : Data Flow Diagram of Self Tacit Zone
  50. 50. Project id: 2299 I . SELF TACIT ZONE 2.9 CANVAS EXERCISE 2.9.1 Observation Matrix: u-_‘ Observation Matrix gnu--I-ncn-1°": :: :"': III Ponmrn IIIIDKI Observations Scoutr-v‘ Ch. ’Il| cnqr<-, Top 5 Problem on the basis Fina’ Probmm Desirability, Feasibility and Viabili‘ Select 1 from Top 5 Fig. 2.15 : Observation Matrix of Self Tacit Zone Description: a Observation V We have observed that we have to need the problems that are occurred to the users with the respect of location. V Many kinds of thing that trouble to make at every time on specific location like at college or at office we have to silent our phone so these all thing are small but we have to remember it and time to time perform that. a Scouted Challenges: V We face challenges like we have to set profile and apply it on the specific location that is defined by the user. V We have to give them notification for the location when user enters in location range or goes out from the location. V Perform the entire task without touch and schedule the all task.
  51. 51. Project id: 2299 I . SELF TACIT ZONE 2.9.2 Ideation Canvas: s£u' 'mcl-r zoom 0% [D Pr, -oplc My znumwiiir / rfcnrrnn C1/ii/7: ‘ ’~ Pmjurgt 3 S”U”“°"r'C0”(9Kt/ Location Fig. 2.16 : Ideation Canvas of Self Tacit Zone Description: ¢ People: Here people in the sense user which kinds of people can use this app and product so generally all kinds of user have to need task scheduling or location tuning but more effective to the office person, student life and time to time person. at Activities: Here activities are the performed by the app mean which activities are performed you by these app like get notification, auto profile changer, auto perform some task which are predefined .
  52. 52. Project id: 2299 I SELF TACIT ZONE 2.9.3 Ideal Funnel Canvas: H_: ,|V; oy / dun Fimm~/ Ca/ was P"‘I“" , , r %% r>. ,;. pi. :~ [_r, ril7" 4"" I SllLlF1llOl", ’r_OllT4—«r’i, r Ln’ --. l in: L_/ Fig. 2.17 : Ideal Funnel Canvas of Self Tacit Zone Description: a People: Here people in the sense user which kinds of people can use this app and product so generally all kinds of user have to need task scheduling or location tuning but more effective to the office person, student life and time to time person. as Problems: Here activities are the performed by the app mean which activities are performed you by these app like get notification, auto profile changer, auto perform some task which are predefined . o Input: Input of this app is user enter their location that is input and set their profile as the input and set time when they want to perform that is input these all data are saved into the database so these are inputs.
  53. 53. Project id: 2299 I SELF TACIT ZONE 3 IMPEMENTATION ozo Actual Implementations ozo Snapshots ozo Testing ozo Performance Enhancements
  54. 54. Project id: 2299 I . SELF TACIT ZONE 3.1 ACTUAL IMPLEMENTATIONS 3.1.1 Development Environment We used Google Code, a web-based application, for project hosting and SVN version control [X]. The integrated issue tracker was used for tracking and managing feature requests and bugs during the development process. The source code for Self Tacit Zone is available under the terms of the GNU v3 public license at: http: //code. google. com/ p/geo—reminder/ . Our primary development platform consisted of the following software and hardware configuration: 8 Android Studio: The Android Studio by intellJ provides a set of integrated development and testing tools including core Android libraries, a built in gradle—support, emulator, debugger, logger, and device drivers to allow running applications on an Android phone. 1» Google Map V2 API Key : We used the Google MAP V2 API add—on libraries for implementing some of features in Self Tacit Zone such as geo-coding, mapping etc. and also use API Key from Google Developer Console [M]. 9 Eclipse Plug-ins: The Eclipse IDE v3.4.2 was used with the Android Development (ADT) and Subversion plug-ins. The ADT plug-in allows developing and running apps from within the Eclipse IDE and provides access to various features of the Android SDK. The Subversion plug-in was used for working with the SVN repository from within Eclipse IDE. a PC: Windows 7 Home Edition 64-bit, Java Development Kit v1.6.0, 4 GB RAM, Ir1tel[R] Core[TM] i3—3227 CPU 1.90 GHz 0» Android Smart Phone: Motorola Moto G2 [N] with 5.0.2(Lollipop) [O] Android OS.
  55. 55. Project id: 2299 I @ SELF TACIT ZONE 3.1.2 Anatomy of an Android App This section briefly discusses the basic components of an Android app and defines the key concepts and vocabulary needed to understand the implementation of Self Tacit Zone app. 0 View Views are the fundamental building blocks for creating user-interfaces. A View typically consists of the content visible to the user on the screen such as a button, text field, etc. It is the point of user interaction and handles UI events such as a button press. Views are grouped into a hierarchical structure to form different layout schemes such as a lists, tables, etc which organize the Views into specific pattern for rendering [Q]. Layouts and Views are typically specified in XML files. o Activity An Activity is essentially a piece of user-interface that consists of a set of related tasks a user can do in one screen. For example, a in this app they have many activities like : V SplashActivity that shows all Splash Screen on starting app V MainActivity that shows an activities of main page 0 Intents Intents are the fundamental message passing constructs in Android which allow communication of data and action between and among different system components such as: Applications, Activities, Services, etc. For example, when a new Profile is ceived, Intents are fired from the mail listener service to update the mail list screen to show the newly received messages. Apps can also register to receive specific kinds of Intents (generated internally or externally) in order to wake up and execute code when the appropriate Intent is received. For example, say the user wants to pick a photo to attach to a mail message. An Intent is fired that looks for the best available source of photos. It may determine that the photo gallery is the best match and use it. If later, a better source of photos is added, such as an online web album on Flickr or Picasa, the photo gallery is replaced by the web album as the preferred source. This late binding between action and action handler allows components to be re-used or replaced at run-time. Any task triggered by an Intent is therefore an opportunity to replace or re-use a component [Q]. 0 Services Services are background processes launched from Activities that typically perform long-running tasks and have no user interface. [Q]. - Android Manifest : AndroidManifest. xml file is necessary for all android applications and must have this 1 ‘ r
  56. 56. Project id: 2299 I @ SELF TACIT ZONE name in its root directory. In the manifest you can find essential information about the application for the Android system, information that the system must have before it can run any of the application's code. Here is what you can find in the Android manifest: V The name of the Java package for the application. The package name serves as a unique identifier for the application. V The description of the components of the application : the activities, services, broadcast receivers, and content providers that the application is composed of and under what conditions they can be launched . V The processes that will host application components. V The permissions the application must have in order to access protected parts of the API and interact with other applications. V The permissions that others are required to have in order to interact with the application's components. V The list of the Instrumentation classes that provide profiling and other information as the application is running. These declarations are present in the manifest only while the application is being developed and tested; they're removed before the application is published. V The minimum level of the Android API that the application requires. V The list of the libraries that the application must be linked against. 3.1.3 Common Issues Here we briefly discuss our solutions to some of the most frequently encountered problems in the context of developing Self Tacit Zone. 0 SQL memory leaks: One of the most commonly encountered errors was SQL memory leak which would usually result in crashing the application. Typically these would occur if references to SQL databases are not properly opened or closed when transitioning between Activities. In order to properly manage database references, our solution was to handle them as part of the Activity life cycle: V close all open references in the onPause() or onDestroy() callback methods which are executed before the Activity is paused or destroyed V open new references when the Activity is resumed or re-initialized in the onResume() or onCreate() methods respectively. I Null-pointer errors: Null-pointer exceptions usually occur when null in used in cases where an object is expected. The built-in debugger was used extensively to step through the code and root-cause these types of errors in PlaceMe. For example, in the parsing of the J SON search results, field values can sometimes be non-existent. Our solution was to modify the J SONParser class to first check for the existence of the specified J SON object or field before attempting to read it. Another instance was processing of required user inputs when new reminders are created. To prevent null-pointer exceptions, we used defaults to initialize required fields such as “alert type” or “range”. This also circumvented 1 ‘I the need to create annoying prompts to force the user to enter a value.
  57. 57. Project id: 2299 I . SELF TACIT ZONE as Abstract data typing: On many occasions, we needed to pass data which contained more than a single primitive type, such as for example, GPS coordinates consisting of latitude and longitude pairs, database row entries consisting of several column fields, and search results consisting of several attributes. Our initial approach was to pass this data in as function arguments. However, this resulted in the creation of several overloaded functions, one for each possible subset of data that needed to be passed in, unnecessarily bloating the code. To handle these cases, we created abstract data types for aggregating data and associated operations into a Java objects.
  58. 58. Project id: 2299 . SELF TACIT ZONE 3.2 SCREENSHOTS 3.2.1 Android Studio IDE v selrramzone-| FsTzupdated3sel¢Tac-2zone)- MainAcn/ rtyjava-Android swam 1.2 T” ' ’ ” I w : run file {an grew flavlgal: god: Analyge Eefactor Build Ron Iools / C5 window flelp _ :4; “.3 , -. xr‘ 3 1-Ij‘ SeIfVa(i1Zone m —5r: cam km selftacltxane HI ~MarnA: trvity E * 1 ~ I o -I r spiasm. amx~, ,e. a » n Android»/ iimrszmni - r sm. ng: Anme, ja. «a - r rrrgg¢: EdizA: zm, ;.i - 1 PrufilEEdlLLttmtyjaia ~ . MalnA(llvIty. ji! /5 >< : . m E mm: 1 5 .1 ~ SENICES prlvate boolean daxl('l‘neme . false: 5 ' tn er § 9; EDVEIIICIQ 7 § u' Protected Void unCreal: e(E. Ind1e aavedlnscincescacei l 5 E 1- . Asoumnrvicy 5 L V Array]-istfidavter Lamenablelli ’“ 1" L ArrayListAdapterIrIgger 3 ‘ r , [mp. ,j. ,9 Sharedl»‘refexen: :e: pref - Fzefexencuianaqex. getDefau1t:5naredP: efexen: e:(tin! ): e » LrstDralogActrvrty “ M "““""'Y it me: Qecinulean(5haxedP: efCr: nsl: an: s.DF. RK7Tl'lEl£Z, Faisal) -: M VVEWAW‘/ "Y serffheilleili.51:yle. AppIhel! eDarkl : IIfrRsarterArrivifv aarkiheme = mm: 1 eise t ’1 ll": 4‘: ‘ darlffheme K false: + l 5elfIa: itZane - — / Bookmarks Lccale CUFTEHC QECRESDUZCES ll -79CCDnfl. §lU‘. 'aE10!| (} . 1253185 Bmkpmm it l'DIei. qecslzxing(5hazedF: efCcn: t:ant: .1.CUF. REti'l_l. R.ll5llASE, snaxeaizzercnnscancs. azrAu1.r_i_iuzsui: sE) . ezuaisrpm: .ge: s:xmg(snazeai= n:cu ll ! pze£-QensrnnqtSharedPre£Cn: n:: anr: :.1.A. llS'. lASE, Sha: e:lPre! C:ns: anr: :.DEFALVLT_LA. llGUF. GE). em-leis(sharedhefconsranns. DEFAULI_LP Seccrngshctivity. :ecLr: .:a)e (pref. ger. Sr. :xuglsharedlirefconscanlca.1.MIEUA3E, Shiaxedlirefccnscanca. DI1!‘Al. l'LT_IJ. NGUAGl1y, mm ; PlEf. EdlClI-PHESLKLDQ(5haIEdPIefCDnSEinES. _LHIGURGEy I-7reE.9el: Si: nnql5haredPrefCcns: ariI: s.1Jl. llSlJAGE, SharedFret'Cr: nsl: an: s.3EE 1 sllpermncreaceiaavedinscanceficatelt M : et: CL‘n: en: V)eH (R. layout: . aci: )v)I: y_ma1nl . - ‘L. final l‘. r::1r: nBar ar: l:1r: n.Ear = QECACEIEHBEKIII "" accxcnsar.5er. N.3v1ga: ir: n.l€r: deilkcucnfiar. lll‘. VIGl’XIC)! l_!4,CUE_'Il1.ESI: i Terminal '1 mm Lug [J Plugm Error‘Fmhlemsioundlaading plugms: //P| ugm"Gaag| e C| audTao| sFarAndrmd Studm"was. . : lndexmg. . T -,3. Fig. 3.1 creen Shot of Android Studio 1.2 by IntelliJ 40
  59. 59. Project id: 2299 | @ SELF TACIT ZONE 3.2.2 Self Tacit Zone App 0 Splash Activity Self Tacit Zone re: 2 /4o¢L‘ama«z‘e 1 cacfté 9 my a kw/ _u); w Fig. 3.2 : Splash Screen Fig. shows Splash Screen, when user start app then display this Screen up to 5sec then Display Main Screen of the app. .
  60. 60. Project id: 2299 | Q SELF TACIT ZONE 0 Main Page (Profile) 1-] Q Self Tacit Zone PROFILES Default Home Meeting TRIGGERS Fig. 3.3 : Profile This is main Screen of the application Which Display the Profiles, by default 3 Profiles are set in app In this screen we touch 5 button as shown in figure: 1. Set New / Edit Profile 2. Settings 3. Triggers 4. Trigger Timeout 5. Edit This Profile
  61. 61. Project id: 2299 | @ SELF TACIT ZONE 0 Set New / Edit Profile 6 Edit Profile Name Defauh Sound Ringer Mode Nonnm Ringtone and Notification Volume Unchanged Media Volume Unchanged Alarm Volume Unchanged Connecfivny Mobile Data Enamed <i 6 Edit Profile Connecflvny Mobile Data Unchanged VViFi Unchanged Bl uetooth Unchanged Dmphy Automatic Brightness Unchanged Brightness Unchanged Display Time Out Unchanged <1 Fig. 3.4 : Set New / Edit Profile Figures Shows that how Profile set they includes various field which can be assign/ modify by their values as shown figure such as Name which can be assign by user , Ringer mode which can be changed by the it’s properties such as Normal, Vibrate , Silent , Unchanged. & I
  62. 62. Project id: 2299 | @ SELF TACIT ZONE 0 Various Filed for Set Profile Media Volume Ringer Mode lfhclfk the bow: and adiusl me slider to change the media ioiiime © Normal Change Value O Vibrate . O Silent O Unchanged ii. Change Ringer mode i. Change Volume Display Time Out O 15 seconds O 30 seconds Mobile Data Automatic Brightness © Enabled © Enabled O 1 minute O 2 minutes O Disabled O Disabled O 5 minutes O Unchanged O Unchanged O 10 minutes O 30 minutes © Unchanged iv. Change state of vi. Change state of V. Set Display mobile data Brightness Timeout Fig 3. 5: Various field of Profile 44
  63. 63. Project id: 2299 | @ SELF TACIT ZONE 0 Trigger Time Out Self Tacit Zone Select Trigger Timeout 15:33 PROFILES TRIGGERS Triggers are timed out for 8 hours and 19 minutes Fig. 3.6 : Trigger Timeout Figures Shows that how When Trigger is Timeout for Profile.
  64. 64. Project id: 2299 | @ SELF TACIT ZONE 0 Triggers x K. )1: <7? 1“i/ _ 24 E: C) «*2 (, EV 24 lg Self Tacit Zone -I- Self Tacit Zone -I- PROFILES TRIGGERS PROFILES TRIGGERS Test1 Test Fig. 3.7: Triggers Figure shows the Triggers Screen initially no trigger available then Trigger Configure by the user and also disable enable this Trigger.
  65. 65. Project id: 2299 | @ SELF TACIT ZONE 0 Set New / Edit Profile 6 Edit Trigger 6 Edit Trigger Name End—Time Test 12:50 Pl0fil€ Weekday Default Even, day Priority Battery 1 Battery State ignored Location L0Catl0ll Battery Low-Level lgnoled Ignored Time Battery High—Leve| Start-Time 12:55 Headphone Elld'Tlme Headphone State 12150 ignored <1 <1 Fig. 3.8 : Set New/ Edit Trigger This Section used for Set Profile by Locations also with time and priority which called Trigger. Figures Shows that how Trigger set they includes various field which can be assign/ modify by their values as shown figure such as Name which can be assign by user , Location Which can be Set using GPS and Internet. $'
  66. 66. Project id: 2299 | @ SELF TACIT ZONE 0 Various Filed for Set Trigger Priority Select Ll piiurity i3&‘l"u’E€ll 0 and '39, triggers with iilf.1l’lEl[JrlCirlI‘_/ ‘i‘Jllli]€ preferred Profile O Choose a profile (9 Default O Home O Meeting i. Enter Name ii. Choose Profile 114 9 I Start-Time Change Value 12:00 Battery State O Charging Headphone State O Plugged in O Discharging O Unplugged © Ignored © Ignored iv. Set Start Time V. Set Battery State Vi. Set Headphone State Fig 3.9: Various fields of Trigger 48
  67. 67. Project id: 2299 | O SELF TACIT ZONE 0 Geofence 6 Geofence Edit Trigger Radius (in meters): 50 Name TEST Profile Home Priority 1 Location H Civil Hospital Location Latitude: 21.52104°, Longitude: 70.45774“, Radius: 50m Time i, . W" '”“"’“aie Start-Ti me + Ignored _ End-Time Google Fig. 3.10 : Geofence/ Location <1 This Section used for Set Geofence by Google map , Geofencing done using the radius from the latitude and longitude.
  68. 68. Project id: 2299 | G SELF TACIT ZONE 6 Settings Permanent Notification Enables the permanent notification in the status bar to change profiles quickly. Trigger Timeout Ask every time Language Enghsh ROOT Enables root access, which allows additional settings. Install as system-app Fig. 3.11 : Settings Figure shows settings of the app which includes Permanent Notification , Settings for Root Device , Language , About Developer
  69. 69. Project id: 2299 | SELF TACIT ZONE o Permanent Notification: ‘Ill? ’-, IlI| i %tttu‘t: v' fl; i'lt: ti ‘ T 0 Self Tacit Zone - Default Touch to change profile USB debugging connected Touch to disable USB debugging. Connected as a media device Touch for other USB options. {mail ; I|t: I‘oit: i.-mu : tIt0I= l~‘l~‘; 'i'liIloti-. '.I| lu'i'L~ l— = t-i-liiiolmll aiaiflatgtr. IIl:1"t= I|l ‘-L‘. =1'A~I‘(= lIIv: |,ul, ui ‘l tatani '_r‘. ;teIitIl_ . iVilol: Ill. : Fig. 3.12 : Permanent Notification Figure shows how Permanent Notifications shown in application with current Profile .
  70. 70. Project id: 2299 | SELF TACIT ZONE a Popup For Change Profile El 1" ilrii -P‘: z_ it slim ‘r- ctatiiltuta P'= IIIIt: IIt= IIIi fitoiiiflttilllolli annihilate iii: ~pi: lIm: lnt: lnl ntotiirtontlimuin liI‘- ‘/ l anttuiesiinl tu—olil: ltut: .iylmiltu: -qiultolittti C“ "llllfliflrtli-‘ : i ; Ili’lili= l= i=it: .ttlti l-‘tomtei tVlt= i=t‘limi Fig. 3.13 : Profile Popup Figure shows Popup for change Profile instantly when set permanent notification.
  71. 71. Project id: 2299 | 0 SELF TACIT ZONE 0 Language I § Language System language O English O Cestina O Deutsch O Espafiol O Francais O ltaliano O Nederlands O Jezyk polski O Portugués <l Fig. 3.14 : Choose Language Figure shows various Language of the applications.
  72. 72. Project id: 2299 SELF TACIT ZONE o About ‘I. . , , ”. ‘ . ., ll‘I: Smart Assistant for you. .! C llitwfl-llrtls J Zrsltlzllalpiiliel 115815]: -". 'l| l,| l IV: :l: l!Il'£I| I' -'10}-‘till’/ : Fig. 3.15 : About Fig. shows that about screen which includes Name of Application with Version name and also Developers Name.
  73. 73. Project id: 2299 I @ SELF TACIT ZONE 3.3 TESTING 3.3.1 Testing Plan An Application project test plan is a document that describes the objectives, scope, approach, and focus of a Application testing effort. The process of preparing a test plan is a useful way to think through the efforts needed to validate the acceptability of Application. The completed document will help people outside the test group understand the 'why' and 'how' of product validation. The purpose of Test Plan is to serve as the Test Approach for the “Self Tacit Zone”. The Test Plan aims: / To define over all scope of the testing. / To identify the target test items. / To define the different testing approaches that will be followed during the testing phase. / To identify the different deliverables of the testing. / To detail the activities, dependencies and effort required to conduct the Testing. / To define various criteria needed to conduct the test. 0 Sco c All the testirlfg will be done according to the program specifications and requirement study document. Each of the requirements, mentioned in the Requirement analysis will be tested by unit testing, which also indirectly will do the requirements validation. We will be carrying out Unit Testing, Integration testing, and System Testing . All the testing will be manual and no automated testing tool will be used. 0 Intended Audience Project Manager, Developer, Tester 3.3.2 Testing Strategy Testing strategy is a general approach to the testing process rather than a method of devising particular system or components tests. Different testing strategies may be adopted depending on the type of system to be tested and the development process used. So considering xi? "
  74. 74. Project id: 2299 I @ SELF TACIT ZONE functional oriented nature of our website we will adopt the Top Down strategy for testing. 0 Top Down Testing The higher levels of our system we will check before testing its detailed components. The program will be represented as a single abstracted component with sub- components represented by stubs. So we will develop some basic stubs with having same interface as the components but with very less functionally. After the top— level components have been tested, its sub- components will be implemented and tested in the same way. We will carry this process recursively until the bottom level is implemented. 0 Reasons For Choosing Strategies: / Unnoticed design errors may be detected at early stages in the testing process. As these errors are usually structural errors, early error detection means that extensive re—design and reimplementation may be avoided. / Another advantage is that a limited, working system will be available at an early stage. 3.3.3 Testing Methods 0 Introduction The focus of our test strategy was primarily functional and end—to—end testing due to the limited development time frame, novelty of the platform and the sheer variety and number of components involved. The Android SDK provides a set of integrated development and testing tools that include a built in emulator, debugger, logger, and device drivers that allow running applications on an Android phone. The emulator was used extensively in the initial development and testing of Self Tacit Zone. 0 Testing User Interfaces : User interfaces in Android are typically specified as XML layout files consisting of parameterized View objects instantiated at run-time. Similar to HTML tags, the names of XML elements and attributes correspond to that of View classes and instance variables in the Android framework. Most of the design and testing of Uls in Self Tacit Zone was done using the DroidDraw tool, a 3rd party view editor that runs as a standalone Java executable [T]. It allows creating views graphically and generates the underlying XML code. Rather than use the tool for creating views, we used the tool more for validation of our XML layouts. It allowed quickly tweaking View objects and parameters in XML and ‘X
  75. 75. Project id: 2299 | @ SELF TACIT ZONE observing the resultant output, ideal for iterative code development. In addition, since the View objects are instantiated at run—time, the Android emulator itself allows hot- swapping the XML layout files without re—installing and re—running the entire application, provided the underlying Java code is not changed. On occasions, this method was used for testing small changes in UI layout. 0 Database Testing : Self Tacit Zone uses SQL databases for managing reminders and bookmarks. In order to test the basic Create, Read, Update, Delete (CRUD) operations on these databases we used the built-in Android Debug Bridge (ADB) tool [U] which is part of the Android Studio. The ADB tool is client—server program that allows communicating with the emulator or device over TCP network ports via a client—side shell. This makes it possible to examine state of the database from a remote shell using the sqlite3 command line tool and execute SQL commands [V]. 0 Stress Testing The Android platform provides a built-in Monkey tool [W] which runs on the emulator or device and allows sending pseudo—random sequences of events to the application via the ADB shell. We used this tool for stress testing app by sending 1000 sequences of random events to it which include button presses, random data entries, scrolling, screen transitions, navigation between Activities, etc. The figure below shows a screenshot of a partial command line execution of the Monkey tool on Self Tacit Zone. C: UsersKPzZ>adb shell monkey —p com. kpzz. se| ftacitzone —v1000 : Monkey: seed: O count:1000 : A|| owPackage: com. kpzz. se| ftacitzone : Inc| udeCaIegory: android. intent. caIegory. LAUNCH ER : lnc| udeCategory: android. intent. category. MONKEY / / Event percentages: 0: 15.0% : 0.0% 2 15.0% : 25.0% : 15.0% / / / / / / / / / / / / / / / / Fig. 3.16: Using Monkey tool to generate pseudo—random events We used the Monkey tool to stress test app on both the emulator and an actual phone. We found no unexpected application crashes, unhandled exceptions or “application not responding” errors. All operations were successfully completed including persisting reminders and bookmarks to the database. 0 Simulating Mobility Since Self Tacit Zone is a location—based application, the ability to simulate mobility 1 ‘ n
  76. 76. Project id: 2299 | . SELF TACIT ZONE is central to testing most of its core features. The Android SDK provides Dalvik Debug Monitor Server (DDMS) tools [V] which connect to the ADB service described above and provides a communication bridge between the Android Studio IDE and the emulator or phone. As shown in the figure below, the DDMS Perspective in Eclipse provides Location Controls which allow sending location coordinates to the emulator manually, or playback/ stream the GPS route information at varying speeds using GPX or KML file [V]. | B Emulator Control 2’) 3 17 Location Controls ‘ Manual Gpx KML 0 Decimal Sexagesimal Longitude -12.084095 Latitude 37.422006 Send Fig. 3.17 : DDMS location controls 0 Unit Testing We independently unit tested and validated the supporting classes in com. kpzz. selftacitzone. lib package, which are designed to provide re—usable functionality used across different features such as Geo fence the location (GeofenceUtils) . Field Testing Self Tacit Zone was field tested on, Moto G2 , an Android powered mobile phone with Android 5.0.2 OS. Using the app on an actual handset in real life scenarios revealed some interesting insights which would have been otherwise difficult to detect in a simulated environment. For example, initially we used meters, instead of miles to specify the radius of the Profile zone. During actual usage, we found that Profile would not trigger when they were supposed to. At first this appeared strange, since a thorough re—testing of the tracking algorithm in the profile service did not reveal any issues. We realized later the reason the profile alerts were not triggering was because the profile zones were never really being entered or exited. Some of the issues involved were: meters is too fine grained for defining reminder zones. This led us to use miles instead, and set the default reminder radius to a quarter mile, in order to compensate for the crudeness inherent in geofencing. According to Hartnett’s article [30], the Google Geo—fence can be off by 509 feet on average or 155.14 meters. Moreover, miles is a more natural unit of measurement for this purpose as most Americans tend to think of distances in miles rather than meters.
  77. 77. Project id: 2299 I @ SELF TACIT ZONE 3.4 PERFORMANCE ENHANCEMENTS In this section we briefly discuss some of the key performance enhancements and feature improvements made in the course of developing and testing the Self Tacit Zone application. 3.4.1 Real-Time Location Updates : During real—world testing and evaluation of Self Tacit Zone app on an actual Android phone, we identified a performance issue in the implementation of Search location, where if the user is mobile (ex: driving or on the bus) while using the feature, the Activity would continually attempt to update the user’s location displayed and they not retrieve actual location . The crux of the problem was to update and display the user’s current location in timely manner while minimizing continual location updates that cause the app to crash. 3.4.2 Network I/0 & Memory Usage network queries to fetch the URLs to Google Map directions. To minimize run-time overhead and network bandwidth utilization where possible, these URLs are not obtained and stored beforehand. Instead, they are obtained on-demand at the time when the user requests them. 3.4.3 Database Querying & Filtering The ProfileFragment periodically sifts through the reminder database to determine when to trigger profile alerts. To help reduce the search time, we use SQL WHERE clause to filter out the “enabled” reminders and only iterate through them. As an added optimization feature, we can potentially galso use the WHERE clause to query for reminders whose reminder zones contain the user’s current GPS location, in order to further reduce the search size.
  78. 78. Project id: 2299 | SELF TACIT ZONE 4 SUMMARY ozo Summary of Project ozo Scope of Future work 9 .9 Unique Features
  79. 79. Project id: 2299 | @ SELF TACIT ZONE 4.1 SUMMERY OF PROJECT Basically We have to complete this Work successfully and it’s the fantastic experience to implement this kind of the application which is useful for all kinds of people and generation, because it’s Very useful for regular person who have time is very important. They are several Application is available in Android Store but which are may Chargeable , may have less features , may not work proper . hence Self Tacit Zone is very useful for User. 4.1.1 Advantage of work Easy to understand Easy to maintain database and less memory reserve Sync task schedule with your trigger All task you managed by specific location and time. Time and location are sync with each other ‘x I
  80. 80. Project id: 2299 | SELF TACIT ZONE 4.2 SCOPE FUTURE WORK Synchronized Google calendar with application for scheduling. To remind your every day’s small to biggest activities by location. You get notify when you pass from colleges, shopping malls, or cinemas to get their deals and some exciting offers. Get remind with your favorite TV shows, lectures, radio shows. And special thing is for parents to track they child by location and mother can check the routine schedule of their little bit child. / Give the advertisements to user by their tasks and interest. ‘x I
  81. 81. Project id: 2299 I @ SELF TACIT ZONE 4.3 UNIQUE FEATURE: Self Tacit Zone is an intelligent profile app for Android. It's meant to be an Free alternative to wellknown apps like LLama and Tasker. which still offers some unique features. PROFILES Self Tacit Zone allows you to create, manage and apply profiles which can contain the following settin gs: 0 Sound: / Ringer Mode / Ringtone& Notification Volume / Media Volume / Alarm Volume 0 Connectivity: GPS Mobile Data WiFi Bluetooth 0 Display: / Automatic Brightness / Brightness / DisplayTime Out There are also some features which are unfortunately only available for rooted phones like NFC, Airplane Mode and Lockscreen. o Triggers Furthermore the app offers trigger management. A trigger basically defines a rule for the automatic application of selected profiles. The user is able to create said triggers and to use them for his daily workflow. A trigger can contain the following rules: J J J J J Location (Geofence) Time (Exact time or time range) BatteryState Battery Level (Exact level or level range) HeadphoneState These rules can be freely combined (e. g. at a certain location AND a certain time). 1 ‘i
  82. 82. [M B] W] D] E] [H [W [H W W [H [U [M] W] [W [H [W [N [M [N [W [W [W] R] REFERENCE U. Government. (1999) Global Positioning System. [Online]. www. gps. gov Wi-Fi. org. (2010) Wi—Fi Alliance. [Online]. http: //www. wi- fi. org/ discover and learnphp Federal Communications Commission. (2002, Nov. ) Third Generation Wireless Systems. [Online]. http: //www. fcc. gov/3G/ #sec2 HowStuffWorks. com. (2001, Sep. ) How do touch-screen monitors know where you‘re touching? . [Online]. http: //computer. howstuffworks. com/ question716.htm Bluetooth Special Interest Group. Bluetooth. org. [Online]. https: //www. bluetooth. org/ apps/ content/ Wikipedia. org. (2010, Oct. ) Accelerometer. [Online]. http2// en. wikipedia. org/ wiki/ Accelerometer D. Rusling, The Linux Kernel. Berkshire, United Kingdom, 1996. [Online]. "http: //tldp. orgLDP/ tlk/ tlk. html" Whatsapp Chatapp for smartphone Android Studio. [Online]. https: //developer. android. corn/ sdk/ index. html Spiral Model[Online]. http: //en. wikipedia. org/ wiki/ Spiral model OOAD, UML, SDLC , gantt Chart [Online]. http: //en. wikipediaorg/ wiki/ Software development process Software Development [Online]. http: //en. wikipedia. org/ wiki/ Software development _process Google Developer Console [Online] http2// developer. android. com/ guide/ basics/ what-is-android. html Motorola Moto G2 [Online] Android 5.0.2 Lollipop Google Inc. (2007, Nov. ) Android API Reference. G. Inc. (2010, Nov. ) Android Developer Guide. [Online]. http: //developer. android. com/ A. D. Team. (2007, Nov. ) YouTube presentation. [Online]. http2// www. youtube. com/ watch? v=Mm6Ju0xhUW8 S. Hashimi, S. Komatineni, and D. MacLean, "Pro Android 2," in Pro Android 2. New York, US: Apress, 2010, ch. 1, pp. 10-11. Google Inc. (2010) Google Code Web Search API. [Online]. http: //code. google. corn/ apis/ ajaxsearch/ documentation/ reference. html brendan. d.burns. DroidDraw. [Online]. http: //www. droiddraw. org/ Google Inc. (2010, Nov. ) Android Developers. [Online]. http2// developer. android. com/ guide/ developing/ tools/ adb. html Google Inc. (2010, Nov. ) Android Developers. [Online]. http2// developer. android. com/ guide/ developing/ tools/ adb. html #sqlite Monkey Tool Google Inc. Google Code Project Hosting. [Online]. http: //code. google. com/
  83. 83. i. PERIODIC PROGESS REPORT Student Name : Parthik Poshiya En. No. : 111020107004 Periodic Progess Report : First PPR Project : Self Tacit Zone Status : Reviewed (Freeze) What Progress you have made in the Project ? we have to add future technology into the project like to keep the general record of the user manse daily route of their work or traveling . and also we have to complete the over all design part of the project but its dynamic so it might be change at run time. What challenge you have faced ? we have to face the challenge into implement the map view and map related action like in map version—2 we have to change some methods so we have to first understand that things and and then implements . And main thing is that my project is IDP so at many time user or client have to change their mind and tell us to change into the application. so many times we have to face the problems. What support you need ? Yes, this field is very important for us , we have to take many kinds of the helps and support for to develop the map renders and to do attractive app so design is also in under of the support and guides. Which literature you have referred ? https: //www. pettracker. com/ sites/ defaulfl. ../ Tagg_UG_February20l3.pdf — we have to show this manual and we learn from it. stackoverflow. corr1/questions/ ... /very—easy—android—geofence— example , https: //github. com/ Esri/ geotrigger—sdk—android : — finally from this tutorial we have to teach that how to fence the location and give it to fence for perform some action. Comment by Internal Guide : Do some more literature survey on location based application
  84. 84. Periodic Progess Report : Second PPR Project : Self Tacit Zone Status : Reviewed (Freeze) What Progress you have made in the Project ? we have to cover up many kinds of designing area of our application and also clear part of the action perform on location and the main thing is that all design part is over now and we have to code the basic activities of our app . What challenge you have faced ? in design part we have to face the main challenge is attraction of people and make the perfect design which attract the people and the main thing is functionality of project is kept in our hand no side effect of the design in that. What support you need ? we have to take the functional support from the android's portal git-hub and refer some magazine and look up for some code . Which literature you have referred ? we have to refer one or more tutorial that based on location from UDACIT Y program by google android. Comment by Internal Guide : Proper analyze requirement of your user and then design
  85. 85. Periodic Progess Report : Third PPR Project : Self Tacit Zone Status : Reviewed (Freeze) What Progress you have made in the Project ? Almost we have to done most of design and code also now it's time to do some little bit parts of design and code also it means some changes that we have to do at last of the full work done. ... l What challenge you have faced ? at this stage we have no much more problems that we expected but it goes smoothly so at this time we have no problems related to the project and regard to the part of module. What support you need ? basically this module is simple and easy so no support we have to need to implement this module because of in this last changes we have do so basic external need. ... . Which literature you have referred ? l) https: //developers. geoloqi. corr1/ 2) http: //www. javacodegeeks. corr1/20l0/09/android—location— based—services. html 3) https: //developer. android. corr1/training/ location/ geofencing. html Comment by Internal Guide : Design proper UI and test compatibility of design
  86. 86. Periodic Progess Report : Forth PPR Project : Self Tacit Zone Status : Reviewed (Freeze) What Progress you have made in the Project ? At the end of the project and it's small changes we have to take whole project under the testing schedule so we have to go for it and if any problem or error occured at the time of the testing then we have to solve them at the prefered time duration. So this overall process of the project is allmost finish but some touching is remaining that is done in to A week. What challenge you have faced ? problem is there now we have to finish all thigs but some times location get by the GPS is wrong or slightly difference between pure location so thats why we have to face problem to test the app. . What support you need ? yes we have to take the need from other resources like android developer and git repository so we have to study this all the kinds of the material related to the location based simulation. Which literature you have referred ? https: //developer. android. com/ training/ testing. html Comment by Internal Guide : test it using real time situation and location
  87. 87. Periodic Progess Report : Additional PPR_1 Project : Self Tacit Zone Status : Reviewed (Freeze) What Progress you have made in the Project ? All Given Suggestion by Guide due to forth PPR is Completed , Now we think about Future Expansion What challenge you have faced ? we have face to make Attractive Design , but now have create best UI as possible! What support you need ? we take support of Senior Android Developer Which literature you have referred ? https: //developer. android. com/ guide/ topics/ ui/ Comment by Internal Guide : Good work.
  88. 88. Student Name : Keyur Hudka En. No. : 121023107013 Periodic Progess Report : First PPR Project : Self Tacit Zone Status : Reviewed (Freeze) What Progress you have made in the Project ? we have to add future technology into the project like to keep the general record of the user manse daily to complete the over all design part of the project but its dynamic so it might be change at run time. What challenge you have faced ? we have to face the challenge into implement the map view and map related action like in map version- first understand that things and and then implements . And main thing is that my project is IDP so at man; tell us to change into the application. so many times we have to face the problems. What support you need ? ya this field is very important for us , we have to take many kinds of the helps and support for to develop is also in under of the support and guide‘s. Which literature you have referred ? https: //www. pettracker. com/ sites/ default/ ... /Tagg_UG_February2013.pdf — we have to show stackoverflow. com/ questions/ ... /very-easy—android—geofence—example , https: //github. com/ Esri/ geotrigge to teach that how to fence the location and give it to fence for perform some action. Comment by Internal Guide : Do some more literature survey on location based application
  89. 89. Periodic Progess Report : Second PPR Project : Self Tacit Zone Status : Reviewed (Freeze) What Progress you have made in the Project ? ya now in second part we have to do the all kinds of function related to the client's or users that have use ( user need like launch some app on some location, remind by notification at some location , perform som to put in to the action area of the application What challenge you have faced ? we have to face this time less challenge but still some things are like as challenge that is we decide to la the required code or related learning materials. . What support you need ? we have to show some code of related app that have been made into the git-hub and find some extra solul Which literature you have referred ? we have to refer one or more tutorial that based on location from UDACIT Y program by google android. Comment by Internal Guide : Proper analyze requirement of your user and then design

×