cancel
Showing results for 
Search instead for 
Did you mean: 
cancel
1827
Views
0
Helpful
5
Replies

Android assist sdk - startSupport() issue

oabutbul
Cisco Employee
Cisco Employee

my config is :

final AssistConfigBuilder builder = getBuilder();

builder.setServerHost("10.56.x.x"); // in my lab

builder.setServerPort(8443);

builder.setConnectSecurely(true);

builder.setAgentName("agent1");


and getting the errors below:

06-06 14:32:37.795 7221-7221/com.alicecallsbob.csdk.android.sample D/AndroidRuntime: Shutting down VM

06-06 14:32:37.798 7221-7221/com.alicecallsbob.csdk.android.sample W/System.err: java.lang.ClassCastException: android.widget.FrameLayout$LayoutParams cannot be cast to android.view.WindowManager$LayoutParams

06-06 14:32:37.799 7221-7221/com.alicecallsbob.csdk.android.sample W/System.err:     at com.alicecallsbob.assist.sdk.overlay.impl.AssistOverlayImpl.show(AssistOverlayImpl.java:100)

06-06 14:32:37.801 7221-7221/com.alicecallsbob.csdk.android.sample W/System.err:     at com.alicecallsbob.assist.sdk.core.AssistOverlayManager.showOverlays(AssistOverlayManager.java:273)

06-06 14:32:37.802 7221-7221/? W/System.err:     at com.alicecallsbob.assist.sdk.core.AssistCoreImpl.startAssistanceSession(AssistCoreImpl.java:301)

06-06 14:32:37.804 7221-7221/? W/System.err:     at com.alicecallsbob.assist.sdk.core.AssistCoreImpl.access$800(AssistCoreImpl.java:48)

06-06 14:32:37.805 7221-7221/? W/System.err:     at com.alicecallsbob.assist.sdk.core.AssistCoreImpl$3$1$1.run(AssistCoreImpl.java:352)

1 Accepted Solution

Accepted Solutions

Thank Rich,

Right the sample app is not working as well.

I’m creating a sessionToken with the parameters below :

· Assist server – (10.56.x.x) – in my lab

· Port -8443

· Secure connection – yes

· Assist agent – agent1

Can we do a quick webex to figure out this issue ?

Thanks,

Orel

View solution in original post

5 Replies 5

rimorgan
Level 1
Level 1

Hi,

Can you provide a little more of your code? Does your app crash when you call StartSupport?

Cheers,

Rich

Thank Richard,

Yes, the app crashes, it’s happening even if I’m using the “Remote Expert Mobile” app (sample app that you’re provided), getting the same errors.

The settings are:

· Assist server – (10.56.x.x) – in my lab

· Port -8443

· Secure connection – yes

· Assist agent – agent1

For the agent I use the sample assist - https://rem-il-lab.cisco.com:8443/expertassist/agent/ (agent1/agent1)

Another q – regardless my issue – how can use sample agent assist with “correlation id” ?

Thanks,

Orel

Hi Orel,

Are you saying the sample app does not work for you, out of the box?

Are you trying to create your own sessionToken using the builder parameters above?

To use in correlationId mode, you should see a dropdown, top right, in the sample agent console where you enter the correlation id.

HTH,

Rich

Thank Rich,

Right the sample app is not working as well.

I’m creating a sessionToken with the parameters below :

· Assist server – (10.56.x.x) – in my lab

· Port -8443

· Secure connection – yes

· Assist agent – agent1

Can we do a quick webex to figure out this issue ?

Thanks,

Orel

Hi Orel,

Sure, I'm based in the UK. Is there a time that suits? Maybe next week?

Cheers,

Rich