2 * Copyright (C) 2008-2009 OpenIntents.org
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
8 * http://www.apache.org/licenses/LICENSE-2.0
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.
17 package org.openintents.intents;
20 * Intents definition belonging to OI About.
22 * @version 2009-Jan-08
28 public final class AboutMiniIntents {
31 * Empty, preventing instantiation.
33 private AboutMiniIntents() {
34 //Empty, preventing instantiation.
38 * Activity Action: Show an about dialog to display
39 * information about the application.
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().
46 * Alternatively, you can specify the package name
47 * manually through the extra EXTRA_PACKAGE.
49 * All data can be replaced using optional intent extras.
52 * Constant Value: "org.openintents.action.SHOW_ABOUT_DIALOG"
55 public static final String ACTION_SHOW_ABOUT_DIALOG =
56 "org.openintents.action.SHOW_ABOUT_DIALOG";
59 * Optional intent extra: Specify your application package name.
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.
66 * Constant Value: "org.openintents.extra.PACKAGE_NAME"
69 public static final String EXTRA_PACKAGE_NAME =
70 "org.openintents.extra.PACKAGE_NAME";