I wanted to develop an application for android or IOS mobile phone.
The app has to be able to collect the user contexts and save them to a Database in background.
The context are :
I need this app be able to do two different tasks.
The interface should has two different bottoms.
1-The first bottom name should be SmartNoti Model. The task is to collect the user context information every 5 minuets in background and keep those contexts in a temporarily database and if an incoming call arrived, save the temporarily data to a database alongside the user action to that incoming call (answer or reject) .
2-The second bottom name should be Proposed Model and the task is to collect the user context information when if an incoming call arrived and then save them to a database alongside the user action to that incoming call (answer or reject)
If the user choose the SmartNoti model bottom, the app should do the first task only and if user choose the Proposed model bottom, the app is only need to do the second task
I need two separate database as a result.
Thanks in advanced