caffeinator's Issues
Change style of navBar + add about button
Make the notificationService execute an intent on click
Make the notificationService start a service through an intent on click. Preferably start the MainActivity.
Wisely choose a background color
Originally posted by @simtoon-software in #11 (comment)
Change Main Activity appearance (UI)
Main Activity looks like it was made by amateur so change it.
Get GPS location on first app launch
Icons in navigation side bar doesn't belong to items/buttons
We need to find free icons for items in navBar
Create a makeshift options menu
Create a "not great, not terrible" options menu
Implement the navbar everywhere
Implement the navbar into every activity.
Implement the finish() into every activity on switch to prevent memory leaks.
Fix 'Empty statement.' issue in app\src\main\java\broadcasters\SensorRestarterBroadcastReceiver.java
CodeFactor found an issue: Empty statement.
It's currently on:
app\src\main\java\broadcasters\SensorRestarterBroadcastReceiver.java:14
Change package name to 'sk.smdtech.caffeinator'
Change the app package name from 'com.simtoonsoftware.caffeinator' to 'sk.smdtech.caffeinator' and then test if everything builds and exports correctly.
Redo the notificationService, because android studio deleted it
rip
iron deficiency caused by caffeine - notifications
@smdtechslovakia these notifications will also include one telling the user that it is strongly discouraged to take in caffeine within an hour of eating, because caffeine molecules prevent iron molecules from being absorbed into the tissues, causing problems over time, including anemia
Originally posted by @smdtechslovakia in #42 (comment)
Marked as important by @simonSlamkaSMD
Navigation side bar not showing in all activities
We have include somehow navBar in all activities
Paid version (without ads) must have a different package name, according to the Google Play Developer Agreement
We'll create a branch specifically for the paid version
Caffeine value gets reset after the mainActivity is killed
Caffeine Value in the caffeineMetabolizationService gets reset after the mainActivity is killed/exited.
Implement 'in-app updates' -- 'immediate updates'
This allows us to, for example, force an update to users when there is something they need to have, like a security fix. It's a great feature and it needs to be implemented.
Use the following official tutorial:
https://developer.android.com/guide/app-bundle/in-app-updates
Be aware that concretely referring energy drink companies might violate their IP
Triple-check the branding allowances (name and color pallete) for each energy drink company we want to include in Caffeinator!
Get the UE4 iOS packaging working
Add individual caffeine intakes into the RecyclerView that I created there
When a user adds an entry of their caffeine intake, add it to the already created RecyclerView.
Refer to:
Stack Overflow
Codepath
AndroidHive
Get location data
Make the getGPSLocation method return a usable location(lat,lon) and possibly convert that into a city or street name.
Include our Privacy Policy in the app's 'About' section
A link to our Privacy Policy must be included and visibly available in the app. It will be located in the 'About' section
Caffeine can't be added once it's been added once
This has something to do with the sharedPreferences in the service or the main activity itself constantly saving and loading the previous value.
'app' module won't pass through debugger
In the MainActivity Java class, I'm setting the integer value defined in Resources to a value that player inputs through the EditText field. The problem is that I can't convert the output from the EditText field to anything else than string, so I can't set it to the variable I defined in Resources, since int != str
The solution is to figure out how to save EditText to var and then display in a toast that I'm defining there.
Create a service to substract the caffeine intake over time
We have to figure out a way to make the app simulate human metabolism, doesn't have to be accurate at all, we just have to implement the feature and correct it later using custom formulas.
Settings: Change theme
User will be able to change theme, I've created few theme samples.
Navigation side bar doesn't swap activity
NavBar items aren't assigned to activities
Add some text fields in addCaffeineActivity
Text fields to define name, form, value
on _API 28_ (others not tested yet), the caffeine progress resets after closing and opening the app again
on API 28 (others not tested yet), the caffeine progress resets after closing and opening the app again
Originally posted by @simonSlamkaSMD in #61 (comment)
Make some meaningful notifications
i.e caffeine has dropped below Value, You shouldn't consume any more caffeine if you want to fall asleep tonight, You haven't had any caffeine today.
or
Did you know? blahblahblah
@smdtechslovakia these notifications will also include one telling the user that it is strongly discouraged to take in caffeine within an hour of eating, because caffeine molecules prevent iron molecules from being absorbed into the tissues, causing problems over time, including anemia
Make the calculations more effective
Make the calculations multi-threaded or async to prevent the app from hanging and displaying DNR.
Create a service to send the user a notification after the caffeine amount changed to a set value
Similarly as we did with caffeine subtraction have to implement a feature that sends the user notifications when he should effectively re-caffeinate or warnings to tell him he should lay off the caffeine for a while. Again, this does not have to be accurate at this point, we just have to create the feature and correct it later.
Saving user-modifiable vars during runtime
@EltonSetan implement a saving feature - whenever the user changes any variable druing runtime, it gets saved immediately and if they reopen the app, it will automatically load
Originally posted by @simtoon-software in #6 (comment)
Add form drop menu into Add Caffeine Activity
Add form options in add caffeine activity, so user would be able to choose from different forms of caffeine(fluid/solid)
About fragment crashing
The about fragment crashes the app with an low memory error.
Home in navBar is not working
We have to figure out how to solve changing UI back to main screen
caffeineIntakeValue can't reach 0
At this time of writing the caffeineIntakeValue can't reach an exact 0, once it reaches a number less than one and a metabolismCalculation happens the number gets set to: -7.301569E-8 which is obviously not correct.
Make the services.caffeineMetabolizationService survive a device reboot
It would be great if the service could restart itself with the device, so the app doesn't have to compensate a lot once it's run at a later date.
Fix 5 Style, 1 Complexity issues in multiple files
Switching activities glitches the main activity out
After switching to a different activity in the navbar and back to the main activity, the caffeine amount starts glitching out. The calculations are being done in the background but the activity displays it incorrectly.
Time compensation sometimes overshoots
The watchdog responsible for checking time disruptions sometimes computes additional non-existent values.
Optimize how the UI is updated
The UI is being updated through a "SyncThread" but there might be a better, more optimized way to achieve this.
Caffeine sometimes won't be added
Caffeine from the AddCaffeine activity sometimes won't be added to the caffeine for an non-apparent reason.
Introduce graph rendering
We need to have the ability to render graphs - find a lib that works and try to render out a sine wave to test it.
Continuously update the caffeine value in AddCaffeine activity
Either make the caffeine value in AddCaffeine activity constantly update or remove it from there.
Adding caffeine intake behaves weirdly
After the latest preferences addition, the adding of caffeine behaves weirdly.
UI glitching out completely
UI doesn't dispose of what was previously shown when opening new fragments/activities through the navbar.
navBar changing activity wrong way - it starts new activity without navBar
Fix this issue by using fragments probably
Rewrite the code while preserving its functionality
Read the title
@EltonSetan
Make a history overview
Store names of the beverage, or make presets for some popular beverages with a certain name and size.
Also add an option to make a custom preset and add some presets into favorites.
Clicking the "add" button in the addCaffeine activity crashes the app
Suggested solution: Adding an if statement to check if the user has entered anything.
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
๐ Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
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.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google โค๏ธ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.