I'm trying to make a chat application for Gmail on Java, but I couldn't find any API for this purpose. I was told about OAuth but I don't think it has any such feature. Please suggest me an API or help me use OAuth in this situation. Thanks in advance.
Google uses the XMPP protocol for its chats.
XMPP Java API Overview
a simple tutorial using the Smack library
Gmail utilises a web-based version of Google Talk (GTalk). GTalk is a Jabber/XMPP-based chat system.
I'd recommend looking at a Jabber/XMPP library for Java, such as Smack, noted as an answer in this question; best java jabber client library
Google Chat, and Google Talk, use the XMPP protocol. You might find it useful to read the Google documentation here... https://developers.google.com/talk/
Related
What is Exchange Web Services? How to use Exchange Web Services to access Outlook calendar data using Java?
You can view EWS as a library available from Microsoft to access Exchange Web Services. It's fairly easy and there are some nice tutorials on the Microsoft website.
https://msdn.microsoft.com/en-us/library/office/jj220499%28v=exchg.80%29.aspx
This should help you get started. Also this is for c# and vb. I don't know how you would use this in java, or even if you can. Good luck!
I am using mobicent sip servlet and I have deployed it in JBOSS as7 successfully. But I saw testing is from the sip softphones.
I have google search alot about building our own sip client but I cannot find the proper guide.
What I have to do is using Sip Servlet as a signalling and I have to create Android client(using JAIN-SIP) and also I have to create UAC from browser.
I am confuse about how can I use my Sip Servlet application that is running on server? How I send requests(Register,Invite and so on) from client to sip servlet?
For Example this tutorial But How I create my client? :)
A little guide or small tutorial about create UAC or how to use sip servlet can help
Android has built in very simple SIP client and APIs here http://developer.android.com/reference/android/net/sip/package-summary.html. You only need your own JAIN-SIP in android if you are using some more advanced features. There are plenty of examples here https://svn.java.net/svn/jsip~svn/trunk/src/examples
I would recommend starting studying this example https://github.com/Mobicents/sip-servlets/tree/master/sip-servlets-examples/websocket-b2bua
This is the Sip Servlets application behind the bundled WebRTC demo that comes with Mobicents SIP Servlets : https://github.com/Mobicents/sip-servlets/wiki/HTML5WebRTCVideoApplication
This demo connects 2 WebRTC browsers together to have a video or audio call.
In your case, you'll need to replace one of the browsers with an Android based Client. I would recommend looking at an Android SDK that supports WebRTC. We started building one at https://github.com/Mobicents/restcomm-android-sdk which is based on JAIN-SIP but the media side doesn't fully support WebRTC yet. (Any contributions are welcome though) Altough you can use it for chat/messaging to start with and show it works.
What is the best way to access Google Documents (documents, spreasheets etc from Google Apps or Gmail) using Java on Google App Engine. We are using GWT on the client side.
Thanks,
Carl
The Google Data Client for Java suppose to work on the Google App Engine.
It gives you access to must of Google Apps Services.
Google has Google Client API which probably has a better support for OAuth2, json and support for the API discovery, but still The old API should work.
Read about Migrating To Google Api Java Client this should resolve any confusion you might have.
Currently, i'm working on android project. I have to join a jms server based on openJMS.
i've not found any library, anyone know how to implement JMS client on Android ?
thx.
Use the Kaazing WebSocket Gateway Android JMS Client API
you can visit Kaazing official website for that.
Thanks!
We have also faced same scenario.
You can use the Kaazing WebSocket Gateway to connect Android (and other) clients to JMS over WebSocket
Checklist: Build Android JMS Clients.
I am using JWebService framework to connect my Exchange Server 2007. As it is a paid version, I am looking for some open source like JWebService.
Can anyone suggest a good alternative Java API that is free?
Thanks in advance!
You can have a look at http://archive.msdn.microsoft.com/ewsjavaapi and http://sourceforge.net/projects/j-xchange/