| 1 | /* |
| 2 | * Copyright (C) 2008-2009 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 | /** |
| 20 | * Intents definition belonging to OI About. |
| 21 | * |
| 22 | * @version 2009-Jan-08 |
| 23 | * |
| 24 | * @author pjv |
| 25 | * @author Peli |
| 26 | * |
| 27 | */ |
| 28 | public final class AboutMiniIntents { |
| 29 | |
| 30 | /** |
| 31 | * Empty, preventing instantiation. |
| 32 | */ |
| 33 | private AboutMiniIntents() { |
| 34 | //Empty, preventing instantiation. |
| 35 | } |
| 36 | |
| 37 | /** |
| 38 | * Activity Action: Show an about dialog to display |
| 39 | * information about the application. |
| 40 | * |
| 41 | * The application information is retrieved from the |
| 42 | * application's manifest. In order to send the package |
| 43 | * you have to launch this activity through |
| 44 | * startActivityForResult(). |
| 45 | * |
| 46 | * Alternatively, you can specify the package name |
| 47 | * manually through the extra EXTRA_PACKAGE. |
| 48 | * |
| 49 | * All data can be replaced using optional intent extras. |
| 50 | * |
| 51 | * <p> |
| 52 | * Constant Value: "org.openintents.action.SHOW_ABOUT_DIALOG" |
| 53 | * </p> |
| 54 | */ |
| 55 | public static final String ACTION_SHOW_ABOUT_DIALOG = |
| 56 | "org.openintents.action.SHOW_ABOUT_DIALOG"; |
| 57 | |
| 58 | /** |
| 59 | * Optional intent extra: Specify your application package name. |
| 60 | * |
| 61 | * If you start the About dialog through startActivityForResult() |
| 62 | * then the application package is sent automatically and does |
| 63 | * not need to be supplied here. |
| 64 | * |
| 65 | * <p> |
| 66 | * Constant Value: "org.openintents.extra.PACKAGE_NAME" |
| 67 | * </p> |
| 68 | */ |
| 69 | public static final String EXTRA_PACKAGE_NAME = |
| 70 | "org.openintents.extra.PACKAGE_NAME"; |
| 71 | |
| 72 | } |