switch to alsa.omap3 module
[android_pandora.git] / apps / oi-filemanager / FileManager / 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 import android.content.Intent;\r
20 \r
21 // Version Dec 9, 2008\r
22 \r
23 \r
24 /**\r
25  * Provides OpenIntents actions, extras, and categories used by providers. \r
26  * <p>These specifiers extend the standard Android specifiers.</p>\r
27  */\r
28 public final class FileManagerIntents {\r
29 \r
30         /**\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
35          * \r
36          * <p>Constant Value: "org.openintents.action.PICK_FILE"</p>\r
37          */\r
38         public static final String ACTION_PICK_FILE = "org.openintents.action.PICK_FILE";\r
39 \r
40         /**\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
45          * \r
46          * <p>Constant Value: "org.openintents.action.PICK_DIRECTORY"</p>\r
47          */\r
48         public static final String ACTION_PICK_DIRECTORY = "org.openintents.action.PICK_DIRECTORY";\r
49         \r
50         /**\r
51          * Activity Action: Move, copy or delete after select entries.\r
52      * Data is the current directory name or directory name suggestion.\r
53      * \r
54      * <p>Constant Value: "org.openintents.action.MULTI_SELECT"</p>\r
55          */\r
56         public static final String ACTION_MULTI_SELECT = "org.openintents.action.MULTI_SELECT";\r
57 \r
58         /**\r
59          * The title to display.\r
60          * \r
61          * <p>This is shown in the title bar of the file manager.</p>\r
62          * \r
63          * <p>Constant Value: "org.openintents.extra.TITLE"</p>\r
64          */\r
65         public static final String EXTRA_TITLE = "org.openintents.extra.TITLE";\r
66 \r
67         /**\r
68          * The text on the button to display.\r
69          * \r
70          * <p>Depending on the use, it makes sense to set this to "Open" or "Save".</p>\r
71          * \r
72          * <p>Constant Value: "org.openintents.extra.BUTTON_TEXT"</p>\r
73          */\r
74         public static final String EXTRA_BUTTON_TEXT = "org.openintents.extra.BUTTON_TEXT";\r
75 \r
76         /**\r
77          * Flag indicating to show only writeable files and folders.\r
78      *\r
79          * <p>Constant Value: "org.openintents.extra.WRITEABLE_ONLY"</p>\r
80          */\r
81         public static final String EXTRA_WRITEABLE_ONLY = "org.openintents.extra.WRITEABLE_ONLY";\r
82 \r
83 }\r