2 * Copyright (C) 2008 OpenIntents.org
\r
4 * Licensed under the Apache License, Version 2.0 (the "License");
\r
5 * you may not use this file except in compliance with the License.
\r
6 * You may obtain a copy of the License at
\r
8 * http://www.apache.org/licenses/LICENSE-2.0
\r
10 * Unless required by applicable law or agreed to in writing, software
\r
11 * distributed under the License is distributed on an "AS IS" BASIS,
\r
12 * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
\r
13 * See the License for the specific language governing permissions and
\r
14 * limitations under the License.
\r
17 package org.openintents.intents;
\r
19 import android.content.Intent;
\r
21 // Version Dec 9, 2008
\r
25 * Provides OpenIntents actions, extras, and categories used by providers.
\r
26 * <p>These specifiers extend the standard Android specifiers.</p>
\r
28 public final class FileManagerIntents {
\r
31 * Activity Action: Pick a file through the file manager, or let user
\r
32 * specify a custom file name.
\r
33 * Data is the current file name or file name suggestion.
\r
34 * Returns a new file name as file URI in data.
\r
36 * <p>Constant Value: "org.openintents.action.PICK_FILE"</p>
\r
38 public static final String ACTION_PICK_FILE = "org.openintents.action.PICK_FILE";
\r
41 * Activity Action: Pick a directory through the file manager, or let user
\r
42 * specify a custom file name.
\r
43 * Data is the current directory name or directory name suggestion.
\r
44 * Returns a new directory name as file URI in data.
\r
46 * <p>Constant Value: "org.openintents.action.PICK_DIRECTORY"</p>
\r
48 public static final String ACTION_PICK_DIRECTORY = "org.openintents.action.PICK_DIRECTORY";
\r
51 * Activity Action: Move, copy or delete after select entries.
\r
52 * Data is the current directory name or directory name suggestion.
\r
54 * <p>Constant Value: "org.openintents.action.MULTI_SELECT"</p>
\r
56 public static final String ACTION_MULTI_SELECT = "org.openintents.action.MULTI_SELECT";
\r
59 * The title to display.
\r
61 * <p>This is shown in the title bar of the file manager.</p>
\r
63 * <p>Constant Value: "org.openintents.extra.TITLE"</p>
\r
65 public static final String EXTRA_TITLE = "org.openintents.extra.TITLE";
\r
68 * The text on the button to display.
\r
70 * <p>Depending on the use, it makes sense to set this to "Open" or "Save".</p>
\r
72 * <p>Constant Value: "org.openintents.extra.BUTTON_TEXT"</p>
\r
74 public static final String EXTRA_BUTTON_TEXT = "org.openintents.extra.BUTTON_TEXT";
\r
77 * Flag indicating to show only writeable files and folders.
\r
79 * <p>Constant Value: "org.openintents.extra.WRITEABLE_ONLY"</p>
\r
81 public static final String EXTRA_WRITEABLE_ONLY = "org.openintents.extra.WRITEABLE_ONLY";
\r