Create an iOS7 app that uses the CMMotionActiityManager class to maintain a log of user states (such as walking, running, driving, as exposed by the CMMotionActivityManager class).
The activities are logged by iPhone 5s in the background and your app should get historical activity data to generate a log file in
comma separated value (CSV) format showing timestamp, activity. Timestamp should be in seconds or milliseconds
according to the accuracy provided by the activity manager class. See method queryActivityStartingFromDate:toDate:toQueue:withHandler:
at [login to view URL]
for programming references.
The user interface needs two buttons:
1. Generate log file since selected time (with a DatePIcker to select the time since when the activity is required)
2. Email the log file
The app should include any permissions dialogues, or registration required to enable activity data access.
Additionally, if you can implement the functionality to wake up the app when activity changes (you may have to
additionally track location to get background activity updates), please let me know and I can pay extra for that feature.
You will need an iPhone 5s to test this app on (only 5s has the M7 motion processor). If you wish to develop only on the simulator
I can pay a smaller amount for app code that compiles and has comments showing what is happening.
Milestones: negotiable.
Suggested 50% on sharing .app binary and provisioning profile that works as intended.
Remainder on delivering full source code.
Useful links:
[login to view URL]
Sending email:
[login to view URL]
Background use (optional):
[login to view URL]
[login to view URL]