How Cisco StadiumVision Mobile Fits into the Android Framework

This section provides background information as to how Cisco StadiumVision Mobile fits into an Android Phone app. It contains the following sections:

Android API Class Fundamentals

StadiumVision Mobile Class describes the three main Android API classes used in Cisco StadiumVision Mobile. The top-level StadiumVisionMobile class acts as a custom Android application context. An application context is a global structure created within the current process. It is tied to the lifetime of the process rather than the current component.

Each SDK API method is called using the StadiumVisionMobile class. The SVMVideoPlayerActivity class is a customizable stand-alone video player.

StadiumVision Mobile Class
 
Back to top of page

Android OS Activities

Android Activities depicts the Android OS with regard to Activities. An Activity represents both the screen layout and controller code. A new Activity is launched by sending an Intent to the Android OS. An intent is a message to Android OS to launch a particular activity. Extra parameters contained in an Intent and are passed to an Activity. The back button is a hard device button used to generically display the previous Activity, and moves back down the Activity stack.

Android Activities
 
Back to top of page

Android Video Player Activity Inheritance depicts the Activity inheritance between the Android OS, Cisco StadiumVision Mobile, and the client application.

Android Video Player Activity Inheritance
 
Back to top of page

Client Application Integration

Cisco StadiumVision Mobile Integration
 
Back to top of page

Customer Application Roles

Customer Application Responsibilities illustrates the roles of the customer application. The application must specify how to:

  • Get the list of video channels
  • Display the list of video channels
  • Handle user gestures for selecting video channels
  • Add video overlays and layouts
  • Handle user gestures to control video overlay
Customer Application Responsibilities

 

Back to top of page