Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
Create free account
hub
/
github.com/cdibened/filechooser
/ functions
Functions
77 in github.com/cdibened/filechooser
⨍
Functions
77
◇
Types & classes
8
↓ 16 callers
Method
add
(File file)
src/android/filechooser/FileListAdapter.java:49
↓ 4 callers
Method
onReleaseResources
(List<File> data)
src/android/filechooser/FileLoader.java:142
↓ 3 callers
Method
getDataColumn
Get the value of the data column for this Uri. This is useful for MediaStore Uris, and other file-based ContentProviders. @param context The context.
src/android/filechooser/FileUtils.java:217
↓ 3 callers
Method
getPath
Get a file path from a Uri. This will get the the path for Storage Access Framework Documents, as well as the _data field for the MediaStore and other
src/android/filechooser/FileUtils.java:257
↓ 2 callers
Method
finishWithResult
Finish this Activity with a result code and URI of the selected file. @param file The file selected.
src/android/filechooser/FileChooserActivity.java:173
↓ 2 callers
Method
getItem
(int position)
src/android/filechooser/FileListAdapter.java:69
↓ 2 callers
Method
getMimeType
@return The MIME type for the given file.
src/android/filechooser/FileUtils.java:144
↓ 2 callers
Method
includeFile
(final MatrixCursor result, final File file)
src/android/filechooser/LocalStorageProvider.java:166
↓ 2 callers
Method
newInstance
Create a new instance with the given file path. @param path The absolute path of the file (directory) to display. @return A new Fragment with the giv
src/android/filechooser/FileListFragment.java:65
↓ 1 callers
Method
addFragment
Add the initial Fragment with given path.
src/android/filechooser/FileChooserActivity.java:146
↓ 1 callers
Method
clear
()
src/android/filechooser/FileListAdapter.java:64
↓ 1 callers
Method
createGetContentIntent
Get the Intent for selecting content to be used in an Intent Chooser. @return The intent for opening a file with Intent.createChooser() @author paulb
src/android/filechooser/FileUtils.java:519
↓ 1 callers
Method
deliverResult
(List<File> data)
src/android/filechooser/FileLoader.java:84
↓ 1 callers
Method
getDocumentType
(final String documentId)
src/android/filechooser/LocalStorageProvider.java:193
↓ 1 callers
Method
getExtension
Gets the extension of a file name, like ".png" or ".jpg". @param uri @return Extension including the dot("."); "" if there is no extension; n
src/android/filechooser/FileUtils.java:69
↓ 1 callers
Method
getItemId
(int position)
src/android/filechooser/FileListAdapter.java:74
↓ 1 callers
Method
getUri
Convert File into Uri. @param file @return uri
src/android/filechooser/FileUtils.java:107
↓ 1 callers
Method
isDownloadsDocument
@param uri The Uri to check. @return Whether the Uri authority is DownloadsProvider. @author paulburke
src/android/filechooser/FileUtils.java:185
↓ 1 callers
Method
isExternalStorageDocument
@param uri The Uri to check. @return Whether the Uri authority is ExternalStorageProvider. @author paulburke
src/android/filechooser/FileUtils.java:176
↓ 1 callers
Method
isGooglePhotosUri
@param uri The Uri to check. @return Whether the Uri authority is Google Photos.
src/android/filechooser/FileUtils.java:202
↓ 1 callers
Method
isLocal
@return Whether the URI is a local one.
src/android/filechooser/FileUtils.java:86
↓ 1 callers
Method
isLocalStorageDocument
@param uri The Uri to check. @return Whether the Uri authority is {@link LocalStorageProvider}. @author paulburke
src/android/filechooser/FileUtils.java:167
↓ 1 callers
Method
isMediaDocument
@param uri The Uri to check. @return Whether the Uri authority is MediaProvider. @author paulburke
src/android/filechooser/FileUtils.java:194
↓ 1 callers
Method
isMediaUri
@return True if Uri is a MediaStore Uri. @author paulburke
src/android/filechooser/FileUtils.java:97
↓ 1 callers
Method
onFileSelected
Called when a file is selected from the list. @param file The file selected
src/android/filechooser/FileListFragment.java:49
↓ 1 callers
Method
onStopLoading
()
src/android/filechooser/FileLoader.java:120
↓ 1 callers
Method
registerStorageListener
Register the external storage BroadcastReceiver.
src/android/filechooser/FileChooserActivity.java:206
↓ 1 callers
Method
replaceFragment
"Replace" the existing Fragment with a new one using given path. We're really adding a Fragment to the back stack. @param file The file (directory) t
src/android/filechooser/FileChooserActivity.java:158
↓ 1 callers
Method
setListItems
Set the list items without notifying on the clear. This prevents loss of scroll position. @param data
src/android/filechooser/FileListAdapter.java:94
↓ 1 callers
Method
showFileChooser
()
src/android/FileChooser.java:36
↓ 1 callers
Method
unregisterStorageListener
Unregister the external storage BroadcastReceiver.
src/android/filechooser/FileChooserActivity.java:215
Function
FileChooser
()
www/filechooser.js:5
Method
FileListAdapter
(Context context)
src/android/filechooser/FileListAdapter.java:45
Method
FileLoader
(Context context, String path)
src/android/filechooser/FileLoader.java:48
Method
FileUtils
()
src/android/filechooser/FileUtils.java:48
Method
accept
(File file)
src/android/filechooser/FileUtils.java:491
Method
compare
(File f1, File f2)
src/android/filechooser/FileUtils.java:477
Method
createDocument
(final String parentDocumentId, final String mimeType, final String displayName)
src/android/filechooser/LocalStorageProvider.java:71
Method
deleteDocument
(final String documentId)
src/android/filechooser/LocalStorageProvider.java:210
Method
execute
(String action, JSONArray args, CallbackContext callbackContext)
src/android/FileChooser.java:73
Method
getCount
()
src/android/filechooser/FileListAdapter.java:79
Method
getFile
Convert Uri into File, if possible. @return file A local file that the Uri was pointing to, or null if the Uri is unsupported or pointed to a
src/android/filechooser/FileUtils.java:348
Method
getListItems
()
src/android/filechooser/FileListAdapter.java:84
Method
getPathWithoutFilename
Returns the path only (without file name). @param file @return
src/android/filechooser/FileUtils.java:120
Method
getReadableFileSize
Get the file size in a human-readable string. @param size @return @author paulburke
src/android/filechooser/FileUtils.java:365
Method
getThumbnail
Attempt to retrieve the thumbnail of given File from the MediaStore. This should not be called on the UI thread. @param context @param file @return @
src/android/filechooser/FileUtils.java:398
Method
getView
(int position, View convertView, ViewGroup parent)
src/android/filechooser/FileListAdapter.java:99
Method
insert
(File file, int index)
src/android/filechooser/FileListAdapter.java:59
Method
loadInBackground
()
src/android/filechooser/FileLoader.java:53
Method
onActivityCreated
(Bundle savedInstanceState)
src/android/filechooser/FileListFragment.java:96
Method
onActivityResult
(int requestCode, int resultCode, Intent data)
src/android/FileChooser.java:49
Method
onAttach
(Activity activity)
src/android/filechooser/FileListFragment.java:74
Method
onBackStackChanged
()
src/android/filechooser/FileChooserActivity.java:103
Method
onCanceled
(List<File> data)
src/android/filechooser/FileLoader.java:135
Method
onCreate
()
src/android/filechooser/LocalStorageProvider.java:227
Method
onCreate
(Bundle savedInstanceState)
src/android/filechooser/FileChooserActivity.java:65
Method
onCreate
(Bundle savedInstanceState)
src/android/filechooser/FileListFragment.java:86
Method
onCreateLoader
(int id, Bundle args)
src/android/filechooser/FileListFragment.java:117
Method
onCreateOptionsMenu
(Menu menu)
src/android/filechooser/FileChooserActivity.java:119
Method
onEvent
(int event, String path)
src/android/filechooser/FileLoader.java:108
Method
onFileSelected
Called when the user selects a File @param file The file that was selected
src/android/filechooser/FileChooserActivity.java:189
Method
onListItemClick
(ListView l, View v, int position, long id)
src/android/filechooser/FileListFragment.java:107
Method
onLoadFinished
(Loader<List<File>> loader, List<File> data)
src/android/filechooser/FileListFragment.java:122
Method
onLoaderReset
(Loader<List<File>> loader)
src/android/filechooser/FileListFragment.java:132
Method
onOptionsItemSelected
(MenuItem item)
src/android/filechooser/FileChooserActivity.java:132
Method
onPause
()
src/android/filechooser/FileChooserActivity.java:82
Method
onReceive
(Context context, Intent intent)
src/android/filechooser/FileChooserActivity.java:56
Method
onReset
()
src/android/filechooser/FileLoader.java:125
Method
onResume
()
src/android/filechooser/FileChooserActivity.java:89
Method
onSaveInstanceState
(Bundle outState)
src/android/filechooser/FileChooserActivity.java:96
Method
onStartLoading
()
src/android/filechooser/FileLoader.java:101
Method
openDocument
(final String documentId, final String mode, final CancellationSignal signal)
src/android/filechooser/LocalStorageProvider.java:215
Method
openDocumentThumbnail
(final String documentId, final Point sizeHint, final CancellationSignal signal)
src/android/filechooser/LocalStorageProvider.java:84
Method
queryChildDocuments
(final String parentDocumentId, final String[] projection, final String sortOrder)
src/android/filechooser/LocalStorageProvider.java:137
Method
queryDocument
(final String documentId, final String[] projection)
src/android/filechooser/LocalStorageProvider.java:155
Method
queryRoots
(final String[] projection)
src/android/filechooser/LocalStorageProvider.java:47
Method
remove
(File file)
src/android/filechooser/FileListAdapter.java:54