Git Product home page Git Product logo

quitsmoking's People

Contributors

aloha68 avatar daupawar avatar igor-cali avatar mesnevi avatar naofum avatar nuxnik avatar scoute-dich avatar vistaus 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  avatar

Watchers

 avatar  avatar  avatar  avatar  avatar

quitsmoking's Issues

Debug build is broken: package android.support.* does not exist.

In ba68ed5 com.android.support* dependencies were removed:

dependencies {
    compile fileTree(dir: 'libs', include: ['*.jar'])
    testCompile 'junit:junit:4.12'
    compile 'commons-io:commons-io:1.3.2'
    compile 'com.android.support:appcompat-v7:27.0.2'
    compile 'com.android.support:support-v13:27.0.2'
    compile 'com.android.support:design:27.0.2'
    compile 'com.android.support:cardview-v7:27.0.2'

which results in errors like the ones below

/home/mesnevi/qsmoke/src/main/java/de/baumann/quitsmoking/helper/helper_main.java:31: error: package android.support.design.widget does not exist
import android.support.design.widget.Snackbar;
                                    ^
/home/mesnevi/qsmoke/src/main/java/de/baumann/quitsmoking/helper/helper_main.java:32: error: package android.support.v4.content does not exist
import android.support.v4.content.FileProvider;
                                 ^
/home/mesnevi/qsmoke/src/main/java/de/baumann/quitsmoking/helper/Activity_EditNote.java:11: error: package android.support.annotation does not exist
import android.support.annotation.NonNull;
                                 ^
/home/mesnevi/qsmoke/src/main/java/de/baumann/quitsmoking/helper/Activity_EditNote.java:12: error: package android.support.design.widget does not exist
import android.support.design.widget.Snackbar;
                                    ^
/home/mesnevi/qsmoke/src/main/java/de/baumann/quitsmoking/helper/Activity_EditNote.java:13: error: package android.support.v7.app does not exist
  • various 'cannot find symbol'.

Wrong chart in the Health tab

Hi,
As you can see in the screenshot below, all charts are full (or empty I don't remember the color code :)).
Version 2.4 but I can't say if it happened since this version or an older one.

capture

Debug build is broken: resource xml files collided.

Android Gradle plugin 3.6 introduced a new packaging tool zipflinger for building the debug versions of the app. To avoid errors like "Entry "*.xml' collided" while packageDebug, official documentation suggests to switch back the old packaging tool by including in gradle.properties android.useNewApkCreator=false. This, however, results in

installDebug error: Failed to parse APK file android.content.pm.PackageParser$PackageParserException: Failed to parse /data/local/tmp/quitsmoking-debug.apk

Excluding resources xml files while packaging is out of question.

Crash while adding image to goals

Expected:
The app adds an image to the already added goal.

Actual:
The app crashes.

Reproduce:

  1. Go to GOAL screen with an already existing goal.
  2. Tap the image-icon in the top right of the goals screen.
  3. Select 'Choose image'.

Version: 2.5 via F-Droid
Device: Motog 5+ Potter
OS: ArrowOS v9.0

Missing strings in strings.xmls

Since all the strings are added manually and then are translated from time to time and added to different locales manually, too, their content differs. This results in errors:

> Task :processDebugResources FAILED

FAILURE: Build failed with an exception.

* What went wrong:
Execution failed for task ':processDebugResources'.
> A failure occurred while executing com.android.build.gradle.internal.tasks.Workers$ActionFacade
   > Android resource linking failed
     /home/mesnevi/qsmoke/src/main/res/layout/fragment_health.xml:434: AAPT: error: resource string/health_header10 (aka de.baumann.quitsmoking:string/health_header10) not found.
         
     /home/mesnevi/qsmoke/src/main/res/layout/fragment_health.xml:575: AAPT: error: resource string/health_header13 (aka de.baumann.quitsmoking:string/health_header13) not found.

This caused by missing string in src/main/res/values/strings.xml:
<string name="health_header10">Heart attack</string>

About License and redistribution

I just wanted to know if I can use the source code for my project and redistribute it (after modification) mentioning the source in About page.

App keeps telling me to "Configure in settings"

Hi,

I've filled out the date and time I smoked my last cigarette, but instead of some statistics, the Overview screen shows me a lot of "Configure in settings".

I use international date format, if that matters.
I had to enter 2300 as the time, because the numerical keyboard that popped up to enter the time doesn't have a :Since I don't get any error messages, I assume what I entered is correct.

Let me know if you want some screenshots, a logcat or other further info.

Thanks!

Goal tab: 'not_set' message is tripled.

If no goal is set in Settings, 'not_set' message is tripled in Goal tab screen (you see the same "Configure in Settings" message as a header, description text 1 and description text 2, please check screenshot for convenience.
screenshot_20180611-155657

PLEASE GUIDE ME!

Sir I am university student and i also want to make such app for youths .
So could you please tell how should I proceed

Health tab: "reached in:" is false in days (french translation)

Hello!

I don't know if it is the app or the french translation, but for the health goals reached after one day at least, the count down of the first day (24h) doesn't happen.

For example, the 3rd health item, infarctus, after 5 minutes of not smoking, shows: "reached in 1 day 23h 55 minutes", although its description says (1 day) so it is supposed to be reached in 24h 55 minutes after 5 minutes not smoking.

One could argue that we should just forget that 1 day inacuracy but psychologically it is quite demoralizing to see this once you reached the 2 first health goals!

Really thank you for the app!
Been using it for a week, i didn't stop smoking yet but now i look at the app when i want to smoke and it makes me last a few hours more before the next cigarette. Really hope i'll get to stop!

Get foreign currency types from system settings..

At the moment there are only Euro (EU), US dollar (USD), GB pound (GBP), and Japanese Yen. I suggest adding at least Chinese yuan (CNY) and Russian rouble (RUR), these are pretty popular currency types.

Probably it's worth adding other currencies, at least the ones for translation added.

App crash while saving a new note in the diary.

Expected behavior

When diary / note files are saved on the application, the application should continue to run.

Actual behavior

The application closes forcefully on its own when the diary / notes are saved.

How to reproduce

  1. Download the quit smoking app
  2. Launch the app
  3. Click on the reset timer button icon ( the icon that is next to the share icon in the top right corner of the app)
  4. Click on OK when the prompt message to reset time and date is displayed in the lower part of the screen.
  5. Click on the save icon on the top right corner.
    The application closes on its own suddenly.
  • Browser: quit smoking app version 2.5
  • Operating system: Android 6.0 infinix Note 3

Recording Of The Bug

https://youtu.be/haW7294BMYI



Posted on Utopian.io - Rewarding Open Source Contributors

Date in "health" tab displays +1 day

Hello,

most of the time I open my dashboard there are wrong numbers. E.g. after nearly one week (6 days and some hours, the "health" tab still displays 1 day and some hours for the 1 week achievement, which would result in 8 days but it does not make sense cuz a week has 7 days). So sometimes all achievement have exactly +1 day. Sometimes its correctly displayed but some other times when I open the app all achievements display +1 day. But everytime when an achievement is about to be fulfilled it is on the right time, just the countdown sometimes does not work. Probably there some error in the code.

Screenshot_20201209-103045_Nichtraucher
Screenshot_20201209-103054_Nichtraucher

Reset button (fail button)

Reseting last smoked time is hard. It'd be nice to have a reset button that resets the last smoked time, and shows a stats page on how you did compared to previous smoking brakes.

Details

  • show last 5 durations in minutes between cigarettes (maybe chart)
  • a recap of what you have achieved. (The health achievements in a row).
  • the next achievement you should try to reach in your next try

Not correct saved time

The app shows saved time in Hours but in the settings tab it asked for minutes! For all cigarettes or just time for one?!
Nice app)
PS: Is it possible to show some tips to quit or something?

[Feature request] Several periods of price

Hi,
The price of cigarettes will increase in France next year. To get a better idea of the money I saved it would be great to have several fields for prices which are linked to a period of time.

Example:

  1. From 01/01/2016 to 31/12/2016 => cost of one cigarette: 0.20 EUR
  2. Starting from 01/01/2017 => cost of one cigarette: 0.23 EUR

Number of cigarettes per day: 10
Number of days per year: 365

  1. 365 days * 2 year * 2 EUR = 1 460 EUR
  2. (Up to now) 187 days * 2.30 EUR = 430 EUR
    Total of saved money = 1 890 EUR

Thank you.

update to 2.1 broke data

Hello.

I just update to 2.1 from fdroid.
And after start my data are reset to 1970 years.
Any way to retrieve old files ?

Error in the original strings

<string name="health_description7">The entire blood circulation improves. The increased lung capacity by up to 30 \%, they can absorb more oxygen again. This increases the physical Performance. (3 months)</string>

The sign % doesn't appear in the app:
screenshot_20170616-082309

Can we simply remove \?

[Feature request] Italian translation

Hi, I've been using this app for a few days. It is pretty amazing and well done and I also think that localization can help it to grow. I am Italian, so I can translate in that language, but I am not a developer; could anyone tell me where to find the wordsheet? Thanks.

minor English tweaks

I have no idea how to do this the right way, but there are some English tweaks to be made in the "Health" section

see here

Does not update automatically

Hey,

this is my first "contribution" to Github. If I do something wrong, please excuse.

Unfortunately the app does not update when it is opened from the background apps. I have to close is completely and open it again, that it updates the statistics (saved money, saved time, saved cigarettes).

I use Lineage OS on an OnePlus Two.

App posted on Google Play, does not mention location of source

I noticed on the Google Play store that a quit smoking application with your same application ID, namely de.baumann.quitsmoking, is posted under the author Jolly Crab Studios.

https://play.google.com/store/apps/details?id=de.baumann.quitsmoking

I suspect that you did not authorize this developer to publish your work under their name, especially in violation of the GPLv3 as no link to the source code is provided. This developer did the same with another of my applications.

If you are interested, you may choose to ask Google to take down this application, if that is your wish.

https://support.google.com/legal/contact/lr_dmca?product=googleplay

FYI.

Time format

Hi,
Could you convert the time to smoke a cigarette in minutes instead of hours?
Thank you.

BTW a notification when we reach a new goal would be a great motivation :)

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.