I am trying to get the geo-location of someone wearing a device to get their heartbeat data measured and recorded in a data base using the appropriate sensor. My question is, how can I link that user heartbeat activity with their geo-location at anytime and transfer this info to their cellphone via the Arduino board ?
Should I connect the heartbeat sensor to a GPS Receiver module and then to the Arduino and from the Arduino to a GSM module that will notify the user on their cellphone or something's missing?
Maybe my question is unclear, what I mean is when the user checks his heartbeat data on the cellphone app that my team and I need to build, how can the user have the reading for his heartbeat and the associated geo-location at the same time where he was precisely at that moment of that measurement?
I am not sure I understand your question, the app is a requirement for our project. Also my question is very specific, so please refrain on talking about the privacy topic.
You can write an app that will fetch a position. Usually it will support a setting in the privacy setting menu, particular to that application. Fetching heartbeat data is unrelated to that. So it's really an IOS or Android question. It has absolutely no relation to any code that you would write for a heartbeat device. So you would get much better advice on an IOS or Android tech forum.
Your question, how would you integrate heartbeat and location data, revolves strictly around phone OS application code, which would perform the task of acquiring data, in the way that it has to in both cases. The location would be in API calls, the heartbeat is up to you, probably through interpreting bluetooth data from the heartbeat sensor.
If you are just asking how to make a BT heartbeat sensor, it is an Arduino question and you can get help here.