Giter Club home page Giter Club logo

lschmid83 / 12-step-recovery-guide Goto Github PK

View Code? Open in Web Editor NEW
44.0 3.0 0.0 87.07 MB

This is an Android app written in Java and Android Studio. It provides 12-Step reading materials, daily quotes, meditations, motivational images, a meeting map and speaker tapes.

Home Page: https://www.citexsoftware.co.uk/recovery-meeting-finder

Java 43.37% HTML 56.63%
12-step alcoholics-anonymous android-application android-studio fragments java material-ui open-street-map reading-list audiobooks filters prayers readings

12-step-recovery-guide's Introduction

12-Step Recovery

12-Step Recovery is an Android companion app for recoverymeetingfinder.com. When it is finished it aims to provide reading materials, daily quotes, reading material, motivational images, an in-person meeting map and motivational speaker tapes.

This repository contains the source code for the Android Studio Java project.

We are looking for contributors who want to help finish the app. The issue list outlines the features which still need work or have not been implemented yet.

Here are some screenshots of the app runnning in development mode:

The app can be downloaded from the Google Play store here.

You can view a demo video of the app here.

Unfortunately the latest version of the app with the meeting finder was not accepted by Google Play for Mental and Behavioural issues despite me adding a health declaration which documented all of the issues using the app relates to. Due to work time constraints I have decided to leave it unpublished and focus on my career.

Note

If you want to work on the unfinished Meetings, Audio, Program or More fragment implementations:

Uncomment the fragment you want to work on in res/layout/menu/bottom_nav_menu.xml

12-step-recovery-guide's People

Contributors

lschmid83 avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar

12-step-recovery-guide's Issues

The Meetings fragment view search results as list does not display search results

In the Meetings fragments in the top right corner there is an icon which switches between map view and list view for the search results. Currently the view as list option only displays the search result title but no actual results. This is probably more of an issue with the Recovery-Meeting-Finder Angular website project in the src/app/mobile-search-results component.

Add copyright notice to the Readings fragment

The following eBook are under copyright restrictions:

Alcoholics Anonymous Big Book
Narcotics Anonymous Basic Text
Twelve Steps and Twelve Traditions
Living Sober
Daily Reflections

There needs to be a notice which explains that these PDF files are not hosted by myself or stored within the apps data and that the readings are opened using a PDF reader from the official organisations websites similar to how a web browser would access them to avoid any copyright issues.

Daily image is not updating or currently retrieved from the web on the Home fragment

The daily image is supposed to change to a random image every time the user opens the Home fragment. The code is mostly in place to do this but needs some work. I have decided to package all of the daily images with the app itself instead of downloading them from my website as that requires access to the internet and means it takes time for the image to appear. The code which handles this can be found under ui/home/HomeFragment.java ln.310. It can be greatly simplified instead of only producing a different image every time the date changes using a database value it can simply be a new random image every time the screen is displayed. The images themselves can be found in the assets/daily-image folder.

Daily image share button on the Home fragment is not working

The Home fragment Daily Image share button which allows the user to send the image to a contact is not working. I have already implemented this feature and it was working before but something has changed and now it does not work at all. The code can be found under ui/home/HomeFragment.java ln.679.

Implementing a Google Drive backup system for app settings and book notes

I would like to implement a system similar to how WhatsApp creates backups and restores chat history from Google Drive. In the More fragment there would be an option to backup the app data if the user uninstalled or bought a new phone then on the app first run initialisation it would search for a backup and ask if you want to restore it. The backup would contain the users sobriety date, which step they are currently practising and any notes they have made to the reading materials.

More fragment has not been implemented

Currently the More fragment is just displays an empty screen. This fragment was designed to give the user access to additional app information and settings. I would like to have an option to display copyright information and add a donate, monthly subscription or remove adverts in app purchase. In future if the add notes to book pages feature was implemented it would be nice to offer an option to backup the data to the users Google Drive similar to how WhatsApp backs up messages so that if the app is uninstalled or the user gets a new mobile phone they don't lose their important book notes.

Workaround for getting the URL of public SoundCloud streams in Audio fragments

In the Audio fragments the official AA audio books for the Basic Text and 12 Steps and 12 Traditions have to be streamed from the official website as they are under copyright. They are using SoundCloud to host the files. It is not straightforward to access the audio as it is embedded as a widget in their webpage. I have done some research into this and there is a way to bypass the SoundCloud authentication and protection and get a URL for the actual .mp3 stream. There is some information on this here https://stackoverflow.com/questions/68732261/soundcloud-get-direct-audio-url.

Implement AdMob advertising to generate revenue in all fragments

I would like to implement a small advertising banner displayed at the bottom of every fragment in the app which updates when the user selects a tab. It could also be possible to display a full screen advert at random intervals based on how long the user has spent using the app. If this was implemented there will be a subscription system for say £20 a year which removes all advertisements from the app for subscribers or potentially a monthly subscription for say £2.50 to access the meeting finder map and additional app features similiar to the PinkCloud meeting finder app avaiable.

Implement add notes to eBook PDF pages in Readings fragments

I would like to add a feature to the Readings fragments where users can add notes to pages of the readings basic text PDF eBooks. I have thought about this and it should be relatively easy to add a button similar to the already existing Go To Page in the top right corner of the eBook reader. This would open a simple fragment with a text entry box to add notes which could then be saved to the MySQL database. There is an issue where if this feature is every implemented there must be a method of backing up the data so that users don't lose their important notes.

Implementing audio playback, notifications, album art for speaker tapes in Audio fragments

The Audio fragments need a lot of work. Currently it displays a list of sources of audio to stream from the web with URL for each speaker tape. I did begin implementing a fragment to play the audio files which is approx. 50% complete but non-functional at the moment. I had problems with the audio notification system and playing audio in the background while the app is not active. If anyone is familiar with streaming audio and the notification system it would be a great help if they could take a look at the code. All of the code for the audio book and speaker tape playback can be found in the ui/audio/ namespace.

Readings fragments is not finished apart from AA section and contains placeholder text

The readings fragment allows users to browse the suggested literature and reading material and even search for a page in the PDF files and split the document into sections. I have finished all of the Alcoholics Anonymous readings and it can be used as an example. The other fellowships still need some work. The first priority would be to fix the handing of Go To Page for front-matter pages using the convert roman numerals into page numbers function for the Narcotics Anonymous Basic Text as this is the only remaining eBook which is still not complete. The rest of the work is to generate HTML files for the meeting opening / closing etc.. readings based on the text found in the Recovery-Meeting-Finder website pages.

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.