changeset 5:f546bb5370c7 default tip

Added a readme and a TODO in the source code.
author Atul Varma <varmaa@toolness.com>
date Tue, 12 Feb 2008 19:09:21 -0600
parents 65087f1432d6
children
files DemoCube/README.txt DemoCube/src/DemoCubeAppView.cpp
diffstat 2 files changed, 27 insertions(+), 0 deletions(-) [+]
line wrap: on
line diff
--- /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.
--- 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 );
 }