diff options
Diffstat (limited to 'app/src/main/res')
29 files changed, 326 insertions, 0 deletions
diff --git a/app/src/main/res/drawable-hdpi/icon.png b/app/src/main/res/drawable-hdpi/icon.png Binary files differnew file mode 100644 index 0000000..adaeefb --- /dev/null +++ b/app/src/main/res/drawable-hdpi/icon.png diff --git a/app/src/main/res/drawable-hdpi/marcus72.png b/app/src/main/res/drawable-hdpi/marcus72.png Binary files differnew file mode 100644 index 0000000..b93712d --- /dev/null +++ b/app/src/main/res/drawable-hdpi/marcus72.png diff --git a/app/src/main/res/drawable-ldpi/binary.png b/app/src/main/res/drawable-ldpi/binary.png Binary files differnew file mode 100644 index 0000000..c86d3e9 --- /dev/null +++ b/app/src/main/res/drawable-ldpi/binary.png diff --git a/app/src/main/res/drawable-ldpi/compressed.png b/app/src/main/res/drawable-ldpi/compressed.png Binary files differnew file mode 100644 index 0000000..1959b85 --- /dev/null +++ b/app/src/main/res/drawable-ldpi/compressed.png diff --git a/app/src/main/res/drawable-ldpi/folder.png b/app/src/main/res/drawable-ldpi/folder.png Binary files differnew file mode 100644 index 0000000..df03153 --- /dev/null +++ b/app/src/main/res/drawable-ldpi/folder.png diff --git a/app/src/main/res/drawable-ldpi/generic.png b/app/src/main/res/drawable-ldpi/generic.png Binary files differnew file mode 100644 index 0000000..478e06e --- /dev/null +++ b/app/src/main/res/drawable-ldpi/generic.png diff --git a/app/src/main/res/drawable-ldpi/icon.png b/app/src/main/res/drawable-ldpi/icon.png Binary files differnew file mode 100644 index 0000000..4744bb9 --- /dev/null +++ b/app/src/main/res/drawable-ldpi/icon.png diff --git a/app/src/main/res/drawable-ldpi/image.png b/app/src/main/res/drawable-ldpi/image.png Binary files differnew file mode 100644 index 0000000..1fe3209 --- /dev/null +++ b/app/src/main/res/drawable-ldpi/image.png diff --git a/app/src/main/res/drawable-ldpi/link.png b/app/src/main/res/drawable-ldpi/link.png Binary files differnew file mode 100644 index 0000000..f53339b --- /dev/null +++ b/app/src/main/res/drawable-ldpi/link.png diff --git a/app/src/main/res/drawable-ldpi/movie.png b/app/src/main/res/drawable-ldpi/movie.png Binary files differnew file mode 100644 index 0000000..131e9dc --- /dev/null +++ b/app/src/main/res/drawable-ldpi/movie.png diff --git a/app/src/main/res/drawable-ldpi/music.png b/app/src/main/res/drawable-ldpi/music.png Binary files differnew file mode 100644 index 0000000..8cbbe02 --- /dev/null +++ b/app/src/main/res/drawable-ldpi/music.png diff --git a/app/src/main/res/drawable-ldpi/text.png b/app/src/main/res/drawable-ldpi/text.png Binary files differnew file mode 100644 index 0000000..c43fb62 --- /dev/null +++ b/app/src/main/res/drawable-ldpi/text.png diff --git a/app/src/main/res/drawable-ldpi/unknown.png b/app/src/main/res/drawable-ldpi/unknown.png Binary files differnew file mode 100644 index 0000000..e4e2982 --- /dev/null +++ b/app/src/main/res/drawable-ldpi/unknown.png diff --git a/app/src/main/res/drawable-mdpi/icon.png b/app/src/main/res/drawable-mdpi/icon.png Binary files differnew file mode 100644 index 0000000..a8a7390 --- /dev/null +++ b/app/src/main/res/drawable-mdpi/icon.png diff --git a/app/src/main/res/drawable-mdpi/up_arrow.png b/app/src/main/res/drawable-mdpi/up_arrow.png Binary files differnew file mode 100644 index 0000000..7303851 --- /dev/null +++ b/app/src/main/res/drawable-mdpi/up_arrow.png diff --git a/app/src/main/res/layout/browser.xml b/app/src/main/res/layout/browser.xml new file mode 100644 index 0000000..4ba2fe4 --- /dev/null +++ b/app/src/main/res/layout/browser.xml @@ -0,0 +1,37 @@ +<?xml version="1.0" encoding="utf-8"?> +<LinearLayout xmlns:android="http://schemas.android.com/apk/res/android" + android:layout_width="match_parent" + android:layout_height="match_parent" + android:orientation="vertical" > + + + <LinearLayout + android:layout_width="match_parent" + android:layout_height="wrap_content" + android:orientation="horizontal" > + <ImageButton + android:id="@+id/upDirButton" + android:layout_width="wrap_content" + android:layout_height="match_parent" + android:src="@drawable/up_arrow" /> + + <EditText + android:id="@+id/directoryname" + android:layout_width="0dp" + android:layout_height="match_parent" + android:layout_weight="0.5" + android:inputType="textUri" /> + + <ImageButton + android:id="@+id/goDirButton" + android:layout_width="wrap_content" + android:layout_height="wrap_content" + android:src="@android:drawable/ic_media_play" /> + + </LinearLayout> + <ListView + android:id="@+id/filelist" + android:layout_width="match_parent" + android:layout_height="wrap_content" > + </ListView> +</LinearLayout>
\ No newline at end of file diff --git a/app/src/main/res/layout/filerow.xml b/app/src/main/res/layout/filerow.xml new file mode 100644 index 0000000..abede54 --- /dev/null +++ b/app/src/main/res/layout/filerow.xml @@ -0,0 +1,47 @@ +<?xml version="1.0" encoding="utf-8"?>
+<LinearLayout xmlns:android="http://schemas.android.com/apk/res/android"
+ android:orientation="horizontal"
+ android:layout_width="fill_parent"
+ android:layout_height="fill_parent" >
+ <ImageView android:id="@+id/fileicon"
+ android:layout_width="wrap_content"
+ android:layout_height="wrap_content"
+ android:layout_margin="5dp"/>
+ <LinearLayout
+ android:orientation="vertical"
+ android:layout_width="fill_parent"
+ android:layout_height="wrap_content">
+
+ <TextView
+ xmlns:android="http://schemas.android.com/apk/res/android"
+ android:id="@+id/filetext"
+ android:layout_width="fill_parent"
+ android:layout_height="wrap_content"
+ android:textStyle="bold">
+ </TextView>
+ <LinearLayout
+ android:orientation="horizontal"
+ android:layout_width="fill_parent"
+ android:layout_height="fill_parent">
+
+ <TextView
+ xmlns:android="http://schemas.android.com/apk/res/android"
+ android:id="@+id/filesize"
+ android:layout_width="0dp"
+ android:layout_height="wrap_content"
+ android:layout_weight="0.5">
+ </TextView>
+
+ <TextView
+ xmlns:android="http://schemas.android.com/apk/res/android"
+ android:id="@+id/filemodified"
+ android:layout_width="0dp"
+ android:layout_height="wrap_content"
+ android:layout_weight="0.5"
+ android:gravity="right"
+ android:layout_marginRight="5dp" >
+
+ </TextView>
+ </LinearLayout>
+ </LinearLayout>
+</LinearLayout>
\ No newline at end of file diff --git a/app/src/main/res/layout/home.xml b/app/src/main/res/layout/home.xml new file mode 100644 index 0000000..a68954f --- /dev/null +++ b/app/src/main/res/layout/home.xml @@ -0,0 +1,29 @@ +<?xml version="1.0" encoding="utf-8"?>
+<LinearLayout
+ xmlns:android="http://schemas.android.com/apk/res/android"
+ android:orientation="vertical"
+ android:layout_width="fill_parent"
+ android:layout_height="fill_parent">
+ <Button
+ android:id="@+id/browse"
+ android:layout_height="fill_parent"
+ android:layout_width="fill_parent"
+ android:layout_weight="1"
+ android:text="Upload File"
+ />
+ <Button
+ android:id="@+id/audio"
+ android:layout_height="fill_parent"
+ android:layout_width="fill_parent"
+ android:layout_weight="1"
+ android:text="Record Audio"
+ />
+ <Button
+ android:id="@+id/locate"
+ android:layout_height="fill_parent"
+ android:layout_width="fill_parent"
+ android:layout_weight="1"
+ android:text="Find Location"
+ />
+
+</LinearLayout>
diff --git a/app/src/main/res/layout/share.xml b/app/src/main/res/layout/share.xml new file mode 100644 index 0000000..2573155 --- /dev/null +++ b/app/src/main/res/layout/share.xml @@ -0,0 +1,82 @@ +<?xml version="1.0" encoding="utf-8"?> +<RelativeLayout xmlns:android="http://schemas.android.com/apk/res/android" + xmlns:android1="http://schemas.android.com/apk/res/android" + android:layout_width="fill_parent" + android:layout_height="fill_parent" + android:orientation="vertical" > +<ScrollView + android:layout_width="fill_parent" + android:layout_height="fill_parent"> + <LinearLayout + android:layout_width="fill_parent" + android:layout_height="fill_parent" + android:gravity="top" + android:orientation="vertical" > + + <TextView + android:layout_width="fill_parent" + android:layout_height="wrap_content" + android:text="Enter Filename" /> + + <EditText + android:id="@+id/filename" + android:layout_width="fill_parent" + android:layout_height="wrap_content" + android:focusable="true" /> + <Button + android:id="@+id/uploadfile" + android:layout_width="fill_parent" + android:layout_height="wrap_content" + android:text="Upload" /> + + <RelativeLayout + android:layout_width="fill_parent" + android:layout_height="wrap_content" + android:gravity="top" + android:orientation="horizontal" + android:background="#333333" + > + + <ImageView + android:id="@+id/thumbnail" + android:layout_width="wrap_content" + android:layout_height="wrap_content" + android:layout_centerHorizontal="true" + android:layout_margin="5dp" + android1:layout_marginBottom="5dp" /> + + </RelativeLayout> + <LinearLayout + android:id="@+id/content" + android:layout_width="match_parent" + android:layout_height="wrap_content" + android:orientation="horizontal" > + <Button + android:id="@+id/rotateleft" + android:layout_height="wrap_content" + android:layout_width="wrap_content" + android:text="Rotate Left" + /> + <Button + android:id="@+id/rotateright" + android:layout_height="wrap_content" + android:layout_width="wrap_content" + android:text="Rotate Right" + /> + + <CheckBox + android1:id="@+id/resize" + android1:layout_width="wrap_content" + android1:layout_height="wrap_content" + android1:checked="true" + android1:text="Reduce Size" /> + + </LinearLayout> + + + </LinearLayout> +</ScrollView> +</RelativeLayout> + + + diff --git a/app/src/main/res/layout/soundrecorder.xml b/app/src/main/res/layout/soundrecorder.xml new file mode 100644 index 0000000..58b62a2 --- /dev/null +++ b/app/src/main/res/layout/soundrecorder.xml @@ -0,0 +1,19 @@ +<?xml version="1.0" encoding="utf-8"?>
+<LinearLayout
+ xmlns:android="http://schemas.android.com/apk/res/android"
+ android:orientation="vertical"
+ android:layout_width="fill_parent"
+ android:layout_height="wrap_content">
+ <Button
+ android:id="@+id/Record"
+ android:layout_height="wrap_content"
+ android:layout_width="fill_parent"
+ android:text="Record"
+/>
+ <Button
+ android:id="@+id/Stop"
+ android:layout_height="wrap_content"
+ android:layout_width="fill_parent"
+ android:text="Stop"
+/>
+</LinearLayout>
diff --git a/app/src/main/res/layout/upload.xml b/app/src/main/res/layout/upload.xml new file mode 100644 index 0000000..d56345d --- /dev/null +++ b/app/src/main/res/layout/upload.xml @@ -0,0 +1,19 @@ +<?xml version="1.0" encoding="utf-8"?>
+<LinearLayout xmlns:android="http://schemas.android.com/apk/res/android"
+ android:orientation="vertical"
+ android:layout_width="fill_parent"
+ android:layout_height="fill_parent"
+ >
+<ListView
+ android:layout_width="fill_parent"
+ android:layout_height="wrap_content"
+ android:text="@string/hello"
+ />
+ <ProgressBar
+android:id="@+id/ProgressBar01"
+android:indeterminateOnly="false"
+android:progressDrawable="@android:drawable/progress_horizontal"
+android:indeterminateDrawable="@android:drawable/progress_indeterminate_horizontal"
+android:minHeight="20dip"
+android:maxHeight="20dip" android:layout_width="fill_parent"/>
+</LinearLayout>
diff --git a/app/src/main/res/layout/uploadlocation.xml b/app/src/main/res/layout/uploadlocation.xml new file mode 100644 index 0000000..69251e4 --- /dev/null +++ b/app/src/main/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>
diff --git a/app/src/main/res/menu/menu.xml b/app/src/main/res/menu/menu.xml new file mode 100644 index 0000000..1d60246 --- /dev/null +++ b/app/src/main/res/menu/menu.xml @@ -0,0 +1,16 @@ +<?xml version="1.0" encoding="utf-8"?>
+<menu
+ xmlns:android="http://schemas.android.com/apk/res/android">
+<item android:id="@+id/menuBrowse"
+ android:icon="@android:drawable/ic_menu_upload"
+ android:title="Upload Files"></item>
+<item android:id="@+id/menuRecord"
+ android:icon="@android:drawable/ic_btn_speak_now"
+ android:title="Record Audio"></item>
+<item android:id="@+id/menuLocate"
+ android:icon="@android:drawable/ic_menu_compass"
+ android:title="Send Location"></item>
+<item android:id="@+id/menuExit"
+ android:icon="@android:drawable/ic_menu_close_clear_cancel"
+ android:title="Exit"></item>
+</menu>
diff --git a/app/src/main/res/values-v11/strings.xml b/app/src/main/res/values-v11/strings.xml new file mode 100644 index 0000000..9e611cf --- /dev/null +++ b/app/src/main/res/values-v11/strings.xml @@ -0,0 +1,6 @@ +<?xml version="1.0" encoding="utf-8"?>
+<resources>
+ <string name="hello">Hello World, fileBrowser!</string>
+ <string name="app_name">blauploader</string>
+ <string name="cancel">Cancel</string>
+</resources>
diff --git a/app/src/main/res/values-v11/themes.xml b/app/src/main/res/values-v11/themes.xml new file mode 100644 index 0000000..933554f --- /dev/null +++ b/app/src/main/res/values-v11/themes.xml @@ -0,0 +1,6 @@ +<?xml version="1.0" encoding="utf-8"?> +<resources> + <style name="LightTheme" parent="@android:style/Theme.Holo.Light"> + <!-- Any customizations for your app running on pre-3.0 devices here --> + </style> +</resources>
\ No newline at end of file diff --git a/app/src/main/res/values-v14/strings.xml b/app/src/main/res/values-v14/strings.xml new file mode 100644 index 0000000..9e611cf --- /dev/null +++ b/app/src/main/res/values-v14/strings.xml @@ -0,0 +1,6 @@ +<?xml version="1.0" encoding="utf-8"?>
+<resources>
+ <string name="hello">Hello World, fileBrowser!</string>
+ <string name="app_name">blauploader</string>
+ <string name="cancel">Cancel</string>
+</resources>
diff --git a/app/src/main/res/values-v14/themes.xml b/app/src/main/res/values-v14/themes.xml new file mode 100644 index 0000000..393e3e2 --- /dev/null +++ b/app/src/main/res/values-v14/themes.xml @@ -0,0 +1,6 @@ +<?xml version="1.0" encoding="utf-8"?> +<resources> + <style name="LightTheme" parent="@android:style/Theme.Holo.Light.DarkActionBar"> + <!-- Any customizations for your app running on pre-3.0 devices here --> + </style> +</resources>
\ No newline at end of file diff --git a/app/src/main/res/values/strings.xml b/app/src/main/res/values/strings.xml new file mode 100644 index 0000000..0d6c9c3 --- /dev/null +++ b/app/src/main/res/values/strings.xml @@ -0,0 +1,11 @@ +<?xml version="1.0" encoding="utf-8"?> +<resources> + + <string name="hello">Hello World, fileBrowser!</string> + <string name="app_name">up.org.je</string> + <string name="cancel">Cancel</string> + <string name="hello_world">Hello world!</string> + <string name="menu_settings">Settings</string> + <string name="title_activity_main">MainActivity</string> + +</resources>
\ No newline at end of file diff --git a/app/src/main/res/values/themes.xml b/app/src/main/res/values/themes.xml new file mode 100644 index 0000000..884ba69 --- /dev/null +++ b/app/src/main/res/values/themes.xml @@ -0,0 +1,6 @@ +<?xml version="1.0" encoding="utf-8"?> +<resources> + <style name="LightTheme" parent="@android:style/Theme.Light"> + <!-- Any customizations for your app running on pre-3.0 devices here --> + </style> +</resources>
\ No newline at end of file |