diff options
author | Joe Robinson <joe@lc8n.com> | 2010-10-28 00:23:59 +0100 |
---|---|---|
committer | Joe Robinson <joe@lc8n.com> | 2010-10-28 00:23:59 +0100 |
commit | a94be1ada1fab129049e6a8864545c2d7e4e9dee (patch) | |
tree | 399da26854b6da6c224d6d7c1cb4917071e1ed44 /res | |
parent | fba62b1f4fbdb09e920591fd260fcfcd3adc52b8 (diff) |
Added basic functionality for sound upload (.3gp format/AMR codec) and SMS of current location
Diffstat (limited to 'res')
-rw-r--r-- | res/layout/soundrecorder.xml | 18 | ||||
-rw-r--r-- | res/layout/uploadlocation.xml | 36 |
2 files changed, 54 insertions, 0 deletions
diff --git a/res/layout/soundrecorder.xml b/res/layout/soundrecorder.xml new file mode 100644 index 0000000..184bbae --- /dev/null +++ b/res/layout/soundrecorder.xml @@ -0,0 +1,18 @@ +<?xml version="1.0" encoding="utf-8"?> +<LinearLayout + xmlns:android="http://schemas.android.com/apk/res/android" + android:layout_width="wrap_content" + android:layout_height="wrap_content"> + <Button + android:id="@+id/Record" + android:layout_height="wrap_content" + android:layout_width="wrap_content" + android:text="Record" +/> + <Button + android:id="@+id/Stop" + android:layout_height="wrap_content" + android:layout_width="wrap_content" + android:text="Stop" +/> +</LinearLayout> diff --git a/res/layout/uploadlocation.xml b/res/layout/uploadlocation.xml new file mode 100644 index 0000000..f924d43 --- /dev/null +++ b/res/layout/uploadlocation.xml @@ -0,0 +1,36 @@ +<?xml version="1.0" encoding="utf-8"?> +<LinearLayout + xmlns:android="http://schemas.android.com/apk/res/android" + android:orientation="vertical" + android:layout_width="wrap_content" + android:layout_height="wrap_content"> + <TextView + android:text="Current Location" + android:layout_height="wrap_content" + android:layout_width="wrap_content" + /> + <TextView + android:id="@+id/location" + android:text="" + android:layout_height="wrap_content" + android:layout_width="wrap_content" + /> + <LinearLayout + android:orientation="horizontal" + android:layout_width="wrap_content" + android:layout_height="wrap_content" + > + <Button + android:id="@+id/getlocation" + android:layout_height="wrap_content" + android:layout_width="wrap_content" + android:text="Get Location" +/> + <Button + android:id="@+id/uploadlocation" + android:layout_height="wrap_content" + android:layout_width="wrap_content" + android:text="Upload" +/> +</LinearLayout> +</LinearLayout> |