chiark
/
gitweb
/
~mdw
/
tripe-android
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
keys.scala, etc.: Make merging public keys have a progress bar.
[tripe-android]
/
toy-activity.scala
diff --git
a/toy-activity.scala
b/toy-activity.scala
index c605ca5f9561520a5e8c4fafda34a4762825d51c..7ee4dad912ea5f6e08feb48698de75487aba7a06 100644
(file)
--- a/
toy-activity.scala
+++ b/
toy-activity.scala
@@
-15,8
+15,6
@@
import scala.util.control.Breaks;
object ToyActivity {
private final val TAG = "ToyActivity";
object ToyActivity {
private final val TAG = "ToyActivity";
- System.loadLibrary("jni");
- @native protected def foo();
}
class ToyActivity extends Activity {
}
class ToyActivity extends Activity {
@@
-30,10
+28,5
@@
class ToyActivity extends Activity {
}
def clickOk(v: View) {
Log.d(TAG, "OK, OK. (Scala was here.)");
}
def clickOk(v: View) {
Log.d(TAG, "OK, OK. (Scala was here.)");
- foo();
-
- val bindir = getDir("bin", MODE_WORLD_READABLE);
- Runtime.getRuntime.exec(Array(new File(bindir, "prog").getPath,
- "testing", "1", "2", "3"));
}
}
}
}