Mercurial > hg > soniczoomios
diff eventLogger.mm @ 24:a4908ad8c78e
Top and bottom toolbars. Intro page.
author | Robert Tubb <rt300@eecs.qmul.ac.uk> |
---|---|
date | Fri, 01 Feb 2013 11:16:56 +0000 |
parents | 8c0783739337 |
children | f42a00e3f22d |
line wrap: on
line diff
--- a/eventLogger.mm Fri Jan 25 17:42:47 2013 +0000 +++ b/eventLogger.mm Fri Feb 01 11:16:56 2013 +0000 @@ -30,6 +30,9 @@ nextUploadQty = 5000; // amount of data uploaded is always more than 5000 events } //--------------------------------------------------------------------------- +// draw() - show path of last N scroll events - can be scrubbed along? +// +//--------------------------------------------------------------------------- void EventLogger::init(){ readJsonToLog(ofxiPhoneGetDocumentsDirectory() + EVENT_LOG_FILENAME); @@ -80,7 +83,7 @@ ofURLFileLoader fileLoader; ofHttpResponse resp; resp = fileLoader.get(request); - + //fileLoader.getAsync(request); cout << "HTTP STATUS " << resp.status << "\n"; cout << "HTTP ERROR " << resp.error << "\n"; cout << "HTTP DATA " << resp.data << "\n"; // ofBuffer @@ -133,14 +136,11 @@ return; }else{ - while(theFile){ theFile >> line; // cout << line; // lots!!!! fileText << line; - } - theFile.close(); } @@ -228,7 +228,10 @@ questionnaireCompleted = false; questionnaireUploaded = false; - [usernameAlertViewController showUserNamePrompt]; + ((testApp *)ofGetAppPtr())->showIntro(); + + + //[usernameAlertViewController showUserNamePrompt]; // then we get userName via setUsername, called from button delegate }