how to access UCWA API in android code? - ucwa

I want to access UCWA API in android code. Is it possible?.
If possible, pls give me an idea and hello world program.
does UCWA API support for Video Chat and Screen Sharing?

Yes, UCWA is a REST based API, so there's no reason why you wouldn't be able to access it from an Android app. Your best bet is to look through the samples on http://ucwa.lync.com/

There are no known Java libraries available, so you have to do all of that on your own. Paul's link is a good place to start, however you might also find the MS pages on a C# implementation useful(1), they certainly are cleaner than the Javascript based samples at http://ucwa.lync.com/
As for supporting video chat and screen sharing, the answer for now seems to be no. UCWA may be able to initiate these on the users Lync client though.
(1) http://msdn.microsoft.com/en-us/library/office/dn551186%28v=office.15%29.aspx

Related

Voice call connection routing React-Native

I am trying to build an application which works this way: I as a user want to start a call with another user. The way I want the connection be made is by random. So it will connect to one of the many clients out there by random. Also when other clients try to make a call, it should connect to another random client and so on. I want those phone calls be made via application(such as WhatsApp) not as a phone call.
Now, the question is; is Twilio a good approach for this purpose?
If yes can you tell me which of their feature would fit my app the best?
Thanks for any suggestions!
Twilio developer evangelist here.
I can answer that Twilio would be a good approach for you to do this within your own application. I'd recommend using Twilio Video to build this as it allows cross platform communication via audio or video (in your case, you may not need the video, but this will give you the best audio quality).
As an example, my colleague Dominik built a video roulette application. It is the case that the interface was built in JavaScript for the web, but the idea would be the same for a native app. The code for the server side part of the application should give some insight into how to connect random pairings.
It's also possible to integrate Twilio Video with CallKit and Connection Services so that you can make outbound calls to other devices that ring like a real incoming call.

Enable smilies/emoticons in UCWA Chat application

I have built a web application which provides simple text chatting. I have used the UCWA API provided by Microsoft to implement this Instant Messaging chat application.
My next step is to enable usage of smilies/emoticons in the chat application. I have gone though the ucwa documentation https://ucwa.lync.com/documentation
But i have not found a way to enable usage of smilies/emoticons.
My query is: Does UCWA API support usage of smilies/emoticons? If yes, how do we enable in our chat application. If No, how can we add smilies/emoticons into a web application?
Any sort of links or any clues would be really helpful.
Thanks in Advance.
Simple Answer
Most Smilies/Emoticons are a translation of a string of characters into a visible image.
Examples:
:) ==>
(bah) ==>
UCWA has no knowledge of the image assets nor would you want it tossing around image data when in most cases a textual representation would result in a smaller response message. There is no native support.
Smilies/Emoticons that appear in Lync Client are a result of the application translating the string into an image resource. If you were to send a :), Lync Client should translate it to a .
What can I do?
Translate local display of supported Smilies/Emoticons to their image counter parts. (Probably the easiest)
Support sending of Html messages and send the Smilie/Emoticon and hope the receiving participant can access the image resource defined in an tag. (Probably the worst idea)
Make use of Emoji since UCWA is able to send/receive UTF encoded messages. Consider extensive testing to make sure that deployed environments can correctly display the results!

Nokia Counter on WP7

I downloaded Nokia Counters and I dont understand how do they get sms count and call durations if there is no API that could support this?
Do they have any extra APIs?
Most likely they have deeper access. After all, it is only for their devices which means that they can not only exit sandbox, but access their own proprietary API.
It is similar to Youtube app, Adobe Reader app and deep links to marketplace.
I would really want to get access to such API :/

VB.NET Use API Messenger

I know how you can use the api in vb.net IM
I wish simply by pressing a button sends a message to all my contacts.
I apologize for my ignorance but I'm still learning, thanks
You don't mention what IM network you're talking about so I'm assuming you're talking about Live Messenger. If that's not the case, only the bit about Pidgin might still be relevant.
Unfortunately, my understanding is that nowdays there's no easy API for doing what you want, and you might have to write your own client to do this, here's a website that discusses the protocol:
http://www.hypothetic.org/docs/msn/index.php
You might also want to look at Pidgin since it supports Messenger and is open source:
http://www.pidgin.im/download/source/
There's a Live Messenger API, but I don't think that can be used to send a message from a standalone VB.Net desktop client since it seems more for writing Addins to the standard Live Messenger client, but here's the information about it in case I'm wrong:
http://msdn.microsoft.com/en-us/library/aa905675.aspx
If you're running XP or earlier you might be able to use the Windows Messenger SDK:
http://msdn.microsoft.com/en-us/library/ms630961%28v=VS.85%29.aspx

Set instant messenger display message programmatically

Would a script that sets display messages for instant messengers be simple or complex? After some searching, there doesn't seem to be any information about this at all.
For the sake of an example, if I had a text file of quotations, would it be possible to have the google talk display message change to a different quotation hourly?
Depends on which client you're using. As far as I know, Google's client doesn't offer any interface for plugins, but the open source instant messenger Pidgin does. I think there already is a plugin for what you want to do, but you can write your own using the documentation and examples they give you.
The complexity of writing something like this is based on how much C or Perl you know, since you can program in either of those for Pidgin. Reading code from other people's plugins, you should be able to figure out the Pidgin API.
You can use Kik API to programmatically send rich content and files between mobile applications. It is available for iPhone and Android platforms and takes only about 5 lines of code to integrate into your app. There is more info at the API website: http://www.kik.com/dev
Disclaimer: I'm on of the developers behind Kik API :)