Updated Android application, modified Arduino Sketch to stop in case of

loss of signal.
This commit is contained in:
Daniele Verducci
2014-03-09 16:55:30 +01:00
parent 69e2a58c67
commit 8e3a1dbacf
23 changed files with 77 additions and 4 deletions

Binary file not shown.

After

Width:  |  Height:  |  Size: 324 B

Binary file not shown.

After

Width:  |  Height:  |  Size: 237 B

Binary file not shown.

After

Width:  |  Height:  |  Size: 437 B

Binary file not shown.

After

Width:  |  Height:  |  Size: 655 B

View File

@@ -22,4 +22,31 @@
android:text="@string/srv"
android:textAppearance="?android:attr/textAppearanceLarge" />
<TextView
android:id="@+id/textView1"
android:layout_width="wrap_content"
android:layout_height="wrap_content"
android:layout_below="@+id/text"
android:layout_centerHorizontal="true"
android:layout_margin="10dp"
android:gravity="center_horizontal"
android:text="@string/explain" />
<Button
android:id="@+id/killserverbutton"
android:layout_width="wrap_content"
android:layout_height="wrap_content"
android:layout_below="@+id/textView1"
android:layout_centerHorizontal="true"
android:text="@string/killserver" />
<ImageButton
android:id="@+id/startvideo"
android:layout_width="wrap_content"
android:layout_height="wrap_content"
android:layout_alignParentRight="true"
android:layout_alignParentTop="true"
android:layout_margin="10dp"
android:src="@drawable/ic_device_access_video" />
</RelativeLayout>

View File

@@ -3,5 +3,7 @@
<string name="app_name">AndroidExplorerbotServer</string>
<string name="srv">Server started</string>
<string name="explain">Exiting with HOME key will keep the server running. To exit completly press BACK or use the button below.</string>
<string name="killserver">Kill server</string>
</resources>