Giter Club home page Giter Club logo

glucosio-android's Introduction

Crowdin Build Status Codacy Badge Coverage Status

Glucosio has moved to Gitlab! Visit our project repos on Gitlab

Glucosio for Android

Glucosio for Android, a user centered free and open source app for Diabetes management and research for Android.

Glucosio Banner

https://glucosio.org

Build Instructions

  • Clone the project from GitHub:

    git clone https://github.com/Glucosio/android.git
    

    or download the .zip here.

  • Import the project in Android Studio: File > New > Import Project. Alternatively, from the Welcome screen, select Import project.

Read more about contributing to Glucosio here.

Download

Get it on Google Play Get it on F-Droid

Join Beta Testing

Join our Community on Google+, then click here.

Test Drive Glucosio Daily

http://daily.glucosio.org

glucosio-android's People

Contributors

ahhmarr avatar alxsimo avatar amouly avatar apicellaj avatar arunselvam11 avatar bkerensa avatar chrispecoraro avatar chwalters avatar emartynov avatar ghazghkull avatar glucat avatar harkoss avatar harshadsabne avatar iamssam avatar jeonsoh avatar jhlee1108 avatar joaquimley avatar jurrabi avatar kaindl avatar lgp171188 avatar minsungking avatar paolorotolo avatar piotrek1543 avatar poussinou avatar pt2121 avatar raacker avatar rcd27 avatar riskysnail avatar rotolonico avatar waffle-iron 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  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

glucosio-android's Issues

Add HbA1c Entry

We need to add support to accept HbA1c readings to the DB and in the add recording UI

Application Settings

For our initial release we will want users to be able to:
Set Demographics (Age, Gender, Language, Country, City)
Set Measurements mmol/L or mg/dl
Opt-In to Academic Research (Although backend wont be live till future version)
Input Category Customization (Measure before bed, after meal, fasting etc)
Notification Settings (Hourly, Daily or other interval reminders to input Glucose)

Add Carb and or Meal Tracking

We should allow users to track carbohydrate or meal intake and will need to add support to the DB and UI for this

