Git Product home page Git Product logo

nutritionfactsorg / daily-dozen-android Goto Github PK

View Code? Open in Web Editor NEW
265.0 36.0 95.0 60.5 MB

Keep track of the foods that Dr. Greger recommends in his NYT's best-selling book, How Not to Die with this Android app

Home Page: https://play.google.com/store/apps/details?id=org.nutritionfacts.dailydozen&hl=en

License: Other

Java 99.42% Shell 0.58%
nutritionfacts daily-dozen android how-not-to-die food-tracker health butterknife nutrition help-wanted

daily-dozen-android's People

Contributors

alibitek avatar armfoot avatar caugner avatar chankruse avatar christirichards avatar lahacker avatar lucab85 avatar movgp0 avatar myang310 avatar notmypassword avatar qyearsley avatar slavick avatar standielpls 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  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  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 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

daily-dozen-android's Issues

F-Droid

Please consider to include the app into F-Droid. F-Droid is an installable catalogue of free and open source software for the Android platform. It would be beneficial for both the app's popularity and for those users who prefer don't use Google Play store.

Currently, however, the app don't complies with their inclusion policy:

We cannot build apps using proprietary tracking/analytic dependencies like Crashlytics and Firebase. Please talk to upstream about an untainted build flavor (either using a FLOSS analytics software like ACRA or by removing non-free deps completely).

Are you interested in this? Thanks.

double counting?

If I eat 1 serving a kale, do I get to check off both cruciferous and greens? Or do I need to eat 2 servings and 1 counts for cruciferous and 1 for greens?

Add Multiple Reminders

Users are requesting the ability to add multiple reminders so they can set them at different times/meals. Right now, they have to go in and change their reminder time to reset the functionality they are looking for.

Chickpeas and Garbanzo beans are the same in Greek

In Greek we don't have two different words for this particular legume. We just have "Ρεβίθια". I have started translating the app and as of now I use the greek word twice as a solution.

What is the recommended way to handle this situation?
Thanks.

Daily Dozen Challenge

I suggested this feature for IOS (my current device of choice), but I think it would be great for Android users, too.

I just saw the video Dr. Gregor put out for the Daily Dozen challenge.

Idea: add some sort of competition with friends feature and share stats and challenges with each other. Facebook and Google authorization. Access to contact list to invite others to join through app without Facebook or Google account. Possible Fitbit API integration?

nutritionfactsorg/daily-dozen-ios#23

Half servings

It would be great to be able to do half servings, perhaps a single vs double click, cycling through. The checkmark could be different colors.

Translations?

Hi, It should be fairly easy to provide translation for other languages, as there is not much text in the app. Could you provide guidance on how we can contribute?
I am glad to contribute by translating it into Italian (my mother tongue).
Best,

change the default language

Hi,

Could we add a feature to change away from the default language?
Think somewhere in hte menu where we can change the Daily Remender Settings could be a good place to do that?

I have translated the English Strings.xml file to dutch, however lot of people in the Netherlands have there mobile phone set to English.

Some might even prefer the English daily dozen and have there phone to dutch

Thanks
GF

Add more cruciferous vegetables

Probably we should expand our cruciferous vegetables list with:

  • Savoy cabbage, Cone cabbage, Red cabbage;
  • Romanesco broccoli/cauliflower;
  • Colourful (green, purple, orange) cauliflower;
  • Kohlrabi;
  • Mizuna;
  • Napa cabbage;
  • Broccolini and Rapini;
  • Land cress and Garden cress.

Other suggestions are welcome!

B12 & Vitamin D

These supplements should not be overlooked and should be mentioned explicitly.

Add checkbox for the spices category

Currently, there isn't a way to track daily spice intake like the other categories. It would be helpful to add in a checkbox for this category to track how much is being consumed daily.

Ability to adjust recommendations

I know this may go against the spirit of the app, but I'd really like the ability to adjust the recs for personal preference. Maybe add a serving of beans or nuts or something like that.

It'd be extra nice if I could add my own items to be tracked! Maybe I want to make sure I specifically eat 2 servings of carrots or something...

barberries

Barberries are listed as a spice and as a berry. Is that correct? I would have thought that they were a berry since they look like raisins. Just curious.

Add three "servings" for exercise instead of one

We have quite a few users who are requesting that we break up the current single serving for exercise into three servings. Doing this will give our users a better sense of achievement upon completion and help them to feel like they are making more progress toward achieving their daily goals.

