From da2df98f789f2531142835dc43566ccda9583c22 Mon Sep 17 00:00:00 2001 From: Joe Robinson Date: Sat, 2 Feb 2013 22:18:05 +0000 Subject: Updated file browser to show icons, size, and modified time. Also added a button to go up a directory, and go to a specified directory --- .gitignore | 20 ++ AndroidManifest.xml | 1 + gen/com/lc8n/blauploader/R.java | 79 +++++--- res/drawable-ldpi/binary.png | Bin 0 -> 310 bytes res/drawable-ldpi/compressed.png | Bin 0 -> 1108 bytes res/drawable-ldpi/folder.png | Bin 0 -> 295 bytes res/drawable-ldpi/generic.png | Bin 0 -> 275 bytes res/drawable-ldpi/image.png | Bin 0 -> 371 bytes res/drawable-ldpi/link.png | Bin 0 -> 314 bytes res/drawable-ldpi/movie.png | Bin 0 -> 272 bytes res/drawable-ldpi/music.png | Bin 0 -> 315 bytes res/drawable-ldpi/text.png | Bin 0 -> 288 bytes res/drawable-ldpi/unknown.png | Bin 0 -> 307 bytes res/drawable-mdpi/up_arrow.png | Bin 0 -> 899 bytes res/layout/browser.xml | 32 ++- res/layout/filerow.xml | 51 ++++- src/com/lc8n/blauploader/FileArrayAdapter.java | 165 ++++++++++++++++ src/com/lc8n/blauploader/FileBrowser.java | 257 +++++++++++-------------- 18 files changed, 420 insertions(+), 185 deletions(-) create mode 100644 .gitignore create mode 100644 res/drawable-ldpi/binary.png create mode 100644 res/drawable-ldpi/compressed.png create mode 100644 res/drawable-ldpi/folder.png create mode 100644 res/drawable-ldpi/generic.png create mode 100644 res/drawable-ldpi/image.png create mode 100644 res/drawable-ldpi/link.png create mode 100644 res/drawable-ldpi/movie.png create mode 100644 res/drawable-ldpi/music.png create mode 100644 res/drawable-ldpi/text.png create mode 100644 res/drawable-ldpi/unknown.png create mode 100644 res/drawable-mdpi/up_arrow.png create mode 100644 src/com/lc8n/blauploader/FileArrayAdapter.java diff --git a/.gitignore b/.gitignore new file mode 100644 index 0000000..fb8e9e0 --- /dev/null +++ b/.gitignore @@ -0,0 +1,20 @@ +# built application files +*.apk +*.ap_ + +# files for the dex VM +*.dex + +# Java class files +*.class + +# generated files +bin/ +gen/ + +# Local configuration file (sdk path, etc) +local.properties + +# Eclipse project files +.classpath +.project diff --git a/AndroidManifest.xml b/AndroidManifest.xml index a6b1c56..fe7b93e 100644 --- a/AndroidManifest.xml +++ b/AndroidManifest.xml @@ -23,6 +23,7 @@