Giter Club home page Giter Club logo

acd_android_project_1_to-do-list's Introduction

ACD_Android_Project_1_To-Do-List

This project tested my skills on android basic topics covered till now in the class.

Objective : This project helped me to master the following concepts ->
• activity
• intent
• menu
• dialogs
• database

Problem Statement : TO-DO Database : Create table with following entries. KEY_ID ---> INTEGER PRIMARY KEY
KEY_TITLE ---> TEXT
KEY_DESCRIPTION ---> TEXT
KEY_DATE ----> TEXT
KEY_STATUS ----> INTEGER Here KEY_STATUS will store value 0 by default whenever new task will be created marking the new task as incomplete.

  TO-DO List screen : a. Activity should extend the AppCompactActivity class.   
                      b. The layout should have a ListView in the XML and the same XML page should be set as the content View in 
                         the onCreate() method.   
                      c. Each list item will have 3 TextViews and an ImageView.    
                                     I. TextView 1: For the Title of the To-Do Task.   
                                     II. TextView 3: Description of the To-Do Task.   
                                     III. TextView 2: Timestamp or due date of the To-Do task.   
                      d. The entire list item should be sorted in ascending order based on the due date of each task.
                      
 Create options menu and dialog : a) Two menu items has to be created and these items have to be placed on the ActionBar.   
                                  b) Upon click on the Add item (plus icon) a dialog should pop-up asking for the details from the 
                                     user.
                                  c) The above dialog should contain two EditTexts, a DatePicker and two Buttons.   
                                  d) The EditTexts should at least have a minimum characters entered (Validation has to be taken care).   
                                  e) Upon click on save button the details has to be saved to the database.   
                                  f) Upon clicking on the list item, an AlertDialog box should be popped out with the prepopulated 
                                     values of the list item clicked.   
                                  g) If the changes are made to the list item and the same has to reflected in the ListView with 
                                     the database.     
                                  h) Upon the Long clicked on the List Item, items have to be marked as the completed task "1" 
                                     i.e. if in database the KEY_STATUS for that particular task is marked as zero and vice versa.   
                                  i) Upon the click of second menu item a new Activity has to be display which will be having a task 
                                     list of only completed task.  
                                  j) In the completed task list activity you should be able to delete the task on long press. 

I have made class to store the data about each item of List. I have created DBHelper class to create DataBase and EntryRepo class to perform CRUD operations on DataBase. I have created another Activity to show list of completed Entries. I have appropriately taken care of Click events and I have Displayed Toast wherever Required.

I have attached six screenshots based on different different event handlings or UIs. You can Identify them based on their names.

Project has been linked through git repository AVD emulator configuration Nexus 6 API 24 - Android 7.0 (Naugat). Screenshots of output is attached in repository. Source code of the Android App is uploaded in repository.

acd_android_project_1_to-do-list's People

Contributors

ashutosh1919 avatar

Watchers

 avatar  avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.