blob: b53e20629255080b6ab6f1583c307b4456f2e7d2 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
|
<LinearLayout xmlns:android="http://schemas.android.com/apk/res/android" xmlns:tools="http://schemas.android.com/tools"
android:layout_width="match_parent"
android:layout_height="match_parent"
android:orientation="vertical" >
<TextView
android:id="@+id/statustext"
android:layout_width="wrap_content"
android:layout_height="wrap_content"
android:layout_centerHorizontal="true"
android:layout_centerVertical="true" />
<Button
android:id="@+id/sysinfo"
android:layout_width="match_parent"
android:layout_height="wrap_content"
android:onClick="getSysInfo"
android:text="@string/sysinfo"/>
<TextView
android:id="@+id/sysstatus"
android:layout_width="wrap_content"
android:layout_height="wrap_content"
android:inputType="textMultiLine"/>
<Button
android:id="@+id/wificonfig"
android:layout_width="match_parent"
android:layout_height="wrap_content"
android:onClick="doWifiConfig"
android:text="@string/wificonfig"/>
<TextView
android:id="@+id/wifistatus"
android:layout_width="wrap_content"
android:layout_height="wrap_content"
android:inputType="textMultiLine"/>
<TextView
android:id="@+id/ipstatus"
android:layout_width="wrap_content"
android:layout_height="wrap_content"
android:inputType="textMultiLine"/>
<Button
android:id="@+id/rtsp"
android:layout_width="match_parent"
android:layout_height="wrap_content"
android:onClick="doRtsp"
android:text="@string/rtsp"/>
<Button
android:id="@+id/telnetd"
android:layout_width="match_parent"
android:layout_height="wrap_content"
android:onClick="doTelnet"
android:text="@string/telnetd"/>
<Button
android:id="@+id/lighttpd"
android:layout_width="match_parent"
android:layout_height="wrap_content"
android:onClick="doHttp"
android:text="@string/lighttpd"/>
<Button
android:id="@+id/unsignedfw"
android:layout_width="match_parent"
android:layout_height="wrap_content"
android:onClick="doUnsignedFW"
android:text="@string/unsignedfw"/>
<Button
android:id="@+id/runbutton"
android:layout_width="match_parent"
android:layout_height="wrap_content"
android:onClick="doCommand"
android:text="@string/command"/>
<EditText
android:id="@+id/command"
android:layout_width="fill_parent"
android:layout_height="wrap_content"
android:inputType="text"
android:imeOptions="actionDone"
android:imeActionLabel="Run" />
</LinearLayout>
|