Translation management improvement

Thanks for adding the german language. I will work on the french translations using the value-de.xml template.
I have checked the IOS source code and it seems that the implementation of wording is quite different.
It would be good to find a way to harmonize translations files between both platforms.

Why not use a phrase app or any other platform to have the translation approved ?

Cross-Platform Inconsistencies

Dear Developers,

We have developed a technique able to find cross-platform inconsistencies (CPIs) in the UI of mobile apps. The technique combines input generation and differential testing to compare the behavior of an app on different platforms and identify possible inconsistencies. To evaluate our technique we used the app you developed and compared executions from more than 130 real devices present in the AWS Device Farm.

Attached to this issues you can find the CPIs we identified for your app. Some of the issues you might already be aware of. Please, feel free to follow-up if you have questions or comments about issues identified.

cross_platform_inconsistencies.zip

Adding a notification and "negative streak" when a category is missed a lot

I would be nice to get notified that I've been missing a certain nutrient a lot.
Ex: You haven't had any greens in 3 days! And greens in-app shows "-3" in a distinct color.
Some sort of "negative streak" would work well to show how many days I've been missing something. Just like the positive streak shows progress.

Plant based omega 3

Under supplements, with b12 and d3 it would be cool to have plant based omega 3. This has been covered in the blog at nutritionfacts.org

F-Droid link is not working

Daily Dozen app is not listed in F-Droid. The link to the app in README.md is not working and I also cannot find the app using the search engine inside F-Droid.

persian translation

hello,
please add Persian to your app.
if you need, I can translate strings and send them to you as soon as possible

Add in Contribution details to menu

To promote visibility for the current Android project, it would helpful to include an additional link to information on how to contribute to the project with a link to the Github repo and guidelines in the app side drawer navigation.

Blackness on screen on a Galaxy S2 (app version 12.1)

Hi!

Today I installed the app again after I while, as I managed to clear around 1 GB of internal memory due to this little trick that blew my mind (my phone was absolutely clogged, couldn't install anything, many times not even update).

Anyway, so when I installed the app, it looked like this:
screenshot_2017-06-05-17-19-44

There is that blackness. However, there isn't blackness anywhere else, just on the main screen.
Rest looks normal:
screenshot_2017-06-05-17-30-53
screenshot_2017-06-05-17-31-40
screenshot_2017-06-05-17-31-55

I have tried reinstalling the app a few times, but that unfortunately didn't fix the issue.

I am using version 12.1 of the app on stock Android 4.1.2 (Galaxy S2). I'm happy to gather more information if needed to fix the issue. :) Thanks for making and maintaining the app!

remove rice?

Shouldn't brown rice be removed from the list of whole grains based on the recent arsenic videos?

Inertial Scrolling

As a user, when I scroll up quickly and let go, I'd like for a long list of items to continue scrolling with inertia rather than stop immediately when I pick my finger up.

It currently doesn't do that in the lists of food under a category on Android at least.

Update README

Update README with new guidelines and removal of older information.

per day or per meal?

In the book, Dr Gregor mentions in passing that grains and legumes should be part of every meal. I can dig up the page if necessary. It would be nice to reflect that distinction in the app.

what if I'm more hungry?

Currently, the app seems to suggest a minimum quantity to consume. What if I meet the suggested intake and I'm still hungry? What is the most beneficial type of food to eat more of? Probably not nuts? Fruit?

In Daily Servings History graph, Servings bars ignore missed days but Moving Average does not.

image

Overview of the Issue - In the Daily Servings History graph, the bar chart for servings excludes days which have no check boxes ticked (in example above, dates from 7th Aug - 13th Aug are not filled in). The moving average is adjusted to include missed days. In the picture example, the moving average dips to 9.48 after a period of 0 serving days despite the displayed serving bars always being higher than that (to the left of this point, the lowest servings count is 12).

I would have expected the moving average to use the same base dataset as the servings bars. It seems potentially misleading to change whether missed days are considered significant or not on the same graph, especially if we're assuming these days are simply not filled in by the user, rather than them truly having 0 servings.

These missing days are intentionally being added into the moving average: this calculation exits in LoadServingsHistoryTask.java, line 92. I'd be interested to read the reason is behind this.

Android Version(s) - 8.0.0
Device Model - Samsung Galaxy A3
Daily Dozen App Version - 15.1

turmeric?

Why isn't there a separate checkmark for turmeric?

Provide a german translation

I've created a PR for german translations of the string resources. However, not all strings are currently put into translatable resource files, so there is some additional work to be done.

Explain what the app is about in the description

hello! :-)
i am a big fan of Mr. Greger, thanks for this!
I found the app on F-Droid, and the description there does NOT explain at all, what the app is actually about. It mentioned Dr. Gregers work, what he does, that he has a book, that his stuff is free, ...
the only thing i know about the app after reading the description, is that it does not contain ads, and it is free and open source.
does it contain his book?
does it provide access to his videos?
does it tell me what to eat each day?

