/* * Copyright (C) 2008 OpenIntents.org * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. * You may obtain a copy of the License at * * http://www.apache.org/licenses/LICENSE-2.0 * * Unless required by applicable law or agreed to in writing, software * distributed under the License is distributed on an "AS IS" BASIS, * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. * See the License for the specific language governing permissions and * limitations under the License. */ package org.openintents.intents; /** * Provides OpenIntents actions, extras, and categories used by providers. *

These specifiers extend the standard Android specifiers.

*/ public final class FileManagerIntents { /** * Activity Action: Pick a file through the file manager, or let user * specify a custom file name. * Data is the current file name or file name suggestion. * Returns a new file name as file URI in data. * *

Constant Value: "org.openintents.action.PICK_FILE"

*/ public static final String ACTION_PICK_FILE = "org.openintents.action.PICK_FILE"; /** * Activity Action: Pick a directory through the file manager, or let user * specify a custom file name. * Data is the current directory name or directory name suggestion. * Returns a new directory name as file URI in data. * *

Constant Value: "org.openintents.action.PICK_DIRECTORY"

*/ public static final String ACTION_PICK_DIRECTORY = "org.openintents.action.PICK_DIRECTORY"; /** * Activity Action: Move, copy or delete after select entries. * Data is the current directory name or directory name suggestion. * *

Constant Value: "org.openintents.action.MULTI_SELECT"

*/ public static final String ACTION_MULTI_SELECT = "org.openintents.action.MULTI_SELECT"; public static final String ACTION_SEARCH_STARTED = "org.openintents.action.SEARCH_STARTED"; public static final String ACTION_SEARCH_FINISHED = "org.openintens.action.SEARCH_FINISHED"; /** * The title to display. * *

This is shown in the title bar of the file manager.

* *

Constant Value: "org.openintents.extra.TITLE"

*/ public static final String EXTRA_TITLE = "org.openintents.extra.TITLE"; /** * The text on the button to display. * *

Depending on the use, it makes sense to set this to "Open" or "Save".

* *

Constant Value: "org.openintents.extra.BUTTON_TEXT"

*/ public static final String EXTRA_BUTTON_TEXT = "org.openintents.extra.BUTTON_TEXT"; /** * Flag indicating to show only writeable files and folders. * *

Constant Value: "org.openintents.extra.WRITEABLE_ONLY"

*/ public static final String EXTRA_WRITEABLE_ONLY = "org.openintents.extra.WRITEABLE_ONLY"; /** * The path to prioritize in search. Usually denotes the path the user was on when the search was initiated. * *

Constant Value: "org.openintents.extra.SEARCH_INIT_PATH"

*/ public static final String EXTRA_SEARCH_INIT_PATH = "org.openintents.extra.SEARCH_INIT_PATH"; /** * The search query as sent to SearchService. * *

Constant Value: "org.openintents.extra.SEARCH_QUERY"

*/ public static final String EXTRA_SEARCH_QUERY = "org.openintents.extra.SEARCH_QUERY"; /** *

Constant Value: "org.openintents.extra.DIR_PATH"

*/ public static final String EXTRA_DIR_PATH = "org.openintents.extra.DIR_PATH"; /** * Extension by which to filter. * *

Constant Value: "org.openintents.extra.FILTER_FILETYPE"

*/ public static final String EXTRA_FILTER_FILETYPE = "org.openintents.extra.FILTER_FILETYPE"; /** * Mimetype by which to filter. * *

Constant Value: "org.openintents.extra.FILTER_MIMETYPE"

*/ public static final String EXTRA_FILTER_MIMETYPE = "org.openintents.extra.FILTER_MIMETYPE"; /** * Only show directories. * *

Constant Value: "org.openintents.extra.DIRECTORIES_ONLY"

*/ public static final String EXTRA_DIRECTORIES_ONLY = "org.openintents.extra.DIRECTORIES_ONLY"; public static final String EXTRA_DIALOG_FILE_HOLDER = "org.openintents.extra.DIALOG_FILE"; public static final String EXTRA_IS_GET_CONTENT_INITIATED = "org.openintents.extra.ENABLE_ACTIONS"; public static final String EXTRA_FILENAME = "org.openintents.extra.FILENAME"; }