Giter Site home page Giter Site logo

vharsoor / android-app--notification-manager-calendar-integration Goto Github PK

View Code? Open in Web Editor NEW
0.0 1.0 0.0 12.19 MB

Developed an app with kotlin featuring a notification manager allowing users to set a timer and selectively mute notifications from chosen apps. Integrated seamlessly with Google Calendar for convenient event planning and management within the same application.

Kotlin 100.00%
andriod-development andriod-studio kotlin

android-app--notification-manager-calendar-integration's Introduction

This app helps you focus by blocking distracting notifications and organizes your tasks and events with a calendar.
INSTRUCTIONS TO EXECUTE/USE THE APP:

  1. Generate OAuth 2.0 Credentials:
    a) Create/Sign-in into Google Cloud console and enable Google Calendar API.
    b) Generate OAuth credentials of the Web Application type, not Android.
    c) During the configuration of the OAuth consent screen, ensure to enable the required scopes auth/calendar.readonly & auth/calendar) and specify the project name exactly as it is stated in the Android manifest. (Ex: package="com.example.proj5")
    d) Utilize the Web Client ID obtained from OAuth and add/replace it in the "web_client_id" field in the strings.xml file.

  2. Add/show events from the Google Calendar:
    a) Enable all necessary permissions when the app is launched for the first time and sign into the corresponding Google account (following the prompt).
    b) Navigate to the calendar page and click on "Recent Events" to display your recent events from Google Calendar.
    c) On the page, to add an event, input the event summary/title along with the start date of the event (in the displayed format).

  3. To cancel/block the notifications from the distracting apps based on a timer:
    a) Enter the timer duration (in hours) and start typing the names of the apps from which you want to block notifications; a menu option will pop up for selection. b) If a non-integer value is entered in the timer, a toast error message will be displayed.
    c) Entering valid values will initiate the timer, blocking notifications from the selected apps until the timer expires.
    d) The UI displays the remaining timer duration and the list of blocked apps.

All the libraries required are included in the android Project.

android-app--notification-manager-calendar-integration's People

Watchers

 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.