of course, i installed it, but i bet, not being a fan, i would certainly not have done it, as i have no idea what is inside.
keep it up, and thank you!
... now about to see what actually IS inside...

Only 4 servings of "Beverages" clickable on Galaxy S2 on version 11 of the app

In the latest version (10.3) of the app, only 4 servings of the group "Beverages" are clickable on a Galaxy S2 (latest Android updates). The fifth serving is out of the screen and unclickable, as shown in the picture. The picture shows the main screen scrolled down on my phone.

screenshot_2016-10-17-18-34-05

My main concern here is if this affects users on a larger scale. Maybe it only affects certain screen resolutions or small screen resolutions (the Galaxy S2 is 800 x 480 pixels).

Please let me know if there's anything I can do to help. Thanks for making this great app. :)

this error

java.lang.RuntimeException: Unable to create application com.android.tools.fd.runtime.BootstrapApplication: java.lang.NullPointerException: Attempt to invoke virtual method 'java.lang.String com.activeandroid.TableInfo.getTableName()' on a null object reference

Caused by: java.lang.NullPointerException: Attempt to invoke virtual method 'java.lang.String com.activeandroid.TableInfo.getTableName()' on a null object reference
at com.activeandroid.Cache.getTableName(Cache.java:156)
at com.activeandroid.query.From.addFrom(From.java:169)
at com.activeandroid.query.From.toSql(From.java:250)
at com.activeandroid.query.From.executeSingle(From.java:311)
at org.nutritionfacts.dailydozen.model.Food.getByNameOrIdName(Food.java:89)
at org.nutritionfacts.dailydozen.model.Food.createFoodIfDoesNotExist(Food.java:97)
at org.nutritionfacts.dailydozen.model.Food.ensureAllFoodsExistInDatabase_aroundBody0(Food.java:68)
at org.nutritionfacts.dailydozen.model.Food$AjcClosure1.run(Food.java:1)
at org.aspectj.runtime.reflect.JoinPointImpl.proceed(JoinPointImpl.java:149)
at hugo.weaving.internal.Hugo.logAndExecute(Hugo.java:39)
at org.nutritionfacts.dailydozen.model.Food.ensureAllFoodsExistInDatabase(Food.java:64)
at org.nutritionfacts.dailydozen.DailyDozenApplication.ensureAllFoodsExistInDatabase(DailyDozenApplication.java:33)
at org.nutritionfacts.dailydozen.DailyDozenApplication.onCreate(DailyDozenApplication.java:25)
at com.android.tools.fd.runtime.BootstrapApplication.onCreate(BootstrapApplication.java:370)
at android.app.Instrumentation.callApplicationOnCreate(Instrumentation.java:1015)
at android.app.ActivityThread.handleBindApplication(ActivityThread.java:4569)
at android.app.ActivityThread.access$1500(ActivityThread.java:154) 
at android.app.ActivityThread$H.handleMessage(ActivityThread.java:1371) 
at android.os.Handler.dispatchMessage(Handler.java:102) 
at android.os.Looper.loop(Looper.java:135) 
at android.app.ActivityThread.main(ActivityThread.java:5276) 
at java.lang.reflect.Method.invoke(Native Method) 
at java.lang.reflect.Method.invoke(Method.java:372) 
at com.android.internal.os.ZygoteInit$MethodAndArgsCaller.run(ZygoteInit.java:911) 
at com.android.internal.os.ZygoteInit.main(ZygoteInit.java:706) 

Add in the ability to edit legacy tracker data

Add in the ability for users to edit past daily category details in case they forgot to track the data for that day. Heavily relies on #2 to be implemented for a browseable list/graph/calendar of days.

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.