Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Collect location periodically #21

Open
Ana06 opened this issue Aug 20, 2016 · 6 comments
Open

Collect location periodically #21

Ana06 opened this issue Aug 20, 2016 · 6 comments

Comments

@Ana06
Copy link
Owner

Ana06 commented Aug 20, 2016

Currently, we collect the location in the moment of sending the daily test.

We want to collect the location periodically and to send it to the database as it can improve predictions significantly. We want to collect the location as frequently as possible without having a big impact in the battery. The best would be collecting it every 5 minutes, but this is probably not possible, so doing it every one hour, or more often if another app is using the location, would be more enough and more efficient.

This data should be sent to the same MongoDB database than the daily test but to a different collection. It could be sent once a day for example. It can be sent together with the daily test, but if the daily test is not sent in a maximum of 4 days we should sent the location data to avoid losing information and to avoid that the app take up a lot of phone memory.

@apoorv9990
Copy link
Contributor

apoorv9990 commented Sep 27, 2016

Is this project still being maintained? I would like to help if it is.

@Ana06
Copy link
Owner Author

Ana06 commented Sep 29, 2016

@apoorv9990 I am not working full time on this currently but if you want to work on this I'll review it and help you with any doubt you have. The app is being used in the Bip4cast project in which the San Juan de Dios hospital and the Complutense University of Madrid are involved, so I suppose that there will be more people working on this soon.

So feel free to work on this issue! 😄

@apoorv9990
Copy link
Contributor

Okay thanks. I was asking because I am not able to sign up using Marshmallow. So I will start working on that.

@Ana06
Copy link
Owner Author

Ana06 commented Sep 30, 2016

That's may be because of the configuration of MongoDB. I'll add a contribution page on Sunday to make it easy for you and future contributors. 😀

@apoorv9990
Copy link
Contributor

Thank you that will be helpful. I will check out the configuration in the meanwhile.

@Ana06
Copy link
Owner Author

Ana06 commented Oct 3, 2016

@apoorv9990 sorry I didn't add the contribution page on Sunday. I have just added it: https://github.com/Ana06/medical-data-android/blob/master/CONTRIBUTING.md

I hope that you find it useful to set up the project. If you have any problem do not hesitate to ask me and I'll try to help you. And feel free to improve the contributing guide too. 😉

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

2 participants