Download presentation
Presentation is loading. Please wait.
Published byGiles Hamilton Modified over 9 years ago
1
COMMUNICATION Team 5 ADIL KHAN
2
COMMUNICATION Team 5 COMMUNICATION PROVIDER Two Modules Comprise the CommunicationProvider SmilTransporter CloudDataProvider Both are Singletons
3
COMMUNICATION Team 5 COMMUNICATION PROVIDER
4
COMMUNICATION Team 5 COMMUNICATION PROVIDER Steps to Transmit the SMIL Message 1.Upload assets (Audio,Video,Image to cloud) Handled by CloudDataProvider HTTP (Apache HttpClient Library) Returns BlobStore Key
5
COMMUNICATION Team 5 COMMUNICATION PROVIDER 2. Encode the URL of the BlobStore Key in the Smil object. Replaces local path eg: “/sdcard/chair.bmp” With Cloud path: http://1.csc440mediastore.appspot.com/serve?blob- key=AMIfv945sJ1WUX9sIqeJr_jjAS3XcWCuNH5ReIuamFOuBCtOh0TENWzk wdCcRQMVnja0Gb0xO3YeaCecac6vmV8sX5_exnxUdb1s1JBxyc62Tj1JZMkt oLH2IdnPfTtoSc4i8kie4WZbtVmgzCO4Au-RCjmwdhOLrg"
6
COMMUNICATION Team 5 COMMUNICATION PROVIDER 3. Generate XML using the Simple Xml Framework’s serialize functionality
7
COMMUNICATION Team 5 COMMUNICATION PROVIDER 3. Simple XML SimpleFramework Light weight alternative to JAXB. Annotate Model Classes Serialize/Deserialize from JAVA to XML and back
8
COMMUNICATION Team 5 COMMUNICATION PROVIDER 4. Send SMIL XML to endpoint using XMPP protocol. Conducted in the SmilTransporter class Asmack Library is used to provide high level XMPP functionality ComposerPlayer XMPP via ASMACK Library
9
COMMUNICATION Team 5 COMMUNICATION PROVIDER 5.Player checks for new message, using the SmilTransporter class. CloudDataProvider used to download Assets from cloud SMILMedia List generated and consumed by Player to play the file. Player
10
COMMUNICATION Team 5 COMMUNICATION PROVIDER Player Files Downloaded. SMIL Objects renamed with local paths Http Request for download with blob-key SimpleXML framework used to Deserialize SMIL xml to List of SMILMedia Objects and made available to the Player
11
USECASE DIAGRAMS – COMMUNICATION PROVIDER Team 5 3 rd Party Libraries used: HttpClient http://hc.apache.org/httpcomponents-client-ga/ Asmack/Xmpp library: http://metajack.im/2010/02/10/xmpp-library-for-android-developers/ Simple XML Framework: http://simple.sourceforge.net/
12
USECASE DIAGRAMS – COMMUNICATION PROVIDER Team 5
13
ACTIVITY DIAGRAMS - COMMUNICATION PROVIDER Team 5
14
CLASS DIAGRAMS - COMMUNICATION PROVIDER Team 5
15
TESTING Team 5 ADIL KHAN
16
TESTING Team 5 White Box Testing Black Box Testing
17
TESTING Team 5 White Box Testing Tested SmilTransporter library with google chat client. Tested CloudDataProvider with local GAE server and then with actual Cloud with billing enabled. (inconsistencies found). Tested Composer/Player functionality, in playing various components on emulator/real device. (Inconsistencies on emulator found). Tested SMILMedia ArrayList Structures, passed to and from CommunicationProvider.
18
TESTING Team 5 Black Box Testing Tested Interface between Composer and Communication Provider. Upload of files Passing of SMIL Messages. Tested interface between Player and Communication Provider. Download of Files Receiving of SMIL Message.
19
TESTING Team 5 Black Box Testing (Continued) Tested consistency of SMIL message passed from Composer to Player. Play SMIL on composer and compare to Playing on player.
Similar presentations
© 2025 SlidePlayer.com. Inc.
All rights reserved.