add OI File Manager and AndroidSupportV2 used by it
[android_pandora.git] / apps / oi-filemanager / FileManagerDemo / src / org / openintents / intents / FileManagerIntents.java
1 /* \r
2  * Copyright (C) 2008 OpenIntents.org\r
3  *\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
7  *\r
8  *      http://www.apache.org/licenses/LICENSE-2.0\r
9  *\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
15  */\r
16 \r
17 package org.openintents.intents;\r
18 \r
19 // Version Dec 9, 2008\r
20 \r
21 \r
22 /**\r
23  * Provides OpenIntents actions, extras, and categories used by providers. \r
24  * <p>These specifiers extend the standard Android specifiers.</p>\r
25  */\r
26 public final class FileManagerIntents {\r
27 \r
28         /**\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
33          * \r
34          * <p>Constant Value: "org.openintents.action.PICK_FILE"</p>\r
35          */\r
36         public static final String ACTION_PICK_FILE = "org.openintents.action.PICK_FILE";\r
37 \r
38         /**\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
43          * \r
44          * <p>Constant Value: "org.openintents.action.PICK_DIRECTORY"</p>\r
45          */\r
46         public static final String ACTION_PICK_DIRECTORY = "org.openintents.action.PICK_DIRECTORY";\r
47         \r
48         /**\r
49          * The title to display.\r
50          * \r
51          * <p>This is shown in the title bar of the file manager.</p>\r
52          * \r
53          * <p>Constant Value: "org.openintents.extra.TITLE"</p>\r
54          */\r
55         public static final String EXTRA_TITLE = "org.openintents.extra.TITLE";\r
56 \r
57         /**\r
58          * The text on the button to display.\r
59          * \r
60          * <p>Depending on the use, it makes sense to set this to "Open" or "Save".</p>\r
61          * \r
62          * <p>Constant Value: "org.openintents.extra.BUTTON_TEXT"</p>\r
63          */\r
64         public static final String EXTRA_BUTTON_TEXT = "org.openintents.extra.BUTTON_TEXT";\r
65 \r
66 }\r