@@ -91,13 +91,13 @@ public class MainActivity extends android.app.Activity implements GLSurfaceView.
9191
9292
9393 private static final String welcome = "This application let you participate in experiment crowdsourcing " +
94- "to collaboratively solve complex problems! " +
95- "Please, press 'Update' button to obtain shared scenarios such as " +
94+ "to collaboratively solve long-standing research problems in computer systems ! " +
95+ "Please press the 'Update' button to obtain shared scenarios such as " +
9696 "collaborative benchmarking, optimization and tuning of a popular Caffe CNN image recognition library!\n " +
97- "NOTE: you should have an unlimited Internet since some scenario may require to download 300Mb+ code and datasets! " +
98- "Also some anonymized statistics will be collected about your platform and code execution " +
97+ "Please note that your should connect via WiFi since some scenarios may require you to download 250+ MB. " +
98+ "Also, some anonymized statistics will be collected about your platform and code execution " +
9999 "(performance, accuracy, power consumption, cost, etc) at cknowledge.org/repo " +
100- "to let the community improve algorithms for diverse hardware!\n \n " ;
100+ "to allow the research community to improve image recognition software across diverse hardware platforms !\n \n " ;
101101
102102 private static final String s_line = "====================================\n " ;
103103
@@ -260,13 +260,13 @@ public void onClick(View v) {
260260 public void onClick (View v ) {
261261 final RecognitionScenario recognitionScenario = RecognitionScenarioService .getSelectedRecognitionScenario ();
262262 if (recognitionScenario == null ) {
263- AppLogger .logMessage (" Scenarios was not selected! Please select recognitions scenario first! \n " );
263+ AppLogger .logMessage (" Please select an image recognition scenario first! \n " );
264264 return ;
265265 }
266266
267267 if (recognitionScenario .getState () == RecognitionScenario .State .NEW ) {
268268 AlertDialog .Builder clarifyDialogBuilder = new AlertDialog .Builder (MainActivity .this );
269- clarifyDialogBuilder .setMessage (Html .fromHtml ("You should download scenario files first or select another one" ))
269+ clarifyDialogBuilder .setMessage (Html .fromHtml ("Please download this scenario first or select another one. " ))
270270 .setCancelable (false )
271271 .setPositiveButton ("continue" ,
272272 new DialogInterface .OnClickListener () {
@@ -292,7 +292,7 @@ public void onClick(DialogInterface dialog, int id) {
292292
293293 if (recognitionScenario .getState () == RecognitionScenario .State .DOWNLOADING_IN_PROGRESS ) {
294294 AlertDialog .Builder clarifyDialogBuilder = new AlertDialog .Builder (MainActivity .this );
295- clarifyDialogBuilder .setMessage (Html .fromHtml ("Downloading is progress now , please wait" ))
295+ clarifyDialogBuilder .setMessage (Html .fromHtml ("Download is in progress , please wait ... " ))
296296 .setCancelable (false )
297297 .setPositiveButton ("continue" ,
298298 new DialogInterface .OnClickListener () {
@@ -838,7 +838,7 @@ public void println(String text) {
838838 copy_bin_file (targetFilePath , targetAppFilePath );
839839 finalTargetFileDir = fileAppDir ;
840840 finalTargetFilePath = targetAppFilePath ;
841- publishProgress ("\n * File " + targetFilePath + " sucessfully copied to " + targetAppFilePath );
841+ publishProgress ("\n * File " + targetFilePath + " successfully copied to " + targetAppFilePath );
842842 } catch (IOException e ) {
843843 e .printStackTrace ();
844844 publishProgress ("\n Error copying file " + targetFilePath + " to " + targetAppFilePath + " ..." );
@@ -867,7 +867,7 @@ public void println(String text) {
867867 }
868868 String [] chmodResult = openme .openme_run_program (COMMAND_CHMOD_744 + " " + finalTargetFilePath , null , finalTargetFileDir );
869869 if (chmodResult [0 ].isEmpty () && chmodResult [1 ].isEmpty () && chmodResult [2 ].isEmpty ()) {
870- publishProgress (" * File " + finalTargetFilePath + " sucessfully set as executable ...\n " );
870+ publishProgress (" * File " + finalTargetFilePath + " successfully set as executable ...\n " );
871871 } else {
872872 publishProgress ("\n Error setting file " + targetFilePath + " as executable ..." );
873873 return null ;
@@ -896,12 +896,12 @@ public void println(String text) {
896896 }
897897
898898 if (actualImageFilePath == null ) {
899- publishProgress ("\n Error image file path was not initialized." );
899+ publishProgress ("\n Error: image file path was not initialized." );
900900 return null ;
901901 }
902902
903903 if (libPath == null ) {
904- publishProgress ("\n Error lib path was not initialized." );
904+ publishProgress ("\n Error: lib path was not initialized." );
905905 return null ;
906906 }
907907
@@ -922,7 +922,7 @@ public void println(String text) {
922922
923923 final ImageInfo imageInfo = getImageInfo (actualImageFilePath );
924924 if (imageInfo == null ) {
925- publishProgress ("\n Error: Image was not found..." );
925+ publishProgress ("\n Error: image was not found..." );
926926 return null ;
927927 } else {
928928 publishProgress ("\n Processing image path: " + imageInfo .getPath () + "\n " );
0 commit comments