# HG changeset patch # User Atul Varma # Date 1202864961 21600 # Node ID f546bb5370c7ad19c60c2204aa81c24a1cf604d8 # Parent 65087f1432d6874f159ab24ea66257e1d7306ae4 Added a readme and a TODO in the source code. diff -r 65087f1432d6 -r f546bb5370c7 DemoCube/README.txt --- /dev/null Thu Jan 01 00:00:00 1970 +0000 +++ b/DemoCube/README.txt Tue Feb 12 19:09:21 2008 -0600 @@ -0,0 +1,24 @@ +This is a simple demo that presents a mock-up of a web browser that +uses optical flow to pan. + +The source code is a modification of Nokia's "DemoCube" demo, which is +part of their Nokia Computer Vision Library: + + http://research.nokia.com/research/projects/nokiacv/ + +To build: + +(1) Copy sis/DemoCube.pkg.in to sis/DemoCube.pkg and replace all + occurrences of $(EPOCROOT) with your Epoc root directory + (e.g. \Symbian\9.2\S60_3rd_FP1\). + +(2) Run 'makestuff.bat'. + +(3) Copy the newly-generated 'sys/DemoCube.sisx' to your + smartphone and run it. + +Current limitations: + +* You currently need to install the app in your cell phone's 'C' + drive, which is usually the same as the cell phone itself--not a + memory card. diff -r 65087f1432d6 -r f546bb5370c7 DemoCube/src/DemoCubeAppView.cpp --- a/DemoCube/src/DemoCubeAppView.cpp Tue Feb 12 18:08:45 2008 -0600 +++ b/DemoCube/src/DemoCubeAppView.cpp Tue Feb 12 19:09:21 2008 -0600 @@ -92,6 +92,9 @@ iPicture = new (ELeave) CFbsBitmap; if (iPicture) iPicture->Create(iSize, displayMode); //EColor16MA + // TODO: We're hard-coding the 'c' drive here, but the user + // could've installed the program to a different drive. Obtain + // the drive letter dynamically. iLoader = CImageLoader::NewL( 'c' ); iLoader->LoadImage( KPicture, iPicture ); }