i am coming from an android developer pov.
I do have some query about win mobile 7.
My background app porting information:
My current android application does a polling of every 5 min, and it will retrieve its current location and then send it to the server. My application also does allows user to view member and then able to call and sms them by linking them to the caller and messaging application
- Does windows mobile 7 allows background services like android alarmmanager which allows user to do a polling? Even when the application is being offed
- Does windows mobile 7 allows passing of action to it’s native application such as calling and sms?
1) For background polling when the app is off, you have 2 different options using Background Agents. Here’s an MSDN article explaining how to use Background Agents.
You can use a Periodic Agent which the MSDN article desribes as
Or you can use a Resource Intensive Tasks
2) You can access the native applications for making a call and sms from your application. This is done via Tasks
For calling, here’s an MSDN article for How To Use The Phone Call Task.
For SMS, here’s an MSDN article for How To use The Compose SMS Task.