Author Message
test_123
Joined: Nov 6, 2017
Messages: 17
Offline
Hi All

Currently I am developing custom Equinox application for Android and Windows.
I have tried to use ComposingParticipantsListener function but there is no report behind active user in conversation is typing

how can I get the user info is typing it

Regards,

Andi
Rumata
Joined: Dec 20, 2016
Messages: 133
Offline
Hi Andy,
thank you for your question.

You can use following API:
MessageListener::onMessageBodyChanged(Message message, java.lang.String body);
test_123
Joined: Nov 6, 2017
Messages: 17
Offline
Hi Rumata,

Thanks for your respons

I already implemented that function, but I need to know how to get info if other user type the message. So I can see "User is typing" in the Instant Messaging Session.

Need your advice.

Regards,
Andi
Rumata
Joined: Dec 20, 2016
Messages: 133
Offline
OK, I see. In that case the ComposingParticipantsListener::onConversationComposingParticipantsChanged have to work.

Is capability Conversation::getIsTypingCapability() allowed?

test_123
Joined: Nov 6, 2017
Messages: 17
Offline
Rumata wrote:OK, I see. In that case the ComposingParticipantsListener::onConversationComposingParticipantsChanged have to work.

Is capability Conversation::getIsTypingCapability() allowed?



Hi Rumata,

I already tried that method, but the capability is not allowed(See attachment for detail log).


Regards,

Andi
  • [Thumb - usertyping.jpeg]
[Disk] Download
Rumata
Joined: Dec 20, 2016
Messages: 133
Offline
On screenshot I can see getUpdateBodyCapability(). What's about getIsTypingCapability()?

Please collect and attach client logs (in Debug mode).

To enable logging in Windows SampleApp please make following changes in SDKManager.cs:

1) Set debug level
[Line 119] Client.LogLevel = Avaya.ClientServices.LogLevel.Debug;
2) Set log callback (uncomment line)
[Line 120] Client.LogMessage += LogMessage;
3) Enable writing to console with timestamps (uncomment line)
[Line 334] Console.WriteLine("\n" + DateTime.Now.ToString(("MM-dd-yyyy hh:mm:ss")) + ": " + Level + " : " + Tag + " : " + Message);
4) Disable writing to console without timestamps (comment line)
[Line 335] //Console.WriteLine("\n"+ Level + " : " + Tag + " : " + Message);
5) Rebuild SampleApp

Then we can collect logs:
1) run following command in shell:
CommunicationSampleApp.exe >SampleApp.log
2) Reproduce issue then close SampleApp
3) Send SampleApp.log file to our team
test_123
Joined: Nov 6, 2017
Messages: 17
Offline
Hi Rumata,

My issue is for android development, for windows was okay. How to implement the user typing from other user? I can't found the getIsTypingCapability() function for android SDK.


Regards,

Andi
Rumata
Joined: Dec 20, 2016
Messages: 133
Offline
Hi Andy,
Sorry, getIsTypingCapability() is new method and it is not available in 3.3.
I'm going to try to reproduce your issue and get back to you.
test_123
Joined: Nov 6, 2017
Messages: 17
Offline
Hi Rumata,

Thanks for your reply. Ok, I'm waiting for that method for next release.


Regards,

Andi
Rumata
Joined: Dec 20, 2016
Messages: 133
Offline
Hi Andi,

What version of AMM server do you use? I've found that typing notifications don't work against AMM server version - 3.1.0.1.148, but work against 3.0.0.0.1.175.
test_123
Joined: Nov 6, 2017
Messages: 17
Offline
Hi Rumata

I am using AMM server version 3.2, so does it exist in server version 3.2?

Thank you
Andi
Rumata
Joined: Dec 20, 2016
Messages: 133
Offline
AMM 3.2 have to work. It seems I've found root cause.

If you can see following messages in log:
CAMMWebsocketConnection[CONNECTING]::OnDiscoveryTimeout(): Closing websocket connection.
...
CAMMMessagingProvider[AMMMessagingProviderStateMachine::RUNNING]::SubscribeForChatStateNotifications(): Failed: No server resource found

it means the WebSocket connection to AMM wasn't established. To fix it, you need to add netty lib to build process of your project.

Client SDK is dependent on Netty library which is not distributed as part of AvayaClientServices.aar. Even if your app doesn't require Netty, make sure you add it as a dependency in your build.gradle to avoid runtime issues:

compile 'io.netty:netty-all:4.1.0.Final'

test_123
Joined: Nov 6, 2017
Messages: 17
Offline
Hi Rumata,

I was tried to add io.netty:netty-all:4.1.0.Final but still can't see "user typing" from other users. Beside that other feature likes video collaboration got problem, can't see desktop sharing from other user. Lastime this feature was okay if I used netty-all:4.1.0.Beta3.
Rumata
Joined: Dec 20, 2016
Messages: 133
Offline
Hi,

I tested with netty-all:4.1.0.Final last week. IsTyping worked.
It attachments there is my implemetation based on Android SampleApp (new check box has been added to conversation frarment).

Please take it and verify Is the added check box checked when remote user is typing?
Filename AvayaClientSDK_Android-3.2.0.2-build1-IsTypingSample.zip [Disk] Download
test_123
Joined: Nov 6, 2017
Messages: 17
Offline
Hi Rumata,

Thanks for your reply. i try your code and then yeeaay its works ..
Thanks you Rumata

Regards,

Andi
Go to:   
Mobile view