watson virtual agent preview : how to reset it ? - watson

I am discovering the IBM Virtual Agent product. The preview capability on the right of the screen is useful. However , I wonder how to reset it after a change in the customization .
The preview can be reset by closing the browser session: is there another way that would allow to stay connected to the configuration environment ? .
Many thanks

You can reset the Preview Pane by just refreshing your browser window rather than closing it altoghether. I have also passed this along to our team as feedback for further improvements to the preview pane in general. Thanks!

Related

How to disable restrict mode in youtube?

I have problem, in not about coding, but i can't watch a lot of tutorial... I have an youtube account, in my phone anything work, but in my mac not.
I tried to change browser , i tried also to change network, wi-fi , lan, and also broadcasting with my phone but always the same result
I checked in setting and if i check from the icon i have that
but if i check from youtube menu
i have this:
So i read the documentation but i don't find the solution....
How is possible disable the restricted mode ???
if i try to disable from the setting menu( second 4 pic) i have this
But i'm the admin of my pc.... there is only one account ...
help!

How to remote desktop to an iOS device, a.k.a. how do Mobile Device Farms work?

I have been trying to understand how Mobile Device Farms like DeviceConnect, AWS Device Farm, SauceLabs, etc. get to remote control iOS devices, but I can't find anything on the subject. They get to do it without jailbreaking, which baffles me even more.
I love these kind of projects, because at the moment it seems undoable, but I know that it is possible ('they' are doing it).
With remote control I mean: seeing the screen of the iOS device on your computer screen and able to touch and swipe with your mouse.
Can someone please point me in the right direction as to how these technically work?
If you're using an iPad (in particular) or an iPhone (if you think you'll be able to make our any detail on the smaller screen) then using remote access to view and control what's on your friend's Mac is a good option. And the best way to remote-access a Mac from an iPad is to use Google's free Chrome Remote Access service, which lets you remotely use Mac programs from an iOS device.
It's quite an involved process to set it up the first time, but easy if you want to do it again in future. You'll need the Google Chrome web browser for Mac, and a Google account.
Here is link for Chrome Remote access
https://chrome.google.com/webstore/detail/chrome-remote-desktop/gbchcmhmhahfdphkhkmpfmihenigjmpp?hl=en
Open Chrome and go to Chrome Remote Desktop on the Chrome Webstore. Click Add to Chrome, then Add App. Click Allow, then Continue.
I will give you one approach and small explanation .
You will need to create application with all possible permissions at first also implementation handlers functions .
For example :
Works with files
Real native Socket connections (not http protocol) + need to have some main server signalling (domain or static ip).
Handle remote touch trigger (main problem for real remote/iOS)
Background part experience
Your app need to be non-Market app (more likely).
You can make Application with all possible options that apple give us.
What can you do remote with your app : -control camera/ Mic read geo data , work with galleries , delete or create files . Socket will be communication line .
Also app must initially started and make (on user request) always allow all permissions .
Use camera :
Send with socket some command example ( openCamera ) . AFTER receive this string perform action for opening camera .
If you can fix programability triggering touch events you can make remoteIOS.
More data links :
Q/A send remote events
Q about touch events
Q/A about Permisions
Sorry for the first quick answer,
All of these: DeviceConnect, AWS Device Farm, SauceLabs use Appium in order to control devices.
The component that execute the command is the WebDriver.
Appium have different WebDriver implementation in order to execute operations to different device.
The iOS WebDriver can be found here: https://github.com/appium/appium-ios-driver.
The protocol in use is the JsonWireProtocol.
more details can be found here:
http://appium.io/,
http://www.seleniumhq.org/
Regards

How to get back to the application which escapes control?

Scenario :
"My application may escape control during UI automation to another application like the browser etc"
Solution :
"I want to get back to my application which I am automating after it loses control and moves to another app so that I can proceed with my automation"
Tried :
I can figure out if an application escapes control by checking the bundle id's after each action so that if the actual and current bundle id's differ I get to know that my application lost control.
I am blocked on how to proceed further in getting back to my application in case it moves out of control
Thank you for your time and effort in going through till the end :)
This is a limitation of the "sandbox" in iOS -- once your app loses focus, UIAutomation must terminate as well. You will need to launch another instruments session to automate the browser (or whatever application you're switching to).
See this question for some information on launching an automation session against those apps.

Modal Application

I'm using Xamarin.Android and I would like to build an application that start in modal way and don't close if you push the home button.
So this application need to be the only one application than a user can use on device.
Somebody can suggest how it can be done?
You best way to do is to make a "Launcher"/"Home" application. The Android SDK comes with a sample on how to do this.
You basically do this by adding your main Activity to the android.intent.category.HOME and android.intent.category.DEFAULT category and you set the launchMode to singleInstance.
This will register it as a Home application, then when you press your home button it should ask you to choose which launcher you want to use. You will have to set it once and it can be changed by the user.
You can find the sample in: android-sdk\samples\android-17\Home\src\com\example\android\home (should also be available in the other API samples).
You cant stop people from installing applications on android devices. You would have to build your own hardware for that however, you can override OnKeyTouch and check for the key being home.
You could build a service that checks the package of each running application and log which applications are run on the device to prevent users from using company property on other things. However, if android ever decides to kill your application the service should stop and this wont work.
Long story short what you are trying to do is flawed in its inception given the platform you are trying to do it on.

Handling Trusted Application Status Dialog Event in BlackBerry after installing a new Application

Whenever I install my Application on the Blackberry device I get a prompt asking "Trust Application" with yes, no and help options. If Yes is selected everything works fine, if I choose No I get other prompts with Allow and Deny again and again due to permission issues as my application uses Location Services.
What I want is whenever the Trusted Application dialog comes and after Users selection of yes or no I want to show a Alert or Information telling "Please select YES in trusted application dialog for Correct working of this Application, if you selected No then you can restart the App and select YES". This is just a toast or information that appears before loading the Home or main screen of the application if Trusted Application dialog appears. How do I handle this case, can anyone help me out in solving this issue....
Thanks...
If you are using Blackberry Webworks SDK, you can use the System API to find out the available permissions (and other information about the system)
https://developer.blackberry.com/html5/apis/blackberry.system.html#.hasPermission
You should be able to do a check against those parameters and show the dialog box warning users that they have not provided permission.
If you want to find some sample code, check out: https://github.com/blackberry/WebWorks-Samples/tree/master/kitchenSink

Resources