add OI File Manager and AndroidSupportV2 used by it
[android_pandora.git] / apps / oi-filemanager / FileManagerDemo / src / org / openintents / intents / FileManagerIntents.java
diff --git a/apps/oi-filemanager/FileManagerDemo/src/org/openintents/intents/FileManagerIntents.java b/apps/oi-filemanager/FileManagerDemo/src/org/openintents/intents/FileManagerIntents.java
new file mode 100644 (file)
index 0000000..cb7e535
--- /dev/null
@@ -0,0 +1,66 @@
+/* \r
+ * Copyright (C) 2008 OpenIntents.org\r
+ *\r
+ * Licensed under the Apache License, Version 2.0 (the "License");\r
+ * you may not use this file except in compliance with the License.\r
+ * You may obtain a copy of the License at\r
+ *\r
+ *      http://www.apache.org/licenses/LICENSE-2.0\r
+ *\r
+ * Unless required by applicable law or agreed to in writing, software\r
+ * distributed under the License is distributed on an "AS IS" BASIS,\r
+ * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.\r
+ * See the License for the specific language governing permissions and\r
+ * limitations under the License.\r
+ */\r
+\r
+package org.openintents.intents;\r
+\r
+// Version Dec 9, 2008\r
+\r
+\r
+/**\r
+ * Provides OpenIntents actions, extras, and categories used by providers. \r
+ * <p>These specifiers extend the standard Android specifiers.</p>\r
+ */\r
+public final class FileManagerIntents {\r
+\r
+       /**\r
+        * Activity Action: Pick a file through the file manager, or let user\r
+        * specify a custom file name.\r
+        * Data is the current file name or file name suggestion.\r
+        * Returns a new file name as file URI in data.\r
+        * \r
+        * <p>Constant Value: "org.openintents.action.PICK_FILE"</p>\r
+        */\r
+       public static final String ACTION_PICK_FILE = "org.openintents.action.PICK_FILE";\r
+\r
+       /**\r
+        * Activity Action: Pick a directory through the file manager, or let user\r
+        * specify a custom file name.\r
+        * Data is the current directory name or directory name suggestion.\r
+        * Returns a new directory name as file URI in data.\r
+        * \r
+        * <p>Constant Value: "org.openintents.action.PICK_DIRECTORY"</p>\r
+        */\r
+       public static final String ACTION_PICK_DIRECTORY = "org.openintents.action.PICK_DIRECTORY";\r
+       \r
+       /**\r
+        * The title to display.\r
+        * \r
+        * <p>This is shown in the title bar of the file manager.</p>\r
+        * \r
+        * <p>Constant Value: "org.openintents.extra.TITLE"</p>\r
+        */\r
+       public static final String EXTRA_TITLE = "org.openintents.extra.TITLE";\r
+\r
+       /**\r
+        * The text on the button to display.\r
+        * \r
+        * <p>Depending on the use, it makes sense to set this to "Open" or "Save".</p>\r
+        * \r
+        * <p>Constant Value: "org.openintents.extra.BUTTON_TEXT"</p>\r
+        */\r
+       public static final String EXTRA_BUTTON_TEXT = "org.openintents.extra.BUTTON_TEXT";\r
+\r
+}\r