We've installed REAS and REMB in our lab.
We're using expert_assist_android_SDK-11.5.1.10000-22
We are working on re mobile android sdk integration, now we are facing issue when using co browse feature with android devices with API level 23(marshmallow) or above. The feature is working fine on api level 22(lolipop 5.1). But when i tried it on marshmallow devices, it only showed a vertical line.
Any idea how to fix it? thx in advance.
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
Hi Edwin.
Could you screenshot the issue for us to take a look at?
There are a couple of patches that were released after expert_assist_android_SDK-11.5.1.10000-22 . Can you confirm if you've applied these to your environment. There were numerous fixes in the patches.
Cheers,
Rach D
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
Hi Rach,
Thank you for your response.
We've applied those patches, but maybe I feel like that the real problem is i don't call the method for co browse in android the correct way. The co browse section only shows vertical line like the pictrure below.
Can you help me about how to implement co browse in android?
I already did everything from from the guide here:
Cisco DevNet: Remote Expert Mobile - Developer Tutorials
Thanks
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
Hi Edwin.
Thank you for your reply, and for providing the screenshot, it's very helpful for us to get a better understanding.
So to confirm This very same app is behaving as expected on API levels under 22 but as of level 23+ this issue occurs?
In that case can you just confirm for us if the sample application is behaving as expected on the 23+ API levels?
You can obtain the sample for free from the playstore here: Remote Expert Mobile Cobrowse - Android Apps on Google Play
Could you also confirm if you are using physical devices or if you are using a simulator? Also if you are developing in AndroidStudio or some other application?
Cheers,
Rach D
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
Hi Rach.
Thank you for your reply,
No, Sorry I misjudged the problem before. The problem is not the API 23+.
Can you provide guide how to implement this feature, because the developer guide on the website itself doesn't show anything Cisco DevNet: Remote Expert Mobile - Developer Tutorials. So, I thought it will work automatically.
Cheers,
Edwin R
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
Hi Edwin.
That's no problem, it's good to know it's not version effecting at any rate. I assume the sample I sent over in the link is behaving as expected for you?
The screen share should work out of the box as it is part of the SDK. Can you confirm if you have made any modifications from the developer documents?
Also if you could confirm what device you have your 'agent' on and if it is the same you used to test the sample application.
Cheers,
Rach
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
Hi Rach,
Yes, It's working as expected.
I followed the guide thoroughly step by step but it still doesnt work.
The device that I used for the sample app and my app is the same, it's Lenovo Vibe s1
It seems like that something is missing from the guide. Can you give me a step by step guide to implement co browse.
Cheers,
Edwin
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
Hi Edwin.
Glad to hear the sample is working as expected.
I'm not sure why your application is not behaving as expected in that case. There is no step by step for implementing co-browse, you have already done what is meant to be necessary.
I assume you are using something like 'Android Studio' to make your application? Could you share with us the logs from the device when you build too it? Perhaps we can spot something for you there.
Alternatively if you'd like to share your project with us we will be happy to take a look at that too.
If you need an upload link then please let us know and I can generate one for you.
Cheers,
Rach D
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
Hi Rach,
Yes, I made the app in Android Studio.
Here's the project where i try to use the cobrowse feature.
https://drive.google.com/open?id=0B6sITBGsbxlxX2JUdGRLeWx5RFk
Cheers,
Edwin
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
Hi Edwin.
Thank you for sharing your application, I'm having some trouble building to my device. Mashmallow (android 6, API 23) tells me it has the wrong architecture. Although when I run it against my Nougat (Android 7, API 24) it repeatedly says the app has closed and never runs. There not much in my logs for this so could you perform the test at your end, get into a co-browse and share me your 'Run' Logs and 'Messages' from Android studio please?
You can upload them to the last link that is fine.
Cheers,
Rach
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
Hi Rach,
Sorry for the late response, I was on vacation.
Now I'm using restricted mode and cant even make a call.
I can get the sessionID already and put it on builder like this : builder.setSessionToken(sessionID)
But when I make the call, it loads forever.
Do you have any idea? Thx.
Cheers,
Edwin
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
Hi Edwin.
Sorry to pry but if you could get the logs over to us it would be much easier to diagnose why the call is not setting up.
Is there any error message when it fails?
Cheers,
Rach D
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
Hi Rach,
It doesnt fail but it loads forever and spam these inside the logcat:
23027-23027/com.example.edwinramana.rem1 I/SurfaceView: updateWindow -- OnPreDrawListener, mHaveFrame = true, this = com.alicecallsbob.assist.sdk.video.impl.CaptureableTouchableVideoSurfaceImpl{c086e1b V.E...... ........ 0,0-468,351}
Cheers,
Edwin
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
So does the call ever connect?
Could you also elaborate on what you meant by: Now I'm using restricted mode and cant even make a call.
That is a strange error. Could you upload the whole log please? If you need a secure upload I can provide you a link if you'd rather it not be public.
Cheers,
Rach D
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
The call could connect before.
What I meant with restricted mode is this https://developer.cisco.com/media/remote-expert-mobile-developer-tutorials/android-sdk/10-restricted-client-access/restr…
The web version is working fine but the android version is not.
The whole log is spammed by that line, this is the full logcat qwe.txt - Google Drive
Cheers,
Edwin
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
Cheers Edwin,
Can you share your own code you've edited from the sample shown on: https://developer.cisco.com/media/remote-expert-mobile-developer-tutorials/android-sdk/10-restricted-client-access/restr…
Cheers,
Rach
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
I changed Anonymous Consumer Access into disabled and it worked fine on web sdk using sessionID but it doesnt work on android sdk.
Cheers,
Edwin
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
Hi Edwin.
That is strange, authentication should be working for Android also. I will look into this and make sure there is no defects.
You mentioned call was setting up before you applied this, can you confirm if co-browse was also working too? Given that was the original issue of the thread? If so what did you change to get it working again?
Cheers,
Rach
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
I'm using the latest patch 11.5.1.10000-22.ES4
Yes, it was working fine before. But after I use authentication, it's not working.
The co browse is still not working but I need to fix this problem first because it's more important or should I make a new thread about this problem?
Cheers,
Edwin
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
Thanks for clarifying.
I think that would be a good idea, we can keep the two separate and easier to manage then.
If you could grab some logs with the auth off for this thread then we can take a look at the co-browse issue too.
Cheers,
Rach
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
Ok, i've made new thread about this problem
We can use that thread to discuss this problem.
We can continue to discuss the co browse problem later on this thread when the authentication problem solved.
Cheers,
Edwin
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
Comments
0 comments
Please sign in to leave a comment.