I want to create an application where you can manage medication for my final year project but I'm having many difficulties.
One of the difficulties I am having is registering a medication, allowing me to choose whether it is daily (how many hours to take the medicine, if it is once a day or enter specific times if it is only once a day), weekly, monthly or annually.
Another difficulty is that I can't use the alarm extension and have MIT itself handle notifications and not use the phone's clock application.
My last difficulty is making it so that the person can go to the application and change the medication data (for example: if the person now, instead of having to take it at 10:00, now has to take it at 11:00)
I want to create an application a medication manager for my final year project but I'm having many difficulties and I don't know where to start, I already tried to search some videos on the topic but none seem to be helpful to me.
The app would consist in basically an agenda/calendar where you can add your medications and choose whether it is daily (then it would open a chat where you can say the interval of hours to take the medicine, if it is once a day or enter specific hour if it is only once a day), weekly, monthly or annually.
The app would have to handle notifications itself and run on the background and not use the phone's clock/alarm application like Taifun's alarm extension does.
And it would needs to have an screen where you can edit the medication, like if you spelled the name wrong and you need to change, to change the hours the notification will appear, etc...
I really need help for this project, If you could send me some tutorials on youtube explaning some things I mencioned that I need to do on the app, It would be great since I can't seem to find it... Thanks.
That didn't really help me. I need to be able to make everything on the app (select how regularly the medication has to be taken, to store it in a database and to get the information from the database soo it can be edited.)
Can anyone teach me how I can make a dropdown list that depending on what the user chooses (whether it is once a day, x times a day, weekly, monthly or yearly) will change the fields that will or will not appear for the user ?
Sorry I took this long to answear, what I wanted is after that has been selected, it would affect how many times the notification will be sent to the user when he submits the medication.
How can I make a drop-down menu to select dosing frequency (daily, weekly, monthly, etc.) and depending on the selection, you can show additional fields to set dosing times and also make the notification time respect what the user selected?
I need help with something else now, and I'm not sure how to describe it well because English is not my first language.
I need to set up a way to enter the hours and make them repeat according to what is selected in the Spinner (If it is daily, weekly, montly, etc...). Additionally, I want the option to select weekdays to only appear if the "Weekly" option is chosen in the Spinner.
Also, could you guide me on how to store this data in TinyDB?
Here is the blocks that I have currently and the .aia if its necessary HealthMate_versao4.aia (86.4 KB)
I still haven't figure out how to turn this into a medication reminder, i don't know how to store the values in the DB or how to use Itoo to make this application run in the background.
I have this fiels and I want to know how do I store them in TinyDB and how to set a notification system with them while using Itoo to make the app run in the background, can someone help me? Here are the screen that I want to save and the blocks I have currently.
So let me suggest you to reduce the requirements and simplify your project.. just use the free alarm extension App Inventor Extensions: Alarm | Pura Vida Apps and set an alarm to take the next medicament... and after getting the alarm, opem the app and set the alarm to take the next medicament, etc
A very good way to learn App Inventor is to read the free Inventor's Manual here in the AI2 free online eBook App Inventor 2 Book: Create Your Own Android Apps ... the links are at the bottom of the Web page. The book 'teaches' users how to program with AI2 blocks.
There is a free programming course here Course In A Box and the aia files for the projects in the book are here: App Inventor 2 Book: Create Your Own Android Apps
How to do a lot of basic things with App Inventor are described here: How do you...? .