Design inconsistencies and bugs in current APK

  • Spacing should be even on all 4 sides, there is too less space at top and way too much at bottom
  • The buttons don't behave like buttons, basically they don't have any padding around them and hence the touch effect isn't visible at all
  • Also, dialog shouldn't be full width
  • In the dialog, I'm entering details at night, and it still says "Before breakfast" under "Measured"
  • In the history panel, there is way too much shadow below the items
  • The history items should be categorized by day
  • The language should be pre-filled from system language if translations are available, otherwise english
  • The time should be like "11:36 pm" or "23:36", according to system preferences
  • The date should be formatted like "Tuesday, 1st September 2015" or similar human readable format
  • The concentration amount should include the unit.
  • Concentration amounts throughout the shouldn't be decimal, coz we don't allow entering decimal points, hence no use of showing it
  • Amount should be orange if it goes above the average conc.
  • The number below it should indicate how much does it fluctuate from average
  • In the snackbar which appears on deleting an item, should have yellow text, not pink
  • There seems to some empty space below the snackbar
  • The background of history cards should be white
  • The design of tips cards should be similar to history cards, e.g. - full width separators, white backgrounds
  • The line height should be at least 1.5 for all paragraphs, paragraph spacing should be .75, e.g. - for 16dp, line height will be 24dp, and paragraph spacing will be 12dp.
  • On scrolling, the titlebar and tabs should move up and the titlebar should hide
  • Switching tabs seems to be unreliable, sometimes tapping on a tab does nothing. e.g. - Open app > Swipe 2 times to go to TIPS > Tap on OVERVIEW (doesn't work)
  • If the design of the graph could be closer to the mockup, it would be better, especially the numbers on x and y axes. Basically, instead of writing the date on x-axis, it can be the heading, and x-axis can have the time only in bigger font. y-axis can get rid of decimal places, and can have bigger fonts
  • In the overview mode, as well as everywhere else, separators should be full width
  • Currently tips don't have a title, also try adding some tips which have actions, like update weight, set reminder etc.
  • The tips tab should have a badge indicating number of tips
  • In "Hello view", the button doesn't have any effect of tap (ripple/highlight)
  • In "Hello view", the button should have an icon on it's right (chevron-right)

Add submit feedback

We want early feedback from users we should have a submit feedback option in settings. Can you add this to settings mockup.

Add Google Fit Integration

We should add Google Fit integration and sync the following data in to Glucosio from Google Fit:

  • Weight
  • Activity
  • Others ???

We should export to Google Fit:

  • Any data Google Fit supports taking

We will need to update Terms of Use and add a privacy policy to cover this data sharing if users opt-in to Google Fit connection.

Make sure UI scales

We need to make sure our UI will scale to translated words as they may be larger than the UI is currently intended for instance overview translated to spanish is longer and so its tips.

Note from Mozilla's l10n lead staff:
Since they're translating strings out of context, they'll need to be able to test them within a build to ensure that the meaning is accurately represented in the translation, that the app is properly internationalized, and that their translations fit within the UI constraints of both a mobile device

Add Google Drive Backup

We should add Google Drive Backups to Settings so users can configure Glucosio to keep a backup of their data on Google Drive. We should integrate this so that backup syncing is automatic but also that there is a manual import feature to recover backups.

Additional Settings & Backend Work

Settings (view) add backup options, implement code (backend) for occasional sync of glucose data to server or managed cloud provider for users who opt-in to academic research, add signup for newsletter

Backend support for backup added

We need to create a backend framework or library (this might be better so other projects can use it) that will power our backups and can connect to a few providers such as Box, Dropbox, Google Drive, etc.

Tips View

Tips (view) to provide general diabetes tips to help users make choices that improve their outcomes.

@paolorotolo When you get to working on this lets discuss how this will work early on and I can help source a collection of tips that we can include. And later on perhaps we can make it more expansive.

I think we want to be sensitive about some users being in low bandwidth countries so we should ship some tips local but also have the option to have maybe a RSS feed to add more to the rotation.

History View

Readings History Activity:

  • Show Reading Entries
  • Allow Editing & Deletion of Entries

Glucat Mascot

I worked a bit on the Glucat mascot today on my own. I'm pretty satisfied honestly. What do you think?
glucat-01
glucat-02

Android Mockups

We need mockups for our initial design based on the specifications distributed to the team.

Hello View

Add Hello View to ask more information about user on first start.

0-glucosio-start

Add Graph Selector

We should have a way in Overview to display a daily/weekly/monthly graph and easily switch between them.

Input View

an area dedicated to inputting glucose levels including level and picking a category such as fasting input, after meal, feeling sick, or a specific meal time.

See example of other apps input view
input
unnamed2

Add ORM

Since we will be optimizing and changing the database in the future undoubtedly we will need a ORM to help us ensure the future DB changes are not putting existing local db on handsets at risk of loss of glucosio data.

If we proceed without a ORM we will be digging a hole in terms of more work and problems

http://guides.codepath.com/android/Persisting-Data-to-the-Device#object-relational-mappers

@paolorotolo @ahhmarr @chrispecoraro please discusses the pros and cons of each of these and pick one and we do need to implement one sooner than later and likely for Noce.

Graphs

We will want a dedicated graph view/activity powered perhaps by https://github.com/PhilJay/MPAndroidChart or another library that @paolorotolo finds suitable.

Additionally we may want to consider having the main view or main activity be a sort of dashboard that shows some smaller graphs and data see the blow example:
mainpage

I like the main screen idea but theirs is kind of busy and we can do better on layout and design.

About View

About (view) to list licensing information of the app and of open source libraries used and with a short paragraph about the project and current version of the app being ran. We could also have a link to our website, github etc here.

Translation Test Builds

We will need to get a final build to our translators before we release so they can test their translations in the UI and make sure the context works.

Note from Mozilla's l10n lead staff:
Since they're translating strings out of context, they'll need to be able to test them within a build to ensure that the meaning is accurately represented in the translation, that the app is properly internationalized, and that their translations fit within the UI constraints of both a mobile device

Glucose Warnings on Input

11.1 mmol/l (200 mg/dl) is hyperglycemia while symptoms may not show till 15โ€“20 mmol/l (~250โ€“300 mg/dl) we should warn the user in the input dialog when they enter a glucose level that enters this range and say something like "The value you have entered is within the hyperglycemia range, consider consulting a medical professional." but still record the value.

Below 3.9 mmol/L (70 mg/dL) is diagnostic for hypoglycemia so we should woarn "The value you have entered is near hypoglycemia" if its not yet below but if it is below we should warn "The value you have entered is within the hypoglycemia range, consider consulting a medical professional."

Ensure Database Scales to Long Term Needs

In discussion with Paolo and Christopher it seems obvious that the database will need some changes to ensure it can scale to the kind of data we will be handling long term.

Lets identify with Christopher what changes he thinks are best and either he or @ahhmarr can implement them.

Paolo I will assign this to you can we get Christopher's email on Telegram and I can invite him so we can maybe assign to him. We have a very short window to release so lets push on this.

Translations

At this point we should ensure the strings.xml is up to date with all strings in latest release and should begin translation.

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.