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 // Version Dec 9, 2008
\r
23 * Provides OpenIntents actions, extras, and categories used by providers.
\r
24 * <p>These specifiers extend the standard Android specifiers.</p>
\r
26 public final class FileManagerIntents {
\r
29 * Activity Action: Pick a file through the file manager, or let user
\r
30 * specify a custom file name.
\r
31 * Data is the current file name or file name suggestion.
\r
32 * Returns a new file name as file URI in data.
\r
34 * <p>Constant Value: "org.openintents.action.PICK_FILE"</p>
\r
36 public static final String ACTION_PICK_FILE = "org.openintents.action.PICK_FILE";
\r
39 * Activity Action: Pick a directory through the file manager, or let user
\r
40 * specify a custom file name.
\r
41 * Data is the current directory name or directory name suggestion.
\r
42 * Returns a new directory name as file URI in data.
\r
44 * <p>Constant Value: "org.openintents.action.PICK_DIRECTORY"</p>
\r
46 public static final String ACTION_PICK_DIRECTORY = "org.openintents.action.PICK_DIRECTORY";
\r
49 * The title to display.
\r
51 * <p>This is shown in the title bar of the file manager.</p>
\r
53 * <p>Constant Value: "org.openintents.extra.TITLE"</p>
\r
55 public static final String EXTRA_TITLE = "org.openintents.extra.TITLE";
\r
58 * The text on the button to display.
\r
60 * <p>Depending on the use, it makes sense to set this to "Open" or "Save".</p>
\r
62 * <p>Constant Value: "org.openintents.extra.BUTTON_TEXT"</p>
\r
64 public static final String EXTRA_BUTTON_TEXT = "org.openintents.extra.BUTTON_TEXT";
\r