Skip to content

Commit d04370c

Browse files
committed
minor update to check new CK 1.8.1 API
1 parent ac2924b commit d04370c

File tree

3 files changed

+13
-8
lines changed

3 files changed

+13
-8
lines changed

CHANGES.txt

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,6 @@
1+
# V2.2
2+
* Support for the new CK 1.8.1 version
3+
14
# V2.1
25
* Detecting new type of processors (with CPU implementer,
36
CPU architecture, CPU variant, CPU part and CPU revision)

app/build.gradle

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -8,8 +8,8 @@ android {
88
applicationId "openscience.crowdsource.experiments"
99
minSdkVersion 10
1010
targetSdkVersion 22
11-
versionCode 8
12-
versionName "2.1"
11+
versionCode 9
12+
versionName "2.2"
1313
}
1414
buildTypes {
1515
release {

app/src/main/java/openscience/crowdsource/experiments/MainActivity.java

Lines changed: 8 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -71,7 +71,7 @@
7171

7272
public class MainActivity extends AppCompatActivity {
7373

74-
String welcome = "Dear friends! Thank you for participating in experiment crowdsourcing " +
74+
String welcome = "We would like to thank you for participating in experiment crowdsourcing " +
7575
"to collaboratively solve complex problems!\n\n" +
7676
"One of the available scenarios is collaborative optimization of computer systems: " +
7777
"computers become very inefficient and it is not uncommon to get 10x speedups, " +
@@ -84,9 +84,9 @@ public class MainActivity extends AppCompatActivity {
8484
" to download differently optimized kernels with various data sets,"+
8585
" run them on your mobile device, and send execution statistics back" +
8686
" to a public Collective Knowledge Server!\n\n"+
87-
"We would like to sincerely thank you for supporting our reproducible and open science initiatives " +
88-
" and helping us optimize computer systems to accelerate knowledge discovery, " +
89-
"boost innovation in science and technology, and make our planet greener!\n";
87+
"We would like to sincerely thank you for supporting our reproducible and open science initiatives" +
88+
" and helping us optimize computer systems to accelerate knowledge discovery," +
89+
" boost innovation in science and technology, and make our planet greener!\n\n";
9090

9191
String problem="maybe it is overloaded or down! We hope to get some sponsorship soon to move our old CK server to the cloud! In the mean time, please contact the author (Grigori.Fursin@cTuning.org) about this problem!";
9292

@@ -314,8 +314,9 @@ public void run() {
314314
}
315315
if (!email1.equals(email)) {
316316
email = email1;
317-
if (!save_one_string_file(path0+'/'+cemail, email)) {
318-
log.append("ERROR: can't find local configuration!");
317+
String pp=path0+'/'+cemail;
318+
if (!save_one_string_file(pp, email)) {
319+
log.append("ERROR: can't write local configuration ("+pp+"!");
319320
return;
320321
}
321322
}
@@ -654,6 +655,7 @@ protected String doInBackground(String... arg0) {
654655
/*********** Printing local tmp directory **************/
655656
publishProgress(s_line);
656657
publishProgress("Local tmp directory: " + path + "\n");
658+
publishProgress("User ID: " + email + "\n");
657659

658660
/*********** Obtaining CK server **************/
659661
publishProgress(s_line);

0 commit comments

Comments
 (0)