comparison app/src/main/java/org/openintents/intents/FileManagerIntents.java @ 438:d29cce60f393

migrate from Eclipse to Android Studio
author Carl Byington <carl@five-ten-sg.com>
date Thu, 03 Dec 2015 11:23:55 -0800
parents src/org/openintents/intents/FileManagerIntents.java@0ce5cc452d02
children
comparison
equal deleted inserted replaced
437:208b31032318 438:d29cce60f393
1 /*
2 * Copyright (C) 2008 OpenIntents.org
3 *
4 * Licensed under the Apache License, Version 2.0 (the "License");
5 * you may not use this file except in compliance with the License.
6 * You may obtain a copy of the License at
7 *
8 * http://www.apache.org/licenses/LICENSE-2.0
9 *
10 * Unless required by applicable law or agreed to in writing, software
11 * distributed under the License is distributed on an "AS IS" BASIS,
12 * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
13 * See the License for the specific language governing permissions and
14 * limitations under the License.
15 */
16
17 package org.openintents.intents;
18
19 // Version Dec 9, 2008
20
21
22 /**
23 * Provides OpenIntents actions, extras, and categories used by providers.
24 * <p>These specifiers extend the standard Android specifiers.</p>
25 */
26 public final class FileManagerIntents {
27
28 /**
29 * Activity Action: Pick a file through the file manager, or let user
30 * specify a custom file name.
31 * Data is the current file name or file name suggestion.
32 * Returns a new file name as file URI in data.
33 *
34 * <p>Constant Value: "org.openintents.action.PICK_FILE"</p>
35 */
36 public static final String ACTION_PICK_FILE = "org.openintents.action.PICK_FILE";
37
38 /**
39 * Activity Action: Pick a directory through the file manager, or let user
40 * specify a custom file name.
41 * Data is the current directory name or directory name suggestion.
42 * Returns a new directory name as file URI in data.
43 *
44 * <p>Constant Value: "org.openintents.action.PICK_DIRECTORY"</p>
45 */
46 public static final String ACTION_PICK_DIRECTORY = "org.openintents.action.PICK_DIRECTORY";
47
48 /**
49 * The title to display.
50 *
51 * <p>This is shown in the title bar of the file manager.</p>
52 *
53 * <p>Constant Value: "org.openintents.extra.TITLE"</p>
54 */
55 public static final String EXTRA_TITLE = "org.openintents.extra.TITLE";
56
57 /**
58 * The text on the button to display.
59 *
60 * <p>Depending on the use, it makes sense to set this to "Open" or "Save".</p>
61 *
62 * <p>Constant Value: "org.openintents.extra.BUTTON_TEXT"</p>
63 */
64 public static final String EXTRA_BUTTON_TEXT = "org.openintents.extra.BUTTON_TEXT";
65
66 }