Professional Documents
Culture Documents
Specification
Document Version 1.1
for
ArchiSoft AB
December 14th, 2007
SoftwareRequirementsSpecificationforMobileImageGallery
Pageii
TableofContents
TableofContents...........................................................................................................................ii
RevisionHistory............................................................................................................................iii
1. Introduction..............................................................................................................................1
1.1
1.2
1.3
1.4
Purpose..........................................................................................................................................1
IntendedAudience.........................................................................................................................1
ProductScope................................................................................................................................1
References.....................................................................................................................................1
2.1
2.2
2.3
2.4
2.5
2.6
2.7
ProductPerspective.......................................................................................................................2
ProductFunctions..........................................................................................................................2
UserClassesandCharacteristics...................................................................................................3
OperatingEnvironment.................................................................................................................3
DesignandImplementationConstraints........................................................................................3
UserDocumentation......................................................................................................................3
AssumptionsandDependencies....................................................................................................3
3.1
3.2
3.3
3.4
3.5
3.6
ExternalInterfaceRequirements...................................................................................................4
SystemFeatures.............................................................................................................................4
PerformanceRequirements............................................................................................................7
SecurityRequirements...................................................................................................................7
SoftwareQualityAttributes...........................................................................................................7
OtherRequirements.......................................................................................................................7
2. OverallDescription..................................................................................................................2
3. SpecificRequirements.............................................................................................................4
SoftwareRequirementsSpecificationforMobileImageGallery
Pageiii
RevisionHistory
Name
Date
Version
Nattakarn P.
Dec 15,
2007
1.0
Josef H.
Dec 21,
2007
1.1
SoftwareRequirementsSpecificationforMobileImageGallery
1.
Introduction
1.1
Purpose
Page1
ThepurposeofthisdocumentistoidentifysoftwarerequirementspecificationoftheMobileImage
Gallery (MIG) application. The application is a mobile application thats provide services to
browse,upload,anddownloadimagesfromGooglePicasaweb,theonlinewebalbum,server.
MIGisimplementedusingGoogleAndroidplatformwhichisasoftwarestackformobiledevices
includingoperationsystem,middlewareandotherkeyapplication.
1.2
IntendedAudience
Thisdocumentisintendedtothefollowinggroupsofstakeholders.
1) Theprojectmanagerusesthisdocumentforprojectplanningandmonitoring.
2) Theapplicationdesignersusethisdocumenttomakethedesignoftheapplication.
3) Theprogrammersusethisdocumenttounderstandbothapplicationoverviewanddetailed
softwarespecification.
4) Thetestersusethisdocumenttodeveloptestcases.
ThedocumentstartswiththeoveralldescriptionoftheMobileImageGalleryapplication.Itgivesa
comprehensivedescriptionofproductperspectiveandthefeaturesthatthissystemprovides.Itgives
theuserclasses,characteristicsandtheirauthorization.Itdescribesthepossibleconstraintsonthe
project,andtheunderlyingassumptionsonwhichtherequirementsanalysisisbased.Itenlistsall
thespecificrequirementsthatcontainacompletedescriptionoftheapplicationrequirements,both
functionalandnonfunctional.
1.3
ProductScope
TheMobileImageGallerywillalloweveryonetobrowsealbumsandimagesfromtheirmobile
deviceonlineandsharemomentswithfamily,friendandcolleague.Adetailedprojectdescription
isavailableintheMobileImageGalleryVisionandScopeDocument.Thesectioninthatdocument
titledScopeofInitialandSubsequentReleasesliststhefeaturesthatarescheduledforfullor
partialimplementationinthisrelease.
1.4
References
[1]FormoredetailregardingGoogleAndroidapplication,pleasereferstoitsofficialwebsiteon
http://code.google.com/android/documentation.html
[2]VisionandScopeDocumentforMobileImageGalleryVersion2.0
SoftwareRequirementsSpecificationforMobileImageGallery
2.
OverallDescription
2.1
ProductPerspective
Page2
TheMobileImageGallery(MIG)isamobileapplicationthatprovidesaconnectionfromamobile
devicetoPicasawebserver.Ithasfeaturestobrowse,download,anduploadimagesfromPicasaweb
onlinealbum.ThecontextdiagraminFigure1illustratestheexternalentitiesandsysteminterfaces
forMIG.
Figure1:ContextdiagramoftheMobileImageGallery
Thesystemisexpectedtoevolveoverseveralreleasesespeciallytosatisfyusersofhavingan
excellentimageviewerapplicationinsidetheirmobiledevices.
2.2
ProductFunctions
MobileImageGalleryapplicationprovidesseveralfeaturesformobileusers:
AutomaticauthenticationtoGooglePicasawebserver.
RemoteimageorphotobrowsingofPicasawebalbum.
DownloadimageorphotofromPicasawebalbum.
UploadimageorphototoPicasawebalbum.
Inordertoperformthesefeatureseffectivelyandpromotemodifiabilitytoproductdesign,the
applicationcoreisspittedintomodulesworkingincollaboration.Thesemodulesinclude
Authenticationmodule
Remotebrowsingmodule
Uploadmodule
Downloadmodule
Albummanagementmodule
SoftwareRequirementsSpecificationforMobileImageGallery
2.3
Page3
UserClassesandCharacteristics
TheuserofMobileImageGalleryiseveryonewhohasmobiledevice,suchasmobilephone,smart
phone or personal digital assistance (PDA), which runs under Android platform. Another
requirement is the user should have Google Picasaweb personal account. Eventhough this
requirementisnotmandatory,thepersonalaccountwillallowusertoutilizethedownloadand
uploadimagefunctionfromtheapplication.Otherwise,theusercanonlybrowseanypublicalbum
fromPicasawebserver.
2.4
OperatingEnvironment
Theapplicationwillbeimplemented,tested,andintegratedonAndroidplatform.Theplatform
provideanoperatingsystem,middleware,corefeatures,andAPIthatallowaccesstoperform
activityonmobiledevicesystem.
2.5
DesignandImplementationConstraints
CO001
CO002
CO003
2.6
TheapplicationdesignprimarilydependsonGoogleAndroidarchitectureusingits
API.
The application uses service interface that is provided by Picasaweb server for
requestingimages.
AllcodeshalluseSunJavaprogramminglanguage.
UserDocumentation
Refertoapplicationusermanualdocument,MobileImageGalleryUserGuide.doc
2.7
AssumptionsandDependencies
TheassumptionofMobileImageGalleryapplicationisoutlinedbelow:
TheapplicationdoesnotprovideservicetoregisternewuserstoPicasaserver.Userneeds
toregisterthemtoPicasa.AusernameandpasswordneedtobeprovidedtologintoPicasa
throughMobileImageGalleryapplication.
AwebserverthattheapplicationprovidesaconnectiontoitsserviceislimitedtoPicasa
webserver.Theservicesarelimitedtobrowsing,uploadinganddownloading.
SoftwareRequirementsSpecificationforMobileImageGallery
3.
SpecificRequirements
3.1
ExternalInterfaceRequirements
3.1.1
UserInterfaces
Page4
Mobile image gallery application provides graphic user interface to perform image browsing,
downloading, and uploading. The application receives input via mobile keypad and output of
servicesisrespondedviadevicescreen.
3.1.2
HardwareInterfaces
Noapplicablehardwareinterfaces.
3.1.3
SoftwareInterfaces
The application uses services of mobile devices operating system through API provided by
Android.
3.1.4
CommunicationsInterfaces
TheapplicationcommunicateswithPicasawebserverviaHTTP.
3.2
SystemFeatures
3.2.1
Login/AutomaticLogin(FE001)
3.2.1.1 Description and Priority
Loginisoneoftheessentialfeaturesoftheapplicationasitprovidesfacilityto
authenticateuserstoPicasaserver.Theapplicationprovides2typesoflogin:manualand
automaticlogin.Manualloginrequiresuserstoinputausernameandpasswordregisteredto
Picasaserver,automaticloginretrieveuseraccountsavedinmobiledeviceandprovide
automaticlogin.
3.2.1.2 Stimulus/Response Sequences
Stimulus
Response
Stimulus
Response
Auserrequesttologin.
TheapplicationqueriesforaPicasausernameandapassword.
Auserrequesttosaveloginaccountprofile.
Theapplicationsavesloginaccountprofileinlocalmemoryandautomatic
loginstoPicasaserverwiththisaccount.
FR001
FR002
FR003
FR004
FR005
TheapplicationshallprovidefacilitytologintoPicasaserver.
Theapplicationshallsupportuserinputbymobiledevicekeypad.
TheapplicationshallprovidefacilitytosavePicasaloginaccountprofile.
Ifautomaticloginisset,theapplicationshallretrievesavedloginaccount
profileandautomaticallylogintoPicasa.
Theapplicationshallallowusertoswitchbetweenmanualandautomatic
SoftwareRequirementsSpecificationforMobileImageGallery
Page5
login
3.2.2
RemoteBrowseImage(FE002.1&FE002.2)
3.2.2.1 Description and Priority
BrowsingimagesofPicasawebisoneoftheessentialfeaturesoftheapplicationasit
providesconnectionbetweenamobiledeviceandPicasawebserverandallowsusersto
browseimagesinPicasawebthroughtheirsnapshot.
3.2.2.2 Stimulus/Response Sequences
Stimulus
Response
Auserrequeststoviewimagesinhis/herPicasawebaccount.
1. Theapplicationdisplaysallimagealbumsinaccount.
2. Onceauserselectsatargetalbum,theapplicationdisplaysnapshot
ofimagesinthealbum.
FR006
FR007
FR008
FR009
3.2.3
TheapplicationshallallowausertorequesttobrowseimagesfromPicasa
server
Theapplicationshallretrieveanddisplayallalbumnamescreatedin
usersaccount
Theapplicationshallprovidefacilitytodisplayimagesinusersselected
albuminPicasawebaccount.
Theapplicationshallprovidefacilitytoselectapreviousornextimagein
Picasawebalbumtobedisplayed.
DownloadRemoteImage(FE003)
3.2.3.1 Description and Priority
Theimagedownloadingfeatureisanoptionalfeatureoftheapplicationinthefirst
release.ItprovidesfacilitytodownloadimagesfromPicasaserverandsaveinmobile
devicefilesystem.Animagecanbeselectedanddownloadedonebyone.
3.2.3.2 Stimulus/Response Sequences
Stimulus
Response
Auserrequeststodownloadimagesinhis/herPicasawebaccount.
Theapplicationdownloadsaselectedimageandsavestomobiledevice
filesystem.
FR010
FR011
FR012
Theapplicationshallallowausertorequesttodownloadaparticular
imageinPicasawebalbum.
Theapplicationshallprovidefacilitytoselectanimagetobedownloaded.
Theapplicationshallsaveadownloadedimageintoadefaultdirectoryof
mobiledevicefilesystem.
SoftwareRequirementsSpecificationforMobileImageGallery
3.2.4
Page6
LocalBrowseImage(FE004)
3.2.4.1 Description and Priority
Displayimagegalleryisoneofthemainfeaturesoftheapplication,asitprovide
facilityusertobrowseanddisplayimagesinamobiledevice.
3.2.4.2 Stimulus/Response Sequences
Stimulus
Response
Stimulus
Response
Auserrequesttoopenimagefilesinamobiledevice
Theapplicationprovidesinterfacetobrowsefilelocation.
Auserrequesttoopenanimagefolderinamobiledevice.
Theapplicationprovidesinterfacetobrowsefolderlocation.
FR009
FR010
FR011
012
3.2.5
Theapplicationshallallowausertorequesttoopenlocalimagefilesor
folder.
Theapplicationshallprovidefacilitytobrowseimageorfolderlocationin
mobiledevicesfilesystem.
Theapplicationshallprovidefacilitytodisplayimagesinusersselected
folder.
Theapplicationshallprovidefacilitytoselectapreviousornextimageto
bedisplayed.
UploadLocalImages(FE005)
3.2.5.1 Description and Priority
Theimageuploadingfeatureisanoptionalfeatureoftheapplicationinthefirst
release.ItprovidesfacilitytouploadimagesinmobiledevicefilesystemtoPicasaalbum.
UsersneedtobeauthenticatedbyPicasaserverbeforeuploadingimagestotheirPicasa
album.
3.2.5.2 Stimulus/Response Sequences
Stimulus
Response
Auserrequeststouploadimagesinhis/herPicasawebalbum.
Theapplicationuploadsanimagefrommobiledevicefilesystemto
Picasawebalbumonebyone.
FR020
FR021
Theapplicationshallallowausertorequesttouploadaparticularimage
inamobiledevicetoPicasawebalbum.
Theapplicationshallprovidefacilitytoselectatargetimagetobe
uploaded.
SoftwareRequirementsSpecificationforMobileImageGallery
3.2.6
Page7
AccountManagement
3.2.6.1 Description and Priority
Accountmanagementisoptionalfeatureofthesystemasitisusedincooperatewith
automaticloginfeature.Itprovidesfacilityforuserstochangeausernameandpasswordfor
automaticlogintoPicasa.Notethattheapplicationallowsuserstosaveonlyoneaccountfor
automaticlogin.
3.2.6.2 Stimulus/Response Sequences
Stimulus
Response
Auserrequesttomodifyausernameandpasswordusedforautomatic
login.
Theapplicationqueriesforacurrentloginaccount.
FR006
FR007
FR008
3.3
TheapplicationshallallowausertorequesttomodifyPicasalogin
account.
Theapplicationshallaskforcurrentloginaccountasauserasksto
modify.
Theapplicationshallprovidefacilitytosavenewlymodifiedusername
andpassword.
PerformanceRequirements
Remoteimagebrowsingneedslessthan5secondsforeachimagetoshowupinthemobilescreen.
3.4
SecurityRequirements
Noapplicableperformancerequirement.
3.5
SoftwareQualityAttributes
3.5.1
Modifiability
3.5.1.1 Description and Priority
Modifiabilityisanessentialqualityattributeoftheapplication,astheapplicationwillbe
developediniterativeandincrementallyapproach.
Theapplicationfeaturesthatwillbeenhancedinthenextcomingreleaseincluding:
searching,albumcreation,downloadalbum,anduploadfromPicasa.
3.5.1.2 Non Functional Requirements
NFR001
3.6
Theapplicationshallbedesignedtosupportenhancementfeaturesinthe
nextrelease.
OtherRequirements
Noapplicableperformancerequirement.