This App solution is a demonstration of the capability of real time bi-directional communication between Apps and Attended Robots. This allows for instant communication between Apps and Robots by invoking XAMLs within an existing running process.
This solution contains 2 artifacts:
The App collects the city name from the user and shows the Google map location details as well as the latitude/longitude and other details of the city. The user can choose to get weather and pollution details of the city by clicking on the corresponding button.
The process uses OpenWeatherMap API to get the city location, weather and pollution details of the city.
The process consists of 5 XAMLs:
Main.xaml - This contains "Run Local Trigger" Activity.
appsInternalTrigger.xaml - This template can be used if we want real time capability of robots.
City_location_details.xaml - This XAML requires the city name as input and gives the city details as output.
Air_pollution_details.xaml - This XAML requires city latitude, longitude as input and gives the pollution details as output.
Weather_details.xaml - This XAML requires city latitude, longitude as input and gives the weather details as output.
Please note that City_location_details.xaml, Air_pollution_details.xaml and Weather_details.xaml are set as Entrypoints.
By utilizing this App Solution, you can benefit from real time bidirectional communication between Apps and Robot.