Hello!

The work with distributed teams is more than interesting, it relies on having Lync 2013 all the time online and see how many people respect the States Available, Busy, or Away. It is very likely that if these in front of the computer and a colleague of Australia does not start a conversation, Miss the opportunity to speak with that person until the following day.

One option is to have a Lync in your Windows Phone 8, however if you have a Pebble, and access to Microsoft Lync 2013 SDK, you can create an app for console that sends a notification to your Pebble whenever someone starts a conversation with you in Lync.

Bonus: you can see a couple of interesting examples of LyncSdk in this link .

For this we must have attached our Pebble with your computer (as I explained here) and then in a console app, we implement the following code.


static void Main()
{
WriteAppTitle();
if (ConnectToPebble()) return;
var client = LyncClient.GetClient();
client.ConversationManager.ConversationAdded += ConversationManager_ConversationAdded;
Console.WriteLine("Press Enter to exit.");
Console.ReadLine();
}
static void ConversationManager_ConversationAdded(object sender, Microsoft.Lync.Model.Conversation.ConversationManagerEventArgs e)
{
var conversation = e.Conversation;
var message = string.Format("New Lync conversation{0}", Environment.NewLine);
message = conversation.Participants.Aggregate(message, (current, participant) => current + (participant.Properties.Values.ElementAt(1) + Environment.NewLine));
_pebble.NotificationSMS("New Lync conversation", message);
WriteFullLine(message);
}

It shows as connected to the Pebble (line 4) once the app subscribes to the new conversation event. The same (line 11) Gets the name of the participants of the conversation and a message is sent to the Pebble with this information.

As always a (poor quality) video accompanies the example.

PebbleLync

Download: http://www.microsoft.com/en-us/download/confirmation.aspx?id=36824

Saludos @ La Finca

El Bruno

image image image Google

Leave a comment

Discover more from El Bruno

Subscribe now to keep reading and get access to the full archive.

Continue reading