Detecting and logging phone call answer and phone call drop events? - windows-phone-7

I would like to know if its possible to detect and register an incoming call and also to register a droped call?
After doing a bit of research, I noticed a lot of comments on using the obscured event.
But problem here is that this event is not specific to phone calls and therefore the data collected will not be accurate.
Is there a way to verify which of the obscured events are actual incomming calls or dropped calls?
If this is possible, could you please respond with a sample code?

no there is no way to plug into phone call related events as there isn't any available option.

The current Windows Phone SDK (version 7.1.1) doesn't allow you to access any information about received/dropped calls, nor their log information...
I guess that you'd have to use do with Interop access to achieve such a thing, but that is always tricky!

Related

How to detect and refresh outdated data in React Native app with redux-persist

In a React Native app, usingRedux and Redux-Persist, what is the best way to identify what content needs to be updated?
I have an app that does a few requests at startup.
When I enabled redux-persist I started to avoid a request if it was already done at another time. But I have no idea how best to identify whether or not to make the request again to update the data stored by redux-persist.
I read about the use of ETags andLast-Modified, but this implies implementing this in the API also right?
Any guidance for this functionality implemented in the right way?
Yes, you also need to update your API.
Another solution is to use push notifications to notify that the data changed and perform a new request every time the notification is received. But this also means implementing some code on server side.
You need a way to know that the data changed, for that reason you always need to implement some code in server side.

Parse AppOpened event track push notification consumption via Rest API

I'm trying to track an AppOpened event via Parse.com's Rest API, specifically related to the consumption of a push notification via a POST to https://api.parse.com/1/events/AppOpened
Since there's really no documentation on doing this, I was hoping adding a "push_hash" key inside the data sent to Parse would be enough, but I guess I'm just not that lucky.
Does anyone know what the required data for tracking push consumption via an AppOpened event is? I couldn't find anything online and was really hoping someone here could help (especially considering every support page they have points here).
Thanks~
You are right, there poor documentation but from other hands some people already meet this issue. And you can check their code for your situation:
Setting up a App Opened event
App-Open Analytic
Track App Opens with JavaScript
Try to use anything from this (use app & REST keys) and describe your result more detailed.

Location of received messages / intercepting with incoming messages

May i know if there is anyway i can intercept or retrieve the windows phone message from?
I'm trying to create an application, sending the message isn't a problem but i'm having some problem looking for the retrieved message in any means. My plan is to use SMS to transmit data so i'm planning to create a template to display it.
Hope someone can advice. Thanks everyone! :)
Currently there are no API's to access SMS in WP7 or 7.5 but in future if MS shows mercy then it may be possible.
You can check this link and vote for SMS access API's.
If you're talking about the windows phone's messaging app, then you cannot access the data. The API does not provide anyway to access such information, from your application, for security reasons. So, intercepting calls or messages are not allowed.

Accessing Voice Mail Services in Windows Phone 7

I am creating a module for my project which is location based profile change in Windows Phone 7.
I am giving an extra feature in my app. When a user recieves a call, when in a certain profile (i.e silent or driving), the incoming call will recieve a service like voice mail where he/she can record a message.
Which API can I use to achieve that?
It's not entirely clear what you're after but I'm certain you can't do it:
There is no API for accessing profile information.
There is no API for accessgin call history details.
There is no way to determine if your application is being obscured for an incoming call or another reason.
Access to voicemail is operator dependent. There is no universal way to access this. Some oeprators provide their own APIs for accessing things like voicemail but these vary in implementation, availability and capabilites.

How to Track Calls, SMS and Text in WP7

Is there any way I can track Calls, Emails, SMS and Contacts in WP7. I specifically need to know when the recent call is ended or any notification that my application can get when call ends with details of the call. Or can I fetch the Call history when the my app starts. Can I do the same for Email, SMS and Contacts.
You can't. You have several barriers to what you are trying to do.
Currently, third party apps can't run in the background to be notified of the events you mentioned.
Third party apps are not allowed to access call history.
I am afraid you cannot do this with the current version of SDK. May be they will add it in future versions. 2 of which are set to be released this year.

Resources