Download - Mobile SMIL
Mobile SMILJason Daniels
Ben BedinghausRyan Ware
Who We Are
• Ben Bedinghaus– Team Lead, Implementer, Tester
• Jason Daniels– Configuration Manager, Implementer, Tester
• Ryan Ware– Liaison, Implementer, Tester
The Project
• Mobile application supporting SMIL– XML markup language “Synchronized Multimedia
Integration Language” defines multimedia presentations
• Playback of SMIL files• Creation and editing of SMIL files• Sending and receiving of SMIL files from one
cell phone to another
The Platform
• Why Android?– Java– Windows support– Ample documentation– Eclipse plugin & emulator
Overall Use Case
Overall Activity
Player Activity
Composer Activity
Manager Activity
Player Implementation
• File Types– text (txt)– image (jpg, png, gif, bmp)– audio (mp3)– video (mp4, 3gp)
• Controls– Play / Pause– Previous / Next
Send/Receive Implementation
• Send– Application zips XML file with referenced media
files; uploads ZIP file to FTP server; adds new database entry.
•Receive• Application thread created at startup queries database
every 5 seconds for new SMIL files.• Application downloads and unzips file; removes file from
FTP server and database entry; notifies user.
Send/Receive Implementation
• Server: cscdb.nku.edu– FTP server– MySQL database
– PHP scripts for interacting with database• send (add database entry)• receive (query database for messages)• delete (remove database entry after receipt)
id to_number from_number message_url
1 18591234567 151398765432 mysmil_20100410123045339.zip
Difficulties
• Playback Performance– Player creates a new thread for every audio and
video file during playback.– Lower audio playback thread priority.– Sleep video thread every quarter of a second.
Testing
Task Partition
• Ben Bedinghaus– Manager (Send/Receive/File browser)
• Jason Daniels– Player (Media Playback/Control)
• Ryan Ware– Composer (Editing/Saving/Parsing)
Project Management
Software ConfigurationManagement
Document Inspection
Code Inspection
Communication
Summary