This document highlights how a Visualizer developer can connect mobile applications to Kony Fabric back-end services and run a News and Weather sample on an Android emulator. Kony Fabric is Kony’s open standards, mobile back end as a service (MBaaS) offering allowing developers to quickly exposed key mobile services and enterprise services to mobile applications . The mobile front end applications can be built using Cordova, Native iOS, Native Android, JavaScript, Kony Visualizer Enterprise and other platforms that can leverage REST based services as part of a mobile framework.
Figure 1: Overview of Kony Fabric
Figure 1 shows you the overall architecture of Kony Fabric, including the client-side SDKs that are available for applications to connect to Kony Fabric. The JavaScript client SDK of Kony Fabric helps you develop the News and Weather application that is discussed in this user guide.
In the user guide, Kony Fabric for News And Weather App, we learned how we could use Kony Connectors to quickly expose XML, SOAP, JSON, SAP and other back end services with Kony Fabric to create mobile optimized, REST based services.
Now we will use Kony Visualizer 7 Enterprise to connect a multichannel application to Mobile Fabric. In this document, we will do the following:
The manual is intended for developers and IT professions using or intending to use Kony Visualizer and Kony Fabric to build, integrate, and deploy mobile applications across multiple channels, including Native iOS, Native Android, Windows, BlackBerry, Mobile Web, and Desktop Web. Developers should be familiar with JavaScript.
Before you review the document, we assume that:

For additional information on installing Visualizer 7 Enterprise, and configuring the Android emulator and other emulators for Visualizer, refer to the following links:
You have reviewed the Kony Fabric for News And Weather App user guide that provides an overview of all the News and Weather Kony Fabric services. We also assume that you have published the News and Weather application to your Kony Fabric runtime environment. The publication process is described in the Kony Fabric for News and Weather App user guide.
Kony maintains the most recent version of the News and Weather app on GitHub. To download and import the News and Weather application into your Visualizer 7 Enterprise IDE, follow these steps:



In the last section, we downloaded the application and imported it into Visualizer, now we are going to configure the application to communicate with our Kony Fabric services. Kony Fabric requires an App Key, App Secret and Service URL for establishing a secure connection to your services. If you don’t have your AppKey, App secret, and Service URL, the following directions will show you how to find them on your Kony Fabric App and add them to your Visualizer app. If you haven’t published your services, please refer to the “Kony Fabric for News And Weather App” guide for configuring and deploying your services before proceeding. You will need the App Key, App Secret and Service URL to configure your sample app to communicate to Kony Fabric. Follow the steps below to configure the client application with the published Kony Fabric services.


That’s it! We are done with the client-side configuration that is needed to run the News and Weather application.
This section provides the details of deploying the News and Weather application in Android emulator. To launch and run the application, follow these steps:



Click on “World” (shown as 4 in figure below) to display the World news. This data is displayed by invoking Kony Fabric’s news service. The category value ( needed by the Kony Fabric service to retrieve the news) that is passed to the “GetNewsForCategory” operation of this service is “W” because of which world news is retrieved.

| Rev | Author | Edits |
| V8 | PG | PG |
| Copyright © 2017 Kony, Inc. All rights reserved. |