Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Update TTS notification #1322

Open
wants to merge 1 commit into
base: master
Choose a base branch
from

Conversation

EnmanuelReynoso23
Copy link

@EnmanuelReynoso23 EnmanuelReynoso23 commented Nov 3, 2024

Add new activities and services to the AndroidManifest.xml and initialize them in LibreraApp.java.

  • TTSNotification.java

    • Add updateNotification method to update the notification with new content.
    • Modify show method to call updateNotification instead of creating a new notification.
    • Add createNotificationBuilder method to create a NotificationCompat.Builder instance.
  • LibreraApp.java

    • Import new classes for progress tracking, reading groups, survey management, reading timer, reminder management, night mode management, book recommendations, and notification services.
    • Initialize new features in the onCreate method.
    • Add methods to handle notifications and background tasks.
  • Prefs.java

    • Add methods to store and retrieve progress tracking data.
    • Add methods to store and retrieve reminder settings.
  • New files

    • Add ProgressTracker.java, ReadingGroup.java, SurveyManager.java, ReadingTimer.java, ReminderManager.java, NightModeManager.java, and BookRecommendation.java to handle new features.

For more details, open the Copilot Workspace session.

Add new activities and services to the AndroidManifest.xml and initialize them in LibreraApp.java.

* **TTSNotification.java**
  - Add `updateNotification` method to update the notification with new content.
  - Modify `show` method to call `updateNotification` instead of creating a new notification.
  - Add `createNotificationBuilder` method to create a `NotificationCompat.Builder` instance.

* **LibreraApp.java**
  - Import new classes for progress tracking, reading groups, survey management, reading timer, reminder management, night mode management, book recommendations, and notification services.
  - Initialize new features in the `onCreate` method.
  - Add methods to handle notifications and background tasks.

* **Prefs.java**
  - Add methods to store and retrieve progress tracking data.
  - Add methods to store and retrieve reminder settings.

* **New files**
  - Add `ProgressTracker.java`, `ReadingGroup.java`, `SurveyManager.java`, `ReadingTimer.java`, `ReminderManager.java`, `NightModeManager.java`, and `BookRecommendation.java` to handle new features.

---

For more details, open the [Copilot Workspace session](https://copilot-workspace.githubnext.com/foobnix/LibreraReader?shareId=XXXX-XXXX-XXXX-XXXX).
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant