how to track sent message event in windows phone? - windows-phone-7

Is there a way in windows phone to track sent message event? i mean to say that whenever a message is sent then a function of my application execute
all i want is to execute a function whenever sent message button of windows phone is clicked?

If you open the message launcher (I don't remember the exact name), it'll open this screen and you have the event (something like application deactivated) and once the user sends the message, the screen should close and come back to your app (again another event is available at that point, activated).
So you'll have to play with the events to do something you like, IIRC there is no call back when the message button is clicked.
Here's a link with the lifecycle of apps

There is no API that notifies you if a message was sent (at least no open API). A similar question was asked here.

Related

Slack-send message with notification but without popup

I chat with my boss through slack, he is always in meetings and so his screen is always shared with clients, so when I send a message, it will popup during a meeting and so it can be seen buy other persons.
This is OK most of the time, I don't care my professional messages being seen by others, but sometimes I want to tell him something more private and in that case I don't expect any popup.
Is there a way to send a message without popup? but just case by case, not always. It should not be silent, there must be the small red icon notification but no popup.
Any idea?
I found a workaround, send a message with minimal words for which you don't care, you collegue will get a popup, right after edit the message. The update does not popup

Windows interactive notifications

So I want to know how a quickreply toast can be sent to the right person and when you click on it, it goes to the specific person.
Example 1:
Person A texts me, I pull down on the interactive notification and type my response and it gets processed by the background process. How does the applications know that my response goes to Person A. is there an attribute in the XML of the toast that can be a variable, like the phone number?
Example 2:
Person A posts a picture on my facebook, I click on the notification and it takes me to the page on facebook. Again is there an XML variable with a URL of it or something?
You can download this Microsoft Windows UWP sample, where you can see what code they use to manage notifications.
I think that you need Toast notifications:
Toast notifications are small pop ups that appear on the screen for few seconds. They convey messages and can be customized to even play different sounds. New to Windows 10 are actionable toasts where a user has a choice to interact with the notifications by use of a button, for example.

How to send message without user interaction in kony

I need to send a message to the specific phone number without 'user interaction'. Suppose there is button is called approved. If approved button is clicked then message should be sent without user interaction.
I have tried with the kony API "kony.phone.sendSMS("0123456789", "your leave approved")". The message sent successfully but one page has opened with the send option in android mobile.
Is it possible to send message without 'send' option means direcltly?. If possible please give me the solution.
I think for this you need to write the code in native Android, integrate it as an FFI and then call this method in Kony.

Problem while Making a Call and SMS in same Process on Windows Phone 7

I am developing a application for Windows Phone 7 in which on a button click I need to first send some text messages and then make a call. But as both process are user dependent so I am not getting how should I make it such a way that unless user first finishes the sending messages my app should not initiate call. Because unless I do so it will give thread abort exception.
Thanks;
nil
With the current SDK there is no way to know if the SMS was actually sent. It could also have been changed by the user before being sent!
Lots of people have asked for this functionality (or similar but for other tasks). Let's hope it comes in a future update.
I believe you can't do it in parallel, because WP7 isn't really multitask.
Do you really need to do it in parallel?
Search for the events deactivated and activated. They are in App.cs.
After you make a call, and back to the program, the activated event will detect it, so you can add code there to send SMS.
Done in reverse way. First make a call and then when user comes back after tombstoning send an Email...but flag manipulation need to be saved in isolated storage.

How do I hook another applications events?

I'd like to hook the event that is triggered when an application is trying to notify you of something (when its icon background turns orange and starts flashing) so that I can create my own custom notifications (like getting a text message or email)
For example I'd like to have an event triggered when I receive an instant message on my computer that will send a message to my phone so I can respond appropriately.
How would I go about doing this?
Preferably I'd like something that could hook any notification event (then do the filtering inside the application, and something that works on windows XP and up)
Thanks
Duplicate of How can I determine which taskbar application/windows are requesting user attention ? Anyway, use RegisterShellHookWindow and catch HSHELL_FLASH

Resources