问题
I need to create a app in which I have to show list of word files(.doc,.docx). Clicking on that file it should open up.
can anyone help ?
Like Dropbox in android.
I m new to android.
回答1:
You should create ListView Activity with custom ArrayAdapter when you will get files by need extention. Something like this http://code.google.com/p/open-data-kit/source/browse/trunk/odk-collect/src/org/google/android/odk/FileChooser.java?spec=svn63&r=63
来源:https://stackoverflow.com/questions/4066925/how-to-create-file-chooser-in-android