blob: c6be5a43284c94880884e4392914573caf0f5e2a (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
|
package com.orbekk.same.android.benchmark;
import android.app.Activity;
import com.orbekk.same.benchmark.ExampleServer;
public class ExampleProtobufServerActivity extends Activity {
public final ExampleServer server = new ExampleServer();
@Override public void onResume() {
super.onResume();
server.runServer(12000);
}
@Override public void onStop() {
super.onStop();
server.stopServer();
}
